Dec 8

QCodo: Rails for PHP

Qcodo - PHP Development Framework: I think you’re going to see that phrase a lot in the future: “Rails for [insert language here].” I had heard that Cake was “Rails for PHP,” but after watching some demos, I think the QCodo guys have actually obtained that title.

It is a completely object-oriented framework that takes the best of PHP and provides a truly rapid application development platform. Initial prototypes roll out in minutes instead of hours. Iterations come around in hours instead of days (or even weeks). As projects iterate into more cohesive solutions, the framework allows developers to take prototypes to the next level by providing the capability of bringing the application maturity.

QCodo appears to be very good. It’s for PHP5, and to do object relationships it requires MySQL with InnoDB (they use actual foreign keys rather than field-naming conventions), but don’t let that slow you down.

I watched a 14-minute demo of someone building a small trouble-ticket app. It’s Rails-ish beyond belief — I got the same “Good God, things will never be the same” feeling I got when I learned Rails for the first time. Plus, if you know PHP, then you don’t need to learn a new language.

Like Rails, it does a lot of code-genning to create the scaffolding of your app. However, the code-gen is Web based, which is nice, and the templates are all accessible and written in PHP, so you can dial-in your templates to gen really good stuff if you want. You could probably get to the point where your genned stuff was good enough to release without too many changes.

I think this proves that beyond being good in its own right, Rails is going to have a massive secondary effect: it’s going to raise the bar for everyone else. Expectations have suddenly come up, and platforms are going to scramble to get to the same level.

For PHP, I think QCodo has come extremely close.


Comments

by Kamil "Brego" Dzielinski,   December 9, 2005 8:58 AM  

You should note that altough CakePHP started as an implementation of Rails concepts in PHP, it is now beeing developed to be an independent framework, and does not strive to be a clone of Rails in PHP. Also, altough Qcodo looks nice, as you write yourself, it is designed only for PHP5 and actualy requires you to use InnoDB which can be a serious drawback.


by ,   December 10, 2005 2:32 AM  

Actually, Qcodo was developed several years before Rails, et. al. The main effect that Rails had on Qcodo was that it inspired the project to be open sourced rather than be proprietary.

Also, Qcodo seems to be fundamentally different... they talk about some of the fundamental differences between Qcodo and the other frameworks in their Documentation section, where they address code generation vs. ActiveRecord/Runtime Reflection as seen in Rails, Cake, etc.

Also, Qcodo does NOT require InnoDB. It is fully supported with MyISAM as well as SQL Server, with developers working on PostgreSQL and Oracle. Check out their website, it talks about it all in more detail.


by Per,   December 15, 2005 7:21 PM  

You should also have a look at symfony and learn it by opening a window each day in the symfony advent calendar


by YumYum,   December 30, 2005 3:02 PM  

Let's see, the source of my review is . . . I watched a video of someone using the framework. Those Ginsu knives look amazing, too.


by warren,   May 12, 2006 6:30 PM  

whats the drawback for using InnoDB anyway?


by Salubrium,   October 4, 2006 6:23 PM  

The main drawback of using Innodb is Mysql memory consumption. When renting a Virtual Server, memory allowances are relatively slim - As an example in my VPS, the difference between running Innodb 116mb memory usage vs 22mb without it. Considering the VPS has 192mb, you can see it's quite critical. If you have the memory though, definitely Innodb is worthwhile

That being said - If you have Innodb available to you, it would be advantageous in most cases to stick with it - although myisam can be a bit faster during reads, innodb offers a few other advantages which make it the preferable engine.

I have to agree about the Qcodo vs Cake debate - Qcodo is much more efficient although I am a little concerned it has stalled at Beta 2 since April. It would also be nice to have Unit testing as part of the framework. Django, a python framework is my choice for now.


by Gabriel Medina,   November 7, 2006 7:07 PM  

Hello... I'd like to clear that Qcodo DOES NOT REQUIRE INNODB, there is a file named database.xml which you touch only at two moments:

  1. When you are using more than 1 database at the same time, and
  2. When you are using non-InnoDB databases.

In this file you specify how many and which databases you are using, and optionally any relationships between tables (not needed if you define the relationships within the database itself).

So, let the fact of InnoDB not stop you, you can keep working on with your original MyISAM or anything else databases.

P.S.: Greatest of all, I started using Rails for development for 2 or 3 small projects to test it out and im not saying which one is better, Im just saying that I am too used to PHP that I was 2 to 3 times faster in PHP/Qcodo than I ever were with Ruby/Rails. Before you crucify me, yes, Im pretty fluid with Ruby, Python and of course PHP (got to say that I love version 5).

I have a server which I can modify at my will, so I upgraded to PHP5 and modified all of my software, and all of my hosting clients are also web dev clients. So it was really easy for me. I know a lot of you will have to wait till your hoster upgrades to PHP5 and/or there are new PHP5 versions of the source you use. But for me, right now...

PHP5/MySQL5/Qcodo is webdev heaven



Add Comment


Want to advertise on this site? Contact FM.
Web Hosting Web hosting, dedicated servers and Web design services
Laser Toner Cartridges UK laser toner, toner cartridges, hp toner, lexmark toner, samsung toner, canon, toner, epson toner, oki toner, kyocera toner, xerox toner, remanufactured toner, compatible toner
Direct TV Deals Free 4 room direct tv deals. no equipment to buy. free fast professional direct tv installation. this is the best direct tv deal available anywhere.
SEO Article Learn from the experts with our SEO article.
rope light Shopping with birddog distributing, inc., gives you access to the lowest prices, the best customer service and the quickest delivery times possible.
Laptop AC Adapter We offer genuine factory direct replacement AC adapters.
Direct TV Best satellite TV deals.
Direct TV Deals Direct TV programming deals are varied and include packages containing from 50 channels up to over 250 channels.
8mm film to DVD Retain family memories with the only frame by frame digital restoration service in the United States for your 8mm film to DVD today
Rubber Stamp Shop for custom self-inking stamps, hand stamps, address stamps, label stamps, check endorsement stamps, check deposit stamps, date stamps, pre inks, pocket stamps, ink and much more!