Jeroen-Keppens has written a good article on how to create a modular application with Zend Framework:
I like my code nicely seperated in manageable blocks, that I can reuse whenever I want. Needless to say, I’m a big fan of the modules in Zend Framework. It isn’t always very easy to set it up though.
He covers how to set up modules using the zf command line tool along with a module bootstrap, before covering views and models. Reading this article will certainly help you understand how to use modules in your apps.
Posted by Rob on 18th June 2009 under Around the web | Comments Off
Greg, over at threadaffinity has written the first in a series of articles about creating a todo list application using Zend Framework:
A while back we posted a blog entry on a simple Zend Framework example using Zend_Auth. The example consisted of a basic website that re-directed the user to a login page when they tried to access a restricted area of the site (eg. their Account page). Well some time passed and we got a little older and wiser in terms of using Zend Framework so we decided to try again – this time with a little more ambitious goals.
There’s already a demo site up, where you can download the source code.
Posted by Rob on 18th June 2009 under Around the web | 1 Comment »
Ryan Mauger has produced a simple tutorial showing how to implement the basic CRUD operations using Zend Framwork.
Creating a nice, easy to maintain form, starts with a form class. Creating your forms procedurally in your controller/actions is horrid. please don’t do it.
Read the article.
Posted by Rob on 18th June 2009 under Around the web | Comments Off
Ralph Schindler has written and article on ZendTool and ZF 1.8 on devzone. In it he explains what ZendTool is and how to use it.
Instead of whipping together a system that was targeted specifically for creating ZF based applications, specifically on the command line, and strictly generating code and not modifying existing code, we set out to build a system extensible in every regard that should concern a developer. Zend_Tool was designed to facilitate abstraction at all the necessary points where we felt that developers would want to extend the system.
He then goes on to show what Zend_Tool can currently do using a series of screenshots.
Posted by Rob on 4th May 2009 under Around the web | Comments Off
Zend Framework 1.8, has been released!
From the read me, new features include:
- Zend_Tool, contributed by Ralph Schindler
- Zend_Application, contributed by Ben Scholzen and Matthew Weier O’Phinney
- Zend_Navigation, contributed by Robin Skoglund
- Zend_CodeGenerator, by Ralph Schindler
- Zend_Reflection, Ralph Schindler and Matthew Weier O’Phinney
- Zend Server backend for Zend_Cache, contributed by Alexander Veremyev
- Zend_Service_Amazon_Ec2, contributed by Jon Whitcraft
- Zend_Service_Amazon_S3, Justin Plock and Stas Malyshev
- Zend_Filter_Encrypt, contributed by Thomas Weidner
- Zend_Filter_Decrypt, contributed by Thomas Weidner
- Support for file upload progress support in Zend_File_Transfer,
contributed by Thomas Weidner
- Translation-aware routes, contributed by Ben Scholzen
- Zend_Json expression support, contributed by Benjamin Eberlei and
Oscar Reales
- Zend_Http_Client_Adapter_Curl, contributed by Benjamin Eberlei
- SOAP input and output header support, contributed by Alexander Veremyev
- Support for keyword field search using query strings,
contributed by Alexander Veremyev
- Support for searching across multiple indexes in Zend_Search_Lucene,
contributed by Alexander Veremyev
- Support for page scaling, shifting and skewing in Zend_Pdf,
contributed by Alexander Veremyev
- Locale support in Zend_Validate_Int and Zend_Validate_Float,
contributed by Thomas Weidner
- Phonecode support in Zend_Locale, contributed by Thomas Weidner
- Zend_Validate_Iban, contributed by Thomas Weidner
- Zend_Validate_File_WordCount, contributed by Thomas Weidner
Download it here.
I have also completely revised and updated my Zend Framework tutorial over at akrabat.com to support the new Zend_Tool command line tool and Zend_Application for bootstrapping.
Posted by Rob on 1st May 2009 under News | 6 Comments »
Ben Scholzen has posted a screencast showing how to use the new ZendTagCloud component that will be in Zend Framework version 1.8.
The video goes though how to create a tag cloud where each tag has a title, weight and optional URL. ZendTagCloud will automatically render the tags as unsigned lists with appropriate font sizes to show the relative weights of each tag.
He then shows how to style the list so that it looks like a traditional tag cloud that you see around the web.
Posted by Rob on 29th April 2009 under Around the web | Comments Off
The march towards the release of version 1.8 of Zend Framework continues with the first beta release. From the announcement:
Please download and test this release thoroughly over the next few days
so that we can fix any urgent issues or documentation problems before
the final release next week. Please remember to provide feedback on our
issue tracker and ask any questions
on the appropriate mailing list.
Again, the Zend Framework community does NOT recommend this release for
production use. We do, however, recommend evaluating new features in
this release with existing and new applications.
Download and test your sites now!
Posted by Rob on 23rd April 2009 under News | Comments Off
Thomas Weidner has written up how to receive files with ZendFormElement_File. If you are having problems trying to get a file uploaded properly, then have a read and it should all become clear.
Posted by Rob on 17th April 2009 under Around the web | Comments Off
Ben Scholzen has written an article about using multiple Zend_Cache objects in your application.
When creating a huge application, you mostly have to keep caching out of your development environment, but want to fully control the caching backend in your production environment, without all the calls to the Zend_Cache factory in your models or controllers.
I had to struggle with the problem in the past sometimes, and came to the conlusion, that a singleton-factory would solve this issue very well.
He then goes on to show code samples of how to create a factory of cache objects for use in your application.
Posted by Rob on 16th April 2009 under Around the web | Comments Off
Some how I missed this, but Colleen Dick has published a review of Zend Framework in Action!
This is the good bit:
But the main thing is that they build a real web app, complete with a lot of the typical messiness web apps entail. It’s one thing to talk about a class, function, or method in crystalline isolation, but when I see it in use in something I can relate to in the real world, that’s when it clicks for me. Plus, there is actually ZF functionality devoted to handling those messy “real world” details, such as deciding what stylesheets, includes, and javascripts to load for a particular page.
Head over and read the entire review as it also has some fair criticisms.
As always, don’t forget you can ask questions over at the forum.
Posted by Rob on 15th April 2009 under Around the web & Reviews | 1 Comment »