Archive for January, 2008
How To Implement A Ruby on Rails style before_filter With The PHP Zend Framework
January 30th, 2008I often use this when implementing a simple login screen for a password protected section of my application. In a Zend Framework application you can implement a preDispatch() function in a Zend_Controller_Action which will run before an action is dispatched. This lets you setup your filter to check to see if the visitor is logged […]
QuietHeadphones.com Goes To Zend Framework
January 24th, 2008A while back I wrote about using Ruby on Rails to develop QuietHeadphones.com, a website that sells high quality noise reduction headphones. Tonight, we made the move to the Zend Framework. We did this for a variety of reasons including the fact that we are now hosting our site on a dedicated server with RackSpace. […]
Add View Helper Paths For Entire Zend Framework Application
January 17th, 2008I have been writing several Zend_View_Helpers to aid in the development of my Zend Framework Application. The helpers are very generic and are used in many of my Views throught my applications. So, naturally, I want an easy way to configure my Views to have access to my custom View Helpers. You don’t want to […]
How To Remove External Repositories From Subversion
January 8th, 2008I was trying out a plugin in my Ruby on Rails application and decided not to use it. Apparently, when I installed the plugin, a reference to it was added to my subversion repository. Since the reference was not to a working directory, my capistrano deployments got debackled and died. Here is how you can […]