Categories


Loading feed
Loading feed
Loading feed

Three Quick Tips To Make Your PHP Understandable

Producing code that clearly conveys a developer’s intent is key to any well written application. That not only applies to PHP, but every programming language. Developers who emphasize the creation of legible code tend to create applications which are easier to both maintain and expand upon. After seven years of programming in PHP I’ve worked on a variety of projects where well organized and legible code were set aside for numerous reasons. Some of those reasons include time constraints, lack of experience, lost enthusiasm, misdirected pre-optimizing, and the list goes on. Today we’ll look at three simple methods which are commonly ignored by developers for some, if not all of the reasons described above.

Yahoo Pipes adds Serialized PHP support

My friend John Herren dropped me an IM yesterday pointing me to his latest blog post. Not only did Yahoo’s Pipes Team add support for serialized PHP but they did so within 3 days of him requesting the feature!

CIO Magazine Publishes Second PHP Article

You really have to give CIO Magazine props. After the community responded to their recent article, “You Used PHP to Write WHAT?!”, they listened. Now they have published a second article written by Zend’s own John Coggeshall.

Porting PHP to JavaScript

Kevin van Zonneveld has a great series of posts and JavaScript code snippets that give you JavaScript equivalents of some of his favorite PHP. The good news is there is some useful code here, the bad news is that the JavaScript code doesn’t support namespaces.

Jaybill McCarthy Dispells 10 PHP Myths

Jaybill McCarthy has written an excellent blog post to open the year with, “10 PHP Myths Dispelled”. In it he spends a paragraph on each of 10 myths about PHP and show why they are just not true.

Just a note on Propel

Be aware that Propel solves n:m relations in a way that it executes n+1 queries when retrieving results. This is something that took me a while to discover when researching DBAccess solutions, and I for my part cannot live with such a performance hit. If you can, then propel looks really good.

Extra! Extra! PHP and DB2 on i5/OS!

Attention i5/OS fans! IBM has just released an article on how to use PHP and DB2 on i5/OS. If you’ve been scratching your noggin about this topic then scratch no more, help is here. Titled “Use PHP scripts to access DB2 UDB for iSeries data with Zend Core for i5/OS” it’s a great primer to get you up and running with these powerful technologies.