MVC3 posts

Image for "Multiple forms on the same page in Zend Framework"
Zend Framework 1

Multiple forms on the same page in Zend Framework

Processing two forms on the same page is not the simplest task in the Zend Framework. After a few attempts, I think I found an elegant solution.

Image for "Preserve encoded slashes in URL"
IIS

Preserve encoded slashes in URL

Configure your IIS URL rewrite tool to preserve encoded characters in the original URL.

Image for "MVC Form Layer"
MVC

MVC Form Layer

Forms are a tricky part of any Model-View-Controller (MVC) application. They incorporate validation, presentation, and security logic that spans all tiers of the application. Separating these concerns is difficult but important. I'll walk through how I use Zend_Form in Zend Framework 1, but the same principles should apply to any MVC application.