PHP Developer - July 10th, 2006
On his blog, Markus Wolff has posted this handy tip for users of the Zend Framework, detailing how to extend the Zend_Controller_action.
Today, ladies and gentlemen, I’d like to talk about beefing up the most central component of the Zend_Frameworks MVC package: Zend_Action_Controller. The Controller basically is a class wherein you define one method for each individual action you want the controller to perform. Which controller and action is being called is deduced from the URL you’ve typed into your browser.
He notes that this default functionality is good, but it can be enhanced with a simple process, easily to implement for any Framework user. He details the process for his readers, explaining the parts that will need to be in place. He also includes the source for the parts he creates, making it simple to understand.
Continue Reading ·
PHP Developer - July 10th, 2006
The php|architect A/R/T article repository has a new tutorial today, covering stored procedure programming for MySQL (by Ligaya Turmelle).
With the release of MySQL5 a bold new world opens up to the PHP developer… the world of a database programmer. In this world the interaction with the data can be done right where the data is located - not in a script that is far far away in a distant server. In this article we will be taking you on a journey that will introduce you to MySQL’s stored procedures.
They cover some of the background of transactions and some of the basic concepts behind them. All of the examples provided are done from the command line in this part of the series, but PHP relevant examples should be coming up shortly.
Continue Reading ·
PHP Developer - July 10th, 2006
DevShed has posted part three of their popular “using mysqli in PHP5″ series today, this time, they focus on increasing the functionality of the code they started last time with other mysqli methods.
I must say that the “mysqli” extension offers an impressive set of features, which can be implemented right from the very beginning. However, and speaking of its cool features, in the next few lines, I’m going to show you a few more. Over the course of this last tutorial, I’ll be covering some other methods and properties, mainly aimed at finding the IDs after inserting new rows, and obtaining information about specific table fields.
They touch on the fetch_array, data_seek, fetch_assoc, fetch_field, and fetch_seek functions, giving examples and other assicated properties along the way.
Continue Reading ·
PHP Developer - July 10th, 2006
Alexander Netkachev, an adamant user of the Zend Framework, has posted his own review of one of the new modules found in the Preview Release 0.1.4 - the Zend_Cache</a. module.
Issued Zend Framework 0.1.4 preview release comes with new interesting caching classes. I tested them at this weekend and I’m glad to say that they can speed up your application dramatically.
He covers what it is, what the interfaces for the API are, and the backend storage methods it offers. There’s a few notes of advice he has to share from his experiences with it - items that have already been fixed in the trunk version (from the subversion repository).
Continue Reading ·