News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Scarletlullaby.com:
Refactoring to Rails (MVC) in PHP
June 21, 2006 @ 14:51:51

Ryan from Scarletlullaby.com has posted a new item today looking at the process he followed to refactor a Rails MVC application into PHP.

Most of my work of late has involved refactoring and rewriting insanely large and out of control programs so that it's easier to add features, follow program flow, etc. Since I've been using Rails so much in my personal projects, I tend to refactor things in a way that makes them resemble Rails in a funny, PHP-molested way.

I've come up with fairly decent and clean ways to implement most of the functionality available in Rails; basically, the PHP apps are set up using a frontcontroller, which delegates to instances of page controllers.

He looks at some of the "strange thoughts" he's had in the process, including issues dealing with POST/GET values, session data, and difficulty surrounding the fact that PHP dosen't support multiple inheritance.

0 comments voice your opinion now!
refactoring rubyonrails mvc get post session flash multiple inheritance refactoring rubyonrails mvc get post session flash multiple inheritance


blog comments powered by Disqus

Similar Posts

Job Posting: Function Point Seeks Senior PHP Developer, Engineer (Vancouver, British Columbia)

Job Posting: Yahoo! Seeks Sr. Front End Platform Engineer (Santa Clara, CA)

Zend Developer Zone: The ZendCon Sessions Episode 2: Best Practices for Sending Mail from PHP

Job Posting: Bullseye Creative Seeks a PHP/MySQL Coder & Web Designer

Job Posting: HedgeCo Networks Seeks Web Design/Programming Intern (Palm Beach, FL)


Community Events





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


package series language community laravel api install interview opinion zendserver release podcast introduction tips symfony update library deployment unittest framework

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