PHP 6 to boost internationalization with Unicode
- 22 October, 2009 10:41
- Comments 2
PHP 6, a planned major upgrade to the popular open source dynamic language for Web applications, will feature internationalization capabilities via Unicode support, key developers of the language said Wednesday.
Python vs. PHP: Choosing your next project's language
"In PHP 6, everything by default will be Unicode," such as default string types, said PHP core developer Andrei Zmievski during a keynote presentation at the 2009 Zend/PHP conference in San Jose, Calif. The PHP 6 platform also will feature the ability to use Unicode characters for identifiers.
Unicode for PHP addresses globalization, Zmievski said in an interview after his talk. Developers will want to write their applications so they can be deployed in other markets, he said. "If you think you can develop your application only for your particular market, you're really missing out on business opportunities elsewhere," Zmievski said.
"Unicode makes it easier to write applications that can deal with various alphabets and encoding," said Andi Gutmans, a PHP core developer and CEO of PHP tools vendor Zend Technologies, in an interview at the conference. "It makes it easier write an application that can work as well in Chinese and Japanese as it can in English."
PHP core developers still need to complete development of Unicode items in areas like cookie access and PDO (PHP Database Objects.)
"Once that's done, we need to test PHP 6 on a number of well-known applications and frameworks, such as Drupal," Zmievski said.
There is no set date for release of PHP 6, which would follow the release PHP 5.3 this past June. That release included capabilities initially planned for PHP 6 but moved up, such as garbage collection for objects as well as namespaces for better code organization.
Also eyed for PHP 6 is improving how numbers are handled in PHP, including support for long numbers. Another capability being considered is traits, allowing horizontal reuse of code. Developers could add functionality without having to deal with multiple inheritance problems.
Read-only properties and scalar type hints are being considered for the PHP 6 platform. PHP developers also are pondering first order functions, providing a way to refer to functions and methods as objects and be able to pass them around and inspect and modify them.
Briefly touching on plans for a subsequent PHP 7 release, Zmievski cited desires by some to rewrite the language, which he warned against. "There's a lot of calls to change a lot of things, but it's not a good idea to rewrite everything from scratch," he said.
A conference attendee lauded capabilities planned for version 6. Both internationalization and traits "will be really useful for us," said Pierrick Charron, of Nstein, which offers a PHP-based content management system. Internationalization currently presents difficulties in PHP, he explained
Gutmans also stressed PHP's strengths, calling it mainstream for the enterprise and beneficial for cloud computing. "PHP's thriving and the recession has been a big accelerator behind the adoption of open source and PHP," he said. "Companies have to increase productivity and lower costs and PHP's a way to do that."
He also questioned the relevance of enterprise Java, calling it too complicated and not really designed with the Web in mind. "The Java community today has already discovered that enterprise Java is not suitable for Web workloads so they're trying to reinvent themselves by creating lightweight Web frameworks for Java," such as the Spring Framework, Gutmans said.
"What we're seeing is a lot of enterprise Java developers are moving away from enterprise Java. Some of them are staying [in the] Java world and going to lightweight Web frameworks but a lot of them actually moving to dynamic languages including PHP," said Gutmans.
Zend this week also announced a beta version of Zend Studio 7.1, an upgrade to Zend's PHP IDE featuring remote server support and integrated support for task -focused programming based on the Eclipse Mylyn project. Version 7.1 is due to ship by the end of 2009.
Join the CIO Australia group on LinkedIn. The group is open to CIOs, IT Directors, COOs, CTOs and senior IT managers.
- Bookmark this page
- Share this article
- Got more on this story? Email CIO
- Follow CIO on twitter
- Sun Blade 6000 Modular System: Power and Cooling Efficiency
- Top Ten Considerations when Deploying IT Operations Management in the Cloud
- SOA Best Practices and Design Patterns
- Increasing Uptime and Efficiency with Switched PDUs - Two ways to use rack PDUs for more than just distributing power
- Enterprise Buyers Guide for Printers
-
The 30 best Safari extensions -- so far
-
Apple and Google disagree over licensing of essential patents
-
Monash Uni reduces IT teams after consolidation project
-
FTC warns makers of background checking apps
-
QLD govt demands answers after pay glitch
-
Increasing Uptime and Efficiency with Switched PDUs - Two ways to use rack PDUs for more than just distributing power
Power distribution units (PDUs) play an essential role in delivering power safely and at appropriate voltages to servers and other network resources. A particular class of power distribution units known as rack Switched PDUs, however, is capable of performing additional functions that can help data center managers improve the efficiency and reliability of their IT infrastructure. This paper provides a brief introduction to rack Switched PDUs and describes two underappreciated yet powerful ways to take advantage of their advanced functionality. -
Oracle Database 11g for Data Warehousing and Business Intelligence
Oracle Database 11g is a comprehensive database platform for data warehousing and business intelligence that combines industry-leading scalability and performance, deeplyintegrated analytics, and embedded integration and data-quality -- all in a single platform running on a reliable, low-cost grid infrastructure. Read on. -
Web 2.0 in the Workplace Today
More than a decade after the term ‘Web 2.0’ was coined, many businesses are still nowhere near to taking full advantage of the collaborative technologies the term refers to. Undoubtedly, confidence is growing in relation to using tools such as Facebook, Skype, Twitter, and indeed many more organisations are using such technology now compared to even just a couple of years ago. But the fact remains that a worrying amount of businesses seem to be operating a ‘lockdown’ approach – an approach that I’m sure many Board-level staff know is simply not good for business in the long-term.
-
Teach Yourself Visually Windows 7
-
Windows 7 for Dummies® Dvd+book Bundle
-
Office 2007 for Dummies
-
Windows 7 for Seniors for Dummies®
-
Office 2007 All-In-One Desk Reference for Dummies
-
MYOB Software for Dummies 6E Australian Edition
-
Windows 7 for Dummies®
-
Computers for Seniors for Dummies, 2nd Edition
-
Microsoft Office











Comments
Anonymous
In other news...
In other news, the PHP devs announced the planned release of the "Pwn0zrd-Instantly" package, which will allow outsourced PHP programmers to write insecure, unmaintainable garbage code in half the time! A planned addon will also automatically change every subject/verb combination in text to give a consistent "fourth-grade English" feel to apps.
Anonymous
In response to the previous commenter
In response to the tool with the post titled "In other news...", the "insecure, unmaintainable garbage code" you refer to could be written in any programming language. It's the programmer and not the language, stupid. I doubt the guys using PHP at Yahoo!, Facebook (yes, Facebook), the IGN.com network, IBM are writing much garbage code.
Post new comment