Categories


Loading feed
Loading feed
Loading feed

Dojo and Zend Framework Partnership Announcement

The Zend Framework team is excited to announce a partnership between Dojo and Zend Framework. The goal is to deliver an out-of-the-box solution for building Ajax-based Web applications with Zend Framework. This is mainly targeted at users who rely on us to provide them with a best practice and an out-of-the-box experience for Ajax and don't want to have to deal with evaluating a solution (e.g. toolkits, licenses, etc.). Below is an FAQ which sheds some more light on this announcement:

Zend Framework Subversion Reorganization

The Zend Framework team has just completed a reorganization of our subversion repository. The reorganization was necessary due to changes we are introducting both in our proposal system as well as project architecture. Specifically, we are introducing a new library, our 'Extras' library, which will contain contributions that are not officially supported by Zend but which still require successful completion of our proposal process. Additionally, we are merging our Laboratory repository. Instructions on how to update your working checkouts or svn:externals pointers are included in this article.

Decorators with Zend_Form

Zend_Form has been lauded by many as a welcome addition to Zend Framework, and a flexible solution to the problem of forms. That said, one point of flexibility it 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.

View Helpers in Zend Framework

Views in MVC are allowed to communicate with the Model (using read-only operations), and are allowed to perform display-related logic. That said, how do you actually access the model? And what if you have some fairly complex logic that you may need to repeat, or which you may not want to display directly in the view in order to keep it clean and easy to read? In Zend Framework, the answer is to use View Helpers.

Front Controller Plugins in Zend Framework

Like Action Helpers, which I've discussed in a previous article, Front Controller Plugins in Zend Framework are often considered an esoteric, advanced subject. They are, however, remarkably simple to implement, and provide an easy way to extend the functionality and behavior of your entire web application.

Action Helpers in Zend Framework

Action Helpers in Zend Framework are often considered a fairly arcane subject, something for experts only. However, they are meant to be an easy way to extend the capabilities of Action Controllers, negating the need to create your own base controller with custom functionality. The aim of this tutorial is to show you how to quickly and easily create and use Action Helpers to your advantage.

Member Profile: Matthew Weier O'Phinney

Matthew is a PHP developer and IT specialist, currently working for Zend's online operations team where he architects their corporate CMS and web services. Additionally, he is a Core Contributor to the Zend Framework, leading the MVC and server components, as well as providing support to the Mail, JSON, and web services components.

Matthew is a Zend Certified Engineer, and a member of the Zend Education Advisory Board, the group responsible for authoring the Zend Certification Exam. He contributes to a number of PHP projects, blogs on PHP-related topics, and present talks and tutorials related to PHP development and the projects to which he contributes.

You can read more of his thoughts on his blog, weierophinney.net/matthew/.

Zend Framework's MVC Introduces the ViewRenderer

One of my roles at Zend is as a Zend Framework developer, and as such, I'm the lead developer on the MVC components. Yesterday, I committed a change to core in preparation for the 1.0.0RC1 release that, while breaking backwards compatability slightly, will also greatly simplify the integration between the controller and view components.

Security Tip: Use a Database Abstraction Layer to help prevent SQL Injection

SQL injections are a common vulnerability in web-based applications that use databases. As an example of a potential SQL injection, consider a login form asking only for a username, where the backend has code reading:
 mysql_query('SELECT * FROM user WHERE username = "' . $_GET['username'] . '"); 
A malicious hacker could attempt to enter the value ""; DELETE FROM user WHERE 1", which would have the effect of removing all users in the table. (Granted, this won't happen with PHP's mysql extension as it will not execute multiple queries by default; this is just an illustration.)
Loading feed