Rails or PHP?
- Started
- Last post
- 22 Responses
- ********
I want to start developing a little more to catch up with the hype but I am unsure which language to pursue. I really only have the capacity to learn one language at a time so please don't say "both" but does anyone use one or both of PHP and Ruby On Rails and could possibly let me know if Rails is better? I have heard rails is easier and better. Any suggestions?
- MACAS00
PHP
- ********0
well i know rails isnt a language its more like an app itself but it seems like a practical shortcut to making php
- I saw "Rails or PCP?" at first. I was curious to know what everyone liked more.rylamar
- rounce0
Sounds like you should definately learn PHP first, after a while pick up CodeIgniter, _then_ maybe learn Ruby and then Rails later on. I'd suggest knowing where you're looking to get to before setting out on this journey.
- Codeigniter blows, use SymfonyJasonFarrell
- Symfony blows, use Kohanafusionpixel
- Which is in turn based on CodeIgniterrounce
- ********0
awesome thanks Rounce :)
- ********0
I'm a php developer, but for the last 18 months have been exposed to rails. I'd disagree with rounce and say learn rails, then ruby. Rails is the framework that will do a lot of the basic tasks for you. You'll only really need more ruby skills as your applications grow in complexity beyond that offered by the framework.
PHP? Still worthwhile, and arguably easier to pick up. PHP is definitely easier to manage and deploy though. Rails will not just run on any old server, and in my short experience I find the whole deployment of a rails app to be insanely complex when compared to PHP.
Rails, I think, is set for big things though. It may well out live php.
- n8w0
Hey Pyramd .. it really depends what your objective is .. if you are doing for work .. there is a ton of legacy work .. where they need people to work with their existing code .. lots more work in php .. just do a job search on http://www.krop.com/ or monsters .. with that said .. there are a lot less rails experts so it might be a good niche.
- ismith0
Rails is a framework, and the Ruby language itself has a ways to catch up with PHP last I tried using it. However, I still fee inclined to work in other languages sometimes so it might be worth a shot, hell try some python frameworks too. If you're looking to make money off it though, I think far more people will be hiring for PHP development.
- Anees0
How many of you use zend?
- hahahahahahahahaha, he said Zend hahahahahahahahhafusionpixel
- ********0
what language easier to program doesn't concern the costumer
PHP is sort of more low level and very fast for a scripting language, as fast as Perl, in fact
Rails is too chunky
so for major projects PHP is still the platform of choice (facebook, youtube etc all use PHP)
- low level?maximillion_
- compared to Ruby
Ruby and Python are high level languages, and are designed as all purspose******** - PHP is all about speed, web and text processing********
- they're all high level. they're interpreted languages. assembly is low level.acescence
- ultimately there all about text processingmaximillion_
- ********0
If you use PHP don't write it by hand its bloody horrible, I can recommend CakePHP as a nice clone of Rails. Symfony is meant to be nice too. Fuck Codeigniter, it barely does anything.
Ruby is wonderful to program in though, just harder to deploy unless you have a dedicated server
- SHUT THE FUCK UP AND DIE PLEASE THANK YOU!rounce
- :)rounce
- don't write it by hand? lol, that's ridiculous.section_014
- as in without a framework... obviously********
- rounce0
CodeIgniter is an MVC implementation with some helpers and other libraries that's built to be easily extendable. The fact you and JasonFarrell wrote it off in the way you did just goes to show neither of you have any idea about it's aims or purpose. Neither CakePHP or Symfony are easily deployable, both are bloated as hell and present JavaScript generation as a feature. If you write clean, fast, elegant code then you'll know that JS generation is a no-no.
- welded0
Dear god, just say no to CakePHP. The longest nights I've work on a project was building a custom shopping cart and CMS in Cake. The take-away: code Cake's way and you'll get along OK; deviate even a little and you're just asking for trouble.
PHP is pretty easy to learn and the documentation and available tutorials can't be beat, but I've never really given my full attention to Ruby, so I can't really speak to it.
- KennyRodger0
Learn basics of PHP and if you are ready then jump into CodeIgniter. I am a decent php coder, and trying to learn CakePHP was a dead end. The quality of the docs and community are nowhere near that of CodeIgniter.
Unless your trying to brag about how your app is like x% faster than a PHP app, give it a rest on the Rails. Codeigniter is the same basis, just frameworks making things faster and easier (once you understand them). Also, a million other people using PHP, and there is tons of free crap waiting for you to hack.
- KennyRodger0
One thing about CodeIgniter is you can also still write nasty legacy code into your view files, old school way, if you just cannot get something to work for you in MVC format. Its a shit thing and ironic to do, but it will still work. Like above, try this in Cake and you will get the beat down.
- rounce0
As welded said '...just say no to cake'
- ********0
"One thing about CodeIgniter is you can also still write nasty legacy code into your view files, old school way"
That sounds awesome! oh wait no it sounds fucking shit- I have having options/flexibility equals shit, then ok?KennyRodger
- fusionpixel0
apples and oranges
- ********0
The death of PHP will likely be that the community will never agree on which framework to develop. There's fucking 100's.
I've look at pretty much all of them, and CodeIgniter looked the best. If I need to deviate from the core, that doesn't mean the framework has failed, but I definitely need to be able to do it!
- The death of PHP will likely be when there is only one framework********
- The death of PHP will likely be when there is only one framework
- ********0
i picked up a Visual Quickpro Guide to PHP6 and MySQL5 .... i will read thru and build this little weblog, cms and shopping cart setup in the book and by then ill be ready for igniter.
thanks again dudes