Topic: Rails-alikes

Does anybody use a Rails-clone framework written in another language, such as CakePHP? Do you also use Rails? Did you like it or did it come off as a cheap copy?

I'm thinking of trying a project or two out in Grails for work. I'd love to do Rails stuff at work, but we're heavily entrenched in Java on Windows servers, and that's not changing any time soon. From what I've seen they've taken a few good things about Rails like ORM, but added their own twist on things, such as tag libraries for presentation which are more reminiscent of JSP. I'm mainly interested in seeing how it stacks up against the current JSP/servlet model of development that I've been using at work for the last couple of years; I'm hoping it will allow me to cut project time down instead of constantly going through the build/compile/test rigmarole.

vinnie - rails forum admin

Re: Rails-alikes

i dont use any but one that comes to mind is www.phpontrax.com

Re: Rails-alikes

I tried trax, but the target deployment was a shared host that wouldn't run PHP5. But trax looked good. I settled on Cake, and everything works. That said, the biggest stumbling blocks for me with Cake were where they decided *not* to be like Rails. Because Cake is so much like Rails in so many places, when they aren't, it can be a jarring experience.

Overall, I think you'll find that what the Ruby language has allowed DHH and the rest of RC to do is not easily duplicated in languages like PHP. DSLs come to mind as really nifty things you just can't easily do in most languages.

I've not been pleased with the integration of the Rails-alikes. They may have generators (if you care), they may not have migrations, and worst for me, the testing story was pretty haphazard.

None of this should be a disincentive. Of you simply can't use Rails, just know that it won't quite "feel" the same in PHP.

Re: Rails-alikes

I've not used any of them, but grails looks pretty cool.

Re: Rails-alikes

I tried PHPonTrax when it first appeared (in a very unfinished form) and it looked promising, though I've since gotten 'properly' into the real Rails so I no longer needed to look at Trax. It was more going to be a stop-gap while I learned Ruby and Rails as I've spent 6 years with PHP anyway.

In other words, sorry I can't much help smile

Re: Rails-alikes

Here's a small list a friend of mine posted to an ml a while back..


# PHP (too many to name tongue)
http://www.mustap.com/phpzone_post_73_t … frameworks

# Java
http://raibledesigns.com/wiki/Wiki.jsp?page=AppFuse

http://jroller.com/page/ccnelson/Weblog?catname=/Trails

# Python
http://www.turbogears.org/
http://www.djangoproject.com/

Re: Rails-alikes

This one looks promising: http://akelos.org/
Here's the feature list: http://www.bermi.org/projects/akelos_framework
And if you want to take a sneak peek: http://www.akelos.org/akelos_framework- … iew.tar.gz

Re: Rails-alikes

I downloaded a release of phpOnTrax once and there were parse errors found in the files.  I haven't give it much thought since.  I can't imagine these frameworks will be supported for much longer with this massive exodus of php folks to Ruby (myself included).  If I were one of the Trax developers I'd have a growing temptation to jump ship.

Re: Rails-alikes

I think eventually one or two PHP frameworks will end up being the ones everyone uses.  My bets are on Zend (well funded, semi-official support of the PHP group), and CakePHP (most mature and well-known).

Josh Catone helps run this place
Rails Forum - Rails Jobs

10

Re: Rails-alikes

I think I'm going to be sticking with Rails for my framework, even at work. That is, if the jRuby project gets Rails working in production mode under Tomcat like they're claiming they will in the next release.

vinnie - rails forum admin

Re: Rails-alikes

The Ruby project gets Rails figuring out in product manner under Tomcat like they're laying claim they will in the next issue.