PHP is one of the most popular scripting languages, designed specifically for Web application development.
PHP’s eclectic syntax draws upon C, Java, and Perl, and it is quite easy to learn and deploy. SourceLabs includes PHP in its Self Support for Linux and Open Source Java offering.
PHP or LAMP based applications are also considered to be extremely scalable, as the language discourages sharing state – to scale PHP applications often all that is needed is more server capacity.
PHP was originally invented as a set of Perl scripts released by Rasmus Lerdorf. Over the years the project evolved was eventually essentially taken over by Zeev Suraski and Andi Gutmans, who completely rewrote the engine behind PHP and later formed a company, Zend, that currently leads the development of said engine.
PHP is an extremely lax and loose scripting language, which has triggered a great deal of criticism from developers who fault it for its loose typing and inconsistent naming conventions. Other issues with the language include issues with legacy features that are now recommended to be turned off, such as ‘register globals’, and a lack of native unicode support.
PHP has progressed a great deal since its inception, and the newest version, PHP5, currently offers object oriented programming features as well as XML and SOAP support. PHP5 represents a large step forward for PHP, however it is not completely backwards compatible with PHP4 and many web hosting companies do not support it.
For more on object oriented programming, see Object Oriented PHP.
Manuel Pichler points out that the latest version of phpUnderControl (an add-on for CruiseControl, a continuous integration tool) has been released - 0.4.3.
I currently released a new version of phpUnderControl. Beside some minor fixes this release comes with a new feature to aggregate test results of multiple PHPUnit runs. Use the new cli command merge-phpunit of phpUnderControl to merge multiple log files produced with PHPUnit, as shown in [this] example build file for ant.
He defines the XML file to set up the merge for the different PHP binary versions and the merge script to use. A screenshot of the result as presented inside the tool is included.
Lukas Smith has asked a question of the community with the release of PHP 5.3 coming nearer and nearer - who out there is using namespaces already?
As I said in my last post we are not yet sure if we need to make some changes to namespaces before we can move from alpha to beta in the current 5.3.0 release cycle. What I did not ask for explicitly is feedback from people that have already started developing code with namespaces. These people are likely the best source of feedback on the current state of namespaces and if the proposed changes to namespaces would be useful or not
He mentions that the Doctrine project is already playing with them and, apparently, some of his commentors - one using them on a library in development, porting over XJConf to use them and other various projects.
The ThinkPHP blog mentions a German security conference happening in October in Munich - the PHP Security Camp.
As more and more business critical applications are "web made", there's more and more potential for security flaws inside your application. In order to avoid sensitive data to be stolen from blackhats, you need to know the most important techniques how to avoid some of the critical issues. For this reason, PHP Magazin and Entwickler Akademie present a German speaking "PHP Security Camp" with four of the top notch PHP/Web security specialists (Stefan Esser, Christian Horchert from SektionEins, Sebastian Wolfgarten from the European Central Bank, Arne Blankerts from NonFood Agenturgruppe) for four days
The three day event is German-only (but they could consider an English-speaking translator if there's a need) and will have talks on topics like best practices, common security problems and includes a four hour workshop. You can get more information from the event's website.
If you love Visual Studio and develop with PHP, you should check VS.PHP, that adds PHP projects to Visual Studio.
The company I am working for, eZ Systems, is looking for a few new people. Besides a Testing and Maintenance Manager and a Support Consultant for Norwegian and International Customers we're also looking for two new developers to work with the team here in Skien. If you're interested, have a look at the job description and send us your application.
Matthew Weier O'Phinney has another post full of Dojo/Zend Framework goodness today - this time he looks at making proper layer files by combining the two.
During my Dojo and ZF webinar on Wednesday, Pete Higgins of Dojo fame noted that I could do something different and better on one of my slides. This particular item had to do with how I was consuming custom Dojo build layers within my code. I contacted him afterwards to find out what he suggested, and did a little playing of my own, and discovered some more Dojo and javascript beauty in the process.
The improvement replaced the need for a manual commenting/uncommenting of an addLayer call with a bit of namespaced layers that, based on the environment, adds a dependency for the right file. One less manual process, one less thing to go wrong on deployment.