Archive for July 16th, 2007

Webdigity.com: Caching your pages with PHP

On the Webdigity.com forums, there’s this new tutorial posted showing how to create a simple caching system with PHP for your site (using cached files).

A problem that this process creates is the server overhead. Every time we execute a query in the database, the instance of our script will call the DBMS, and then the DBMS will send the results of the query. This is time consuming, and especially for sites with heavy traffic is a real big problem.

There are two ways to solve this if you want to make your site faster. First is optimizing the queries Visit through proxy, but we will not talk about this at the present article. The second and most valuable is using some kind of custom caching technique.

Their code, contained in an easy-to-use class, makes it simple to cache the contents of a page just by setting the stop to start the caching from (and where to end).

Continue Reading · Add comment

Ed Finkler’s Blog: What Matt Mullenweg doesn’t know about PHP5, and how it hurts him and his users

On the heels of a rant posted by Matt Mullenweg (of Wordpress), Ed Finkler has posted some of his own thoughts and rebuttals to the points Matt made.

Among these points are comments about PHP5 features that “could be helping Wordpress users right now” including:

  • Parameterized SQL input to eliminate SQL injection attacks
  • Filter extension to combat XSS, CSRF, etc. attacks
  • Prepared statement/transaction support in PDO and MySQLi
  • Improved OOP features and support (code quality, extensibility)

Ed pushes that it’s not about the slow adoption of PHP5 in other places. Its about the slow adoption of it in Wordpress so far as it relates to Matt:

The thing is, support of PHP5-only features in WP would give it better speed and security right now. And especially in the case of security, Matt’s reliance on what users say they want is a critical error: users don’t ask about security until well after it becomes a serious issue. Wordpress has one of the worst security records of any PHP application, so I’ll go out on a limb and say that it’s a problem now. Even if WP users aren’t talking about it, WP’s core dev team should have addressed this already.

Continue Reading · Add comment

Zend: Andi Gutmans Named in Computerworld’s

As mentioned in several places (such as a post on php|architect’s website), the list of “40 Innovative IT People to Watch Under the Age of 40″ has been released and Zend’s own Andi Gutmans has made the list.

From the official press release:

Zend Technologies, Inc., The PHP Company, today announced that IDG’s Computerworld, the premier source of IT industry news and analysis, selected Andi Gutmans, co-CTO and co-founder of Zend, as one of its “40 Innovative IT People to Watch, Under the Age of 40.” Gutmans was selected for the award by a panel of Computerworld editors for his pioneering work with PHP 3, continued work with PHP 4 and 5, advancement of business critical rich internet applications, further development of PHP and Java integration, and, most recently, significant contributions to the open source collaboration project Zend Framework.

You can read more about Andi and the other nominees over in the ComputerWorld article highlighting him and the 39 other honorees.

Continue Reading · Add comment

Pro::PHP Podcast: Newscast for 2007.07.12

php|architect has released the latest podcast for their Pro::PHP Podcast - this week’s newscast (07.12.2007).

Topics included in this week’s show include:

You can grab the latest show either by downloading the mp3 of the show or you can subscribe to their feed and get this and future (and past!) episodes.

Continue Reading · Add comment

Zend Developer Zone: P-A-R-T-Y at OSCON!

If you’re going to be attending this year’s OSCON up in Portland, be sure not to miss out on the party that the Zend-ers (the Zend Developer Zone) and MySQL are throwing down the street.

Zend and MySQL are getting together to throw a party at OSCON and you are invited! Come join us at the Doubletree Hotel (5 minute walk from the convention center)for drinks and snacks.

Check out the ZDZ post for a map to the location and the times for this free party. They have a list on Upcoming going to get an idea of the attendance, so if you’re planning on hanging out with the PHP crowd, let them know you’re on your way.

Continue Reading · Add comment