My experience moving to PHP5
Original post provide by PHP Everywhere - By John LimIn August of this year, we decided to move from PHP4 to PHP5 for all our future PHP development. The transition was relatively painless, as the core libraries we use (ADOdb, PHPLens, some PEAR modules) are already PHP5 compliant and have been for some time. What’s nice about PHP5 is that it caught some errors that have been lingering in our code: PHP5 no longer allows a function to be defined twice, and some basic variable referencing errors that we missed previously.
We have ported our key web applications over to run on PHP5, but for some key customers with extremely large PHP4 code bases, we felt it was safer to keep them running on PHP4 for the time being as the cost of migration would be high; and we weren’t sure whether it was worth it as the customers seem to be happy with PHP4’s current performance.
Other things that we have changed is that we have transitioned to using XMLHttpRequest for all our Ajax calls. Formerly we were using the excellent JSRS library, but I can already see most programmers we hire in the future will be more familiar with XMLHttpRequest than JSRS. The nice thing about using XMLHttpRequest is that all XMLHttpRequests can be debugged using the excellent Firebug, a Firefox/Mozilla extension that is extremely useful for Javascript debugging.
I admit we are still retrograde when it comes to exploiting PHP5’s new functionality. Last month, we had to do a presentation so we moved our PHP5 web application to a notebook. Later I found out that notebook only had PHP4 installed. The web application worked flawlessly.
![]()
PHP Québec Conference 2008
Join us for the PHPLabs, 2 days of technical talks, the Open Source Job Fair & Cocktail. Meet with well know community members such as: John Coggeshall, Marcus Boerger, Zak Greant, Chris Shiflett, Damien Seguy and many more. Take note that online registration ends on March 7th.
LightTPD Mit Mod_cml Und Mod_magnet
Falls Lua 5.1 nicht in der Linux Distribution enthalten ist oder z.b. auch unter Mac OSX, bekommt man Lighty folgendermassen compiliert (vorausgesetzt lua wurde compiliert und unter /usr/local/ installiert): $ export LUA_CFLAGS="-I/usr/local/include" $ export LUA_LIBS="-L/usr/local/lib -llua" $ ./configure --prefix=/usr --with-pcre --with-lua $ make
ASP.NET Graphs: Raise The Bar
If you use static images to present graphs and charts online, now's the time to make your efforts more dynamic. In this results-focused tutorial, Pat explains how easy .NET makes the dynamic generation and display of bar charts online.
In Praise Of Zend Core
Hi I'm back. Been busy. I will try to relate some of my experiences in the last few months in later blogs. I'd like to point out that one of the greatest services to the PHP community that Zend is providing is the free Zend Core for Oracle and Zend Core for DB2.
Google Summer Of Code: Php.net Students
The PHP team is once again proud to participate in the Google Summer of Code. Ten students will "flip bits instead of burgers" this summer: Zend LLVM Extension by JoonasGovenius, mentored by NunoLopes PHP Optimizer by SamuelGraham Kelly IV, mentored by DerickRethans PhD Improvements and Updates by NicholasSloan, mentored by HannesMagnusson Replace auto with CMake by Alejandro LeivaRojas, mentored by Pierre A.Joye gsoc:2008 - XDebug by Chung-YangLee, mentored by DavidCoallier Rewrite the run-tests.php script by CesarMontedonico, mentored by TravisSwicegood PHP Bindings for Cairo by AkshatGupta, mentored by AnantNarayanan Algorithm Optimizations by MichalDziemianko, mentored by ScottMacVicar PECL, Website Improvements by BarryCarlyon, mentored by Helgi ÞormarÞorbjörnsson Implement Unicode into PHP 6 by Henrique do NascimentoAngelo, mentored by ScottMacVicar
More Articles:
Ermitteln Der Version Der JVM Im Internet Explorer - The Microsoft Way
WTF!?
Accessible JavaScript: Beyond The Mouse
In this detailed expose, James reveals a world in which scripting is device independent, and users of any type of assistive technology can access our sites. He applies intriguing theory to a number of high-profile sites as he advocates -- and provides appropriate code to support the argument -- that sites be made truly accessible right from the initial stages of their planning and design.
Google Summer Of Code 2008
See our program for this year's GSoC.We would like to take this opportunity to say thanks to Google Inc. for this privilege to participate once again, and would like to invite everyone to look at our list of ideas: http://wiki.php.net/gsoc/2008.Students are of course more than welcome to come up with their own ideas for their proposals and we will consider each and every application that we will receive.So once again, thanks to everyone who is involved in this magnificent journey and we hope to see many of you great students and open source passionate join us in our most enjoyable Google Summer of Code projects.
New Delhi PHP UnConference: Call For Speakers/Campers!
Some of the tracks for PHP camps are Frameworks, Unit Testing, PHP Security, Performance Management, High Availability beside product specific themes like Joomla, Drupal, EZ, Dot Project camps. Participants can add up their sessions on http://www.osscamp.in/OSSCampDelhi/index.php?title=PHP_Camp. You should restrict your sessions to 40 minutes (90 minutes in case of workshop).
Open Cubic Player
Der Linux Port des legendären (Open) Cubic Player...