News Feed
Jobs Feed
Sections

Recent Jobs

News Archive
feed this:

Zend Developer Zone:
Zend Framework Hidden Gems Zend_Db
December 18, 2006 @ 10:04:00

Aaron Wormus and the Zend Developer Zone have posted the latest edition of their "Hidden Gems" series looking at the lesser-known features of the Zend Framework. This time, it's a look at Zend_Db (database abstraction).

Zend_Db is a layer which sits above the native PDO database extension. Before PDO (pre-PHP5.1) all we had to connect to databases were libraries that were developed in individual cycles and development teams, with little regard to what other database extensions were doing.

Taking this speed benefit of using PDO to do a majority of the work, PDO wrapper libraries like Zend_Db can supplement PDO with their own wrapper code leaving you with a fairly lightweight yet feature-rich database abstraction layer.

Aaron looks at connecting to a database (using both the PDO and DSN connections) and some example code showing how to work with the database using them - including queries and using transactions.

0 comments voice your opinion now!
hidden gem zend framework zenddb database abstraction hidden gem zend framework zenddb database abstraction



Zend Developer Zone:
Zend Framework Hidden Gems Zend_Config
November 24, 2006 @ 11:43:00

The Zend Developer Zone has posted another in the "Hidden Gems" series by Aaron Wormus, this time looking at the Zend_Config component.

Managing configuration is a pretty simple thing to do in PHP, in fact, I'd bet that at some point in their programming career every php programmer has written code. But as soon as you get a bit bigger you realize that you're going to have trouble accessing your configuration variable.

There are many reasons to manage your configuration data indepenantly from your business logic. One common reason is that you don't want to enter your configuration data into the public versioning system that you use.

Aaron looks at how you can use the component in your application easily including an example using the built-in inheritance functionality to easily manage a move from development to production.

0 comments voice your opinion now!
zend framework hidden gem zendconfig inheritance zend framework hidden gem zendconfig inheritance


Zend Developer Zone:
Zend Framework Hidden Gems Zend_Cache
November 17, 2006 @ 12:38:42

The Zend Developer Zone has its next in its "Inside Look" series at the Zend Framework and its components - this look at the Zend_Cache component.

Caching isn't one of those things that many people think of when designing their first applications. However once they launch their new AJAX enabled web2.0 application, they might start wondering what they can do to get this beast to move faster. The answer is caching.

Aaron Wormus gets started with the basics - why use caching and some of what it's for - before getting into the actual code example. His simple example just shows how to cache a bit of information and get when it was cached. He also talks about implementing tagging for more complex caches (different pieces for different times), and the drivers that are available for the component - both frontend and backend.

0 comments voice your opinion now!
zendcache component zend framework hidden gem cache zendcache component zend framework hidden gem cache


Zend Developer Zone:
Zend Framework Hidden Gems Introduction
November 08, 2006 @ 15:36:00

Cal Evans, of the Zend Developer Zone, is taking a different path than the large number of Zend Framework tutorials that he's seen out there:

Zend Framework looked like an interesting platform, but each tutorial that I read started out with explaining how to set up your front controller, and moved form there into writing an entire application. I am not starting any new projects, and have no need for that.

Instead, he's chosen to look a bit "behind the scenes" at what really makes the Framework tick and why it would be a good choice for any number of web applications out there. It's going to become a series on the ZDZ, so he starts it off right with a comparison between PEAR and the Zend Framework, specifically when it comes to error handling.

It's more of a compare and contrast kind of thing than a contest, but it does seem that Cal favors one's approach a bit more. Which one? Well, you'll just have to go read and find out...

0 comments voice your opinion now!
zend framework hidden gem pear error handling exception simplicity zend framework hidden gem pear error handling exception simplicity



Community Events









Don't see your event here?
Let us know!


conference zend PEAR database package mysql PHP5 framework release cakephp releases book code security example zendframework ajax job application developer

All content copyright, 2008 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework