Archive for July 13th, 2006

PHP Magazine: What Is Your Top Consideration for Choosing a CMS? (Poll)

The International PHP Magazine has conducted a poll over on their website, asking visitors what their top considerations were for choosing and working with a CMS. They’ve posted the results of that poll today.

The options provided for the poll were:

  • How is it licensed?
  • What is the language/environment?
  • How long has it been around?
  • Is it actively developed?
  • Who is using it?
  • Is there support?

The results show an overpowering victory for the “actively developed” category, with the licensing and language requirements tying for second place. The option the least number of people cared about? Who was using it…

Continue Reading · Add comment

Attack of the Killer Framework

What do you look for in a PHP Framework? I was about to write an article to explain some of the characteristics I look for in a framework. But, first I’d like to broaden my horizons and hear what other people think. Here is just a high-level start:

  • Database abstraction
  • Caching
  • Configuration management
  • Error handling
  • Logging
  • User authentication and permissions
  • Sessions
  • Templates
  • Code generation / scaffolding

Add comment

Mike Potter’s Blog: PHP and Flex - JSON, XML or AMFPHP?

On his Adobe blog, Mike Potter compares three technologies for communicating with their Flex product - JSON, XML, or AMFPHP.

I’ve created a small performance study that shows time to load three different types of data from a PHP backend… Data transfered as PHP objects from AMFPHP, data transfered as XML and data transfered in JSON notation.

He ran his tests with the AMFPHP library and the Zend Framework (for JSON). The XML is simply printed out and pulled in.

The results of his test showed that, up to a certain point, the XML and AMFPHP were neck and neck (with JSON lagging behind). Once they reached a certain point, though, XML powered ahead, blowing past the AMFPHP library. Of course, just the sheer speed isn’t all there is to an application, he reminds us - usability, serializing data, connection type, etc all need to be considered as well.

Continue Reading · Add comment

Mike Kornienko’s Blog: Integration of Spry and PHP/MySQL

On Macdiggs.com, the blog of Mike Kornienko, there’s a new post with his look at integrating Adobe’s Spry Ajax framework into a simple PHP/MySQL application.

Adobe have recently released its Spry Ajax framework for public beta-test by developers and I’ve been playing with this baby for a while. And here’s some kind of report of what I have learned.

Spry is Adobe’s Ajax library for manipulating XML data. It has some very unique and pretty useful functions like regions handling, related auto-updating data and stuff like that.

In his example he creates a simple backend script (PHP) that pulls out the data from MySQL and converts it to XML. With that to pull from, he creates, using Spry, functionality to read in the XML and display it in an HTML table. He also demonstrates how to sort the results automatically based on a certain column (the ID column, which he defines as a number using the setColumnType).

Continue Reading · Add comment

Steven Choy’s Blog: PHP Scripts for creating and managing FAQ systems

Steven Choy lists in this new blog posting some of the more popular PHP offerings for creating and managing FAQ systems.

The following are three PHP scripts for creating and maintaining web-based Frequently Asked Questions (FAQs) systems. They are all free of charge and can use MySQL as database in the backend. I also try to google them to see if there are any example websites that make a good use of them.

The three he mentions are:

He briefly describes each, noting a few of the sites that use each under them. He doesn’t really recommend one over the other, however - again a “right tool for the right job” situation. Each has its own strengths that can play well with what your needs might be.

Continue Reading · Add comment