 | News Feed |
Sections
Community Events
|
| feed this: |  |
Padraic Brady's Blog: Zend Framework Blog Tutorial - Part 6 Zend_Form & Zend_Auth
posted Thursday May 08, 2008 @ 09:33:36
voice your opinion now!
BY CHRIS CORNUTT
Padraic Brady has continued his series about making a sample blogging application with the Zend Framework in a new blog post, part six - a focus on Zend_Form and Zend_Auth.
In the previous entry, we created a new Administration Module to hold blog management functionality, added a Module specific layout for it, and discussed the upcoming need to ensure this is only accessible by authorised Authors. In this entry I'll unravel some of Zend_Form's mysteries in adding a login form, before using Zend_Auth to implement authentication for authors.
He includes the code (controller and view) to add the login form as a part of the Author functionality and, using a few decorators to help him build the form how he likes it, extends the Zend_Form component to make his form with username, password and submit elements. He throws in some validation and a bit of error checking to finish it off.
tagged with: zendframework blog application tutorial zendform zendauth
Zend Developer Zone: Decorators with Zend_Form
posted Monday May 05, 2008 @ 12:57:34
voice your opinion now!
BY CHRIS CORNUTT
On the Zend Developer Zone there's a new tutorial (by Matthew Weier O'Phinney) covering the use of decorators with the Zend_Form component of the Zend Framework.
One point of flexibility [Zend_Form] offers has proved to be a pain point for many developers: decorators. This tutorial aims to shed some light on decorators, as well as provide strategies for creating your own decorators and combining them in creative ways to customize the output your forms generate.
Matthew starts with a little background behind the component to help you find your way around. Building on this, he shows how to use some standard output decorators and how to create decorators of your own. His example shows how to create a set of grouped checkboxes.
tagged with: decortor zendform tutorial background example
IBM developerWorks: What's new in Zend Framework V1.5
posted Thursday April 17, 2008 @ 09:33:35
voice your opinion now!
BY CHRIS CORNUTT
The IBM developerWorks website has a new article/tutorial posted today about the new features and functionality that's included with the latest release of the Zend Framework, version 1.5.
The popular open source Zend Framework just got some slick enhancements. Learn what's new in V1.5 and how upgrades, including Zend_Form, Zend_Layout, and Zend_View, enhanced support for GData Web services, and improved Ajax support can help PHP developers easily roll out cutting-edge Web applications.
They walk through each of the new components (or features in them) like Zend_Form and Zend_Layout/Zend_View with examples included. There's also mention of other miscellaneous updates like the addition of OpenID and InfoCard support, a LDAP authentication module and an interface with Google's GData service.
tagged with: zendframework new feature component zendform zendlayout zendview
Rob Allen's Blog: Simple Zend_Form File Upload Example
posted Monday April 07, 2008 @ 09:30:30
voice your opinion now!
BY CHRIS CORNUTT
Rob Allen has posted an example (a simple one to get you started) of creating a file upload form in the Zend Framework.
Zend Framework 1.5's Zend_Form component is missing support for the file input element as it is waiting on a file upload component to build upon. We're busy people, so we'll fake it...
His example gives a screenshot of the end result and includes all of the code needed to make it all work - the form, the custom file form element, a ValidFile validation class to ensure you're getting exactly what you want and the controller to define the form and execute it once the user submits.
tagged with: zendform validate example code zendframework
Pieter's Blog: Zend_Form with XML Tutorial
posted Monday March 10, 2008 @ 12:57:00
voice your opinion now!
BY CHRIS CORNUTT
Pieter has blogged today with an example of using an XML configuration file together with the Zend_Form component of the Zend Framework to create a simple form - in his example, a login form.
During my interneship if been busy with Zend_Form and XML and now I like to share it with you. So here is a very easy, complete example that shows it in action. Let's make a small login form from XML with Zend_Form.
The Zend Framework has the functionality for this already built in - a call to create a Zend_Config_Xml object passing in the XML file's name is all it takes. He includes a sample XML file that shows the setup of the form as well as how to perform some of the validation techniques (like checking length and pattern matching).
tagged with: zendform zendframework xml generate tutorial example
|