|
|
|
||||
|
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
| View Poll Results: What framework would you use for new projects? | |||
| PHP Sucks, Ruby on Rails all the way! |
|
3 | 33.33% |
| PHP with CakePHP |
|
0 | 0% |
| PHP with Zend Framework |
|
3 | 33.33% |
| PHP with Symfony |
|
1 | 11.11% |
| PHP with something else.. please explain... |
|
2 | 22.22% |
| Voters: 9. You may not vote on this poll | |||
![]() |
|
|||||||
| Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
|
Thread Tools |
|
|
#1 |
|
Confirmed User
Join Date: Jul 2006
Posts: 345
|
Would you use PHP or RoR?
Would you use PHP or Ruby on Rails for a new content rich custom site that you would host on your own server?
If you would use PHP what framework would you use? I'm thinking about dropping PHP and do all new stuff in RoR! |
|
|
|
|
|
#2 | |
|
Confirmed User
Industry Role:
Join Date: Mar 2001
Location: Murrieta, CA
Posts: 3,620
|
Quote:
Dont really know about RoR but I would use PHP as RoR seems to be a simple a simple Parser module for your webserver while PHP is now fully support objects / classes
__________________
I buy plugs Skype: Due_Global /Due |
|
|
|
|
|
|
#3 |
|
Confirmed User
Industry Role:
Join Date: Mar 2001
Location: Murrieta, CA
Posts: 3,620
|
On second thought, isnt RoR much like the Smarty Template engine for PHP?
__________________
I buy plugs Skype: Due_Global /Due |
|
|
|
|
|
#4 | |
|
Confirmed User
Join Date: Oct 2005
Location: Charlotte, NC
Posts: 908
|
Quote:
Ruby on Rails is amazing.. but its drawback is, it can be sticky when it comes to deployment/server configurations. Most end up havnt to set up apache as a transparent proxy for rails apps running on mongrel or lighttpd, as far as I know. Even though I love RoR, I decided on Django for some projects I am working on. I like its loosly coupled approach.. each little app you build for a django project is nice, self contained and can easily be shared between other django apps. You dont have to start mucking around with building "plugins" or generators like you do in RoR. Django is basically a Rails-esque framework, written in python.
__________________
ICQ: 284903372 |
|
|
|
|
|
|
#5 |
|
Confirmed User
Join Date: Oct 2005
Location: Charlotte, NC
Posts: 908
|
Not at all. Rails is a collection of Ruby frameworks, put together in a nice coherent peice. Look at the php frameworks in the poll and you can get a better idea of what RoR is.
RoR has a template engine built in yes, but its much more than that. It has other components as well, such as ActiveRecord ORM (Object Relational Mapper). You dont have to write a bit of SQL to write a database driven app, or even to design the schema. Because of its ability to introspect its objects, it can automatically generate web forms from your database tables. It can automatically validate data as its entered and all kinds of other cool stuff like that. Migrations are another great feature. You define your db schema in ruby code. As you make changes to your schema, it saves the iterations, so with one command you can rollback to previous versions, or even use your app on top of another DB. It can take care of inserting or removing initial data into your app. It also has an amazing testing suite built in, that makes it dead simple to run tests on your application.
__________________
ICQ: 284903372 |
|
|
|
|
|
#6 |
|
Confirmed User
Join Date: Jul 2006
Posts: 345
|
I really like what I have seen so far of RoR
I really don't miss having to write all the form handlers and sql code in old PHP! Scaffolding is also a very quick way to make an admin area. |
|
|
|
|
|
#7 |
|
Confirmed User
Join Date: Oct 2006
Posts: 749
|
Once you stretch your application beyond what RoR offers, you're back to square one, writing your own custom Rails shit from scratch. The same goes for any framework.
I don't see any need to go changing everything you do just so you can jump on some framework bandwagon. Use whatever is appropriate for your needs (including what needs you expect in the future)
__________________
Deranged World |
|
|
|
|
|
#8 | |
|
Totally Borked
Industry Role:
Join Date: Feb 2005
Posts: 6,284
|
Quote:
I'll stick with PHP w/ Zend for the time being, because that is what is compatible with most of my clients' configs...
__________________
![]() For coding work - hit me up on andy // borkedcoder // com (consider figuring out the email as test #1) All models are wrong, but some are useful. George E.P. Box. p202 |
|
|
|
|
|
|
#9 |
|
Totally Borked
Industry Role:
Join Date: Feb 2005
Posts: 6,284
|
and forget php w/ cake - I tried that and it's buggy as hell. It was 3 months ago, but after 2 days I jacked it in
__________________
![]() For coding work - hit me up on andy // borkedcoder // com (consider figuring out the email as test #1) All models are wrong, but some are useful. George E.P. Box. p202 |
|
|
|
|
|
#10 |
|
Totally Borked
Industry Role:
Join Date: Feb 2005
Posts: 6,284
|
or was that trax? I forget
__________________
![]() For coding work - hit me up on andy // borkedcoder // com (consider figuring out the email as test #1) All models are wrong, but some are useful. George E.P. Box. p202 |
|
|
|
|
|
#11 | |
|
Confirmed User
Join Date: Nov 2005
Location: Metro Detroit
Posts: 748
|
Quote:
|
|
|
|
|
|
|
#12 |
|
Confirmed User
Join Date: Jul 2006
Posts: 345
|
Thanks for the Django tip... I hadn't considered it since its not so much hyped up at the moment.
Will check that out for sure! |
|
|
|
|
|
#13 |
|
Confirmed User
Join Date: Jul 2006
Location: Philadelphia
Posts: 1,282
|
I would use php and my own framework, optimized for the application rather than some bloated library
|
|
|
|
|
|
#14 |
|
Now choke yourself!
Industry Role:
Join Date: Apr 2006
Posts: 12,085
|
PHP, and either a suitable framework (Smarty's OK for templating, but damn slow and bloated for specific needs), or my own little hack.
My reasonings are simple: PHP is easy to deploy virtually anywhere, RoR is still an infant, and requires proxying through Apache (lighttpd or otherwise), and although robust, just doesn't have the featureset that I generally want, or use. RoR is prettier, but sometimes it's better to spend less time on making it beautiful, and make it WORK so you can make money, instead.
__________________
|
|
|
|