Zend Framework

Quickstart: Zend_Session

Posted on January 14, 2007. Filed under: Quick Start, Zend Framework |

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;
}

Read Full Post | Make a Comment ( 1 so far )

Zend Framework Application Example

Posted on December 6, 2006. Filed under: Zend Framework |

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 [...]

Read Full Post | Make a Comment ( 1 so far )

Count rows with Zend_Db

Posted on December 5, 2006. Filed under: Zend Framework |

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 )

  • Bookmarks

Liked it here?
Why not try sites on the blogroll...