Zend Framework
Quickstart: Zend_Session
Bootstrap:
Zend::register(’session’, new Zend_Session());
Write some value
Zend::registry(’session’)->value = $value;
Read some value
$value = Zend::registry(’session’)->value;
Use isset
if(!isset(Zend::registry(’session’)->value)) {
Zend::registry(’session’)->value = $value;
}
Zend Framework Application Example
Alexander Netkachev developed a small blog CMS. It isn’t full featured blogger like WordPress, but very good example of how to actually use Zend Framework.
The software includes and demonstrates:
* How to use of Zend Framework controller
* Database layer designed with Zend_Db_Table
* Example of [...]
Count rows with Zend_Db
There are several ways to count rows in a table using the Zend_Db component. The first way is to fetch the rows in a row set object and run count() on it. As you see it isn’t really smart to build a row set object if you just want to know the number of rows. [...]
Read Full Post | Make a Comment ( 7 so far )