What is Toluu?
Toluu is a free service for sharing the feeds you read and discovering new ones.
Get Invite

Andries Seutens - Modern Web Development

Just another developers blogs


Zend_Form and 2 step view demoJanuary 6 2008

Dear reader,

A lot of you are waiting to finally get their hands on Zend_Form. Since my previous demo was such a success, I have decided to wrap up another demo application. This demo will show the usage of Zend_Form, and how to integrate a 2 step view in the Zend Framework (note that it doesn’t use Zend_Layout).

Zend_Form is currently only available in laboratory, so don’t expect everything to work yet. Instead, test, review, and provide comments on the proposal by Matthew Weier O’Phinney.

I have found that by using Zend_Form, you can reduce a lot code. Checkout, and download the demo:

http://zend-form.tjeu.be

Zend Framework Demo app - feed readerJuly 14 2007

I have written a small demo app for those of you looking for a quick start with Zend Framework.

You can view, and download the demo at:
http://andries.systray.be/zf-demos/feed-reader/

The download package contains:
- Zend Framework 1.0.0
- A conventional directory structure
- A bootstrap file
- An index controller (welcome page)
- An error controller (404, and other application errors)
- A feed controller, to read RSS feeds
- A default configuration file, with 2 stages (production, staging)

Feel free to use it :)

Update:

  • Tested with Zend Framework 1.0.1
  • Improved error controller now available
  • Usage of $this->_request->isPost()
  • Added default feeds to play with
  • Improved inline documentation
  • Removed usage of setNoViewRenderer()

Comments/feedback are more than welcome!









Zend Framework, just get me started, okay?June 18 2007

If you are looking for a quick way to get started with the Zend Framework, then you should download this file. This download has a default setup for the Zend Framework, including:

  • A conventional directory structure
  • A bootstrap file
  • A configuration file with 2 stages: production, staging
  • An error controller
  • An index controller
  • etc

The only thing you need to do (if you don’t have a shared version of the Zend Framework) is to download the framework, extract it, and put the library/Zend folder, into the same place in the downloadable file.

A quick and dirty test should tell you if it works: just open
http://localhost/<foldername>/document_root/

You should see “hooray application is running.” if everything went fine.

Update:

I have also made a modular starter package available. You can download it here.

More updates:
Naneau explains a modular setup in more details here.



Zend Framework - Zend.php rewrittenMarch 10 2007

A few weeks ago, after some discussion with Darby Felton, Darby created a Jira issue, which stated that the recommended directory structure and use of svn:externals are incompatible. The recommended directory structure cannot be maintained by svn:externals because Zend.php is sibling to the Zend/ directory. The svn:externals property only works upon directories, not files. An alternative approach is to create a ZendFramework directory, which in turn contains the Zend library.

|library |-|ZendFramework |-|-|Zend |-|-|Zend.php |-|PEAR |-|SuperLib

Suffers from the problem of requiring each of the children directories of /library to be in the include path, resulting in suboptimal performance when working with multiple libraries.

After Bill Karwin sent a notice to the list, asking for feedback, a long discussion started. This led to a lot of usefull feedback, and justifications for splitting / cleaning up Zend.php, including: