Archive for December 21st, 2007

php|architect: Stuff your stockings: single issues 30% off

The mystery has been relealed - the php|architect folks have posted about their secret today - a discount on single issues of 30%.

Seasons greetings everyone! The first of two surprises from us today is a great opportunity to combine our recent drop of all DRM protection on our PDFs with an awesome 30% discount on our single-issue prices to stock up on all your favourite past issues of php|architect.

This means that single issues are priced at (about) $3.49 CAD for a few days - all you need to do is pick your favorites from their archive, even their most recent issue.

Continue Reading · Add comment

Padraic Brady’s Blog: Complex Views w/Zend Framework - The Final Chapter: ZFE & Zend_Layout in Core!

Padraic Brady has posted some of his comments on the newly included Zend_Layout and Zend_View_Enhanced components for the Zend_Framework:

These two (now much more polished!) components were both designed to solve the concerns a lot of developers were having in achieving truly complex, structured and modular Views using Zend_View.

Indeed there are months of blog postings, debates, experimental and not-so-experimental code, proposals, IRC sessions and countless emails pouring over how to accomplish the goals of these components. The end result is something I feel will serve Zend Framework users faithfully for months and years to come.

He thanks the developers (Matthew and Ralph) and notes that the inclusion of these two components is one of the largest advancements of the display layer for the Framework in a while.

Continue Reading · Add comment

Stoyan Stefanov’s Blog: Fancy Formatting

Stoyan Stefanov has a fun little post showing an interesting formatting trick to make reading arrays/hashes easier:

Writing readable code means proper indentation. Usually you’d tab (or use 2 or 4 or 3 spaces) after every curly bracket. […] Same goes when you have a bigger hash/object sort of thing […] But recently, inspired by Firebug’s Net panel way of presenting header information, I tried aligning the keys to the right in addition to aligning the values to the left.

Check out the entry for examples of each of these techniques and see which might fit your programming style the best. Personally, the align right style looks nice but could be more of a pain than it’s worth to force my editor into.

Continue Reading · Add comment

SymbianOne.com: Your S60 Web server gets a boost

Michael Kimsal points out an article posted recently concerning a new feature of the Symbain OS for mobile phones - a web server that could support PHP and MySQL.

From the article:

Jukka on the S60 Blogs is reporting that PHP and mySQL are going to be available for S60 devices in early 2008. […] I (Johan Wikman) can now reveal that we at the CCNC conference in Las Vegas in January, 2008 will demonstrate and release what we call the PAMP stack.

The PAMP stack stands for “Personal Apache, MySQL, PHP” and will be included in the S60 smartphones and makes it possible to install most PHP applications (that use MySQL) right off the shelf. Developers of several GTD-type applications are reported to already be in testing on the new platform.

Continue Reading · Add comment

Matthew Turland’s Blog: Web Scraping Article Published

Matthew Turland has mentioned his article in the latest issue of php|architect magazine (the December 2007 issue) covering web scraping.

Just a quick post to announce (albeit a little late) that the December 2007 issue of php|architect, which includes my article on web scraping. Please buy a copy, give it a read, and feel free to post comments on the forum thread for the article. I’d love to hear some reader feedback!

Other articles in the issue include “Writing an Object/Relational Mapper in PHP”, “Understanding CLI” and the cover story “Going native with mysqlnd”.

Continue Reading · Add comment