News Feed
Sections

News Archive


Community Events






Don't see your event here?
Let us know!


feed this:

Fred Wu's Blog:
Ruby on Rails, Passenger (ModRails) vs CodeIgniter and Kohana (Benchmarks)
0 comments :: posted Tuesday May 27, 2008 @ 08:47:58
voice your opinion now!

On his ThisLab blog, Fred Wu has posted some quick benchmarks comparing some of the popular frameworks out there - Ruby on Rails/Passenger versus CodeIgniter/Kohana.

Last few days I have been playing with Ruby and Rails, again. Today, when someone was asking on a forum about the efficiency of web frameworks, I thought I'd give the few frameworks I work with some more benchmark testing.

His benchmarking is based on basic "Hello World" page requests for each of the frameworks. His results were interesting with CodeIgniter coming out with the fewest number of requests responded to (per second) and Rails coming out on top by a margin of about eighty or ninety over CodeIgniter/Kohana.

tagged with: benchmark page request hellowworld codeigniter rubyonrails kohana passenger


Lee Blue's Blog:
How To Implement A Ruby on Rails style before_filter With The PHP Zend Framework
0 comments :: posted Monday February 04, 2008 @ 14:36:00
voice your opinion now!

Lee Blue has posted something looking to bridge yet another gap between Ruby on Rails and PHP - a method for adding before_filter functionality to PHP.

I 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 in or not. If the visitor is not logged in, you can redirect them to the login screen of your application.

He includes example code to show its usefulness - checking to see two things: is a user is logged in and to see if they're allowed to use a certain resource.

tagged with: rubyonrails zendframework beforefilter user access permission


release releases code cakephp example conference PEAR book security zendframework package database zend job framework developer mysql application PHP5 ajax

All content copyright, 2008 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework