News for hackers. Stuff that matters.
Re:What programming language to learn RoR or PHP? by jonjonjon on Sunday May 23, 2010 @01:00PM (#1372568)
I understand. I do now HTML and CSS and have played a bit with javascript. But yes, I a am aware how difficult and time consuming this will be. Would you then recommend RoR over PHP?
Re:What programming language to learn RoR or PHP? by techiferous on Sunday May 23, 2010 @04:18PM (#1372914)
I wouldn't recommend Rails as a starting point. The ecosystem has become quite large and there is a lot to learn. Plus, it's in transition from Rails 2 to Rails 3, so you'll be learning a moving target and the ecosystem is a bit unstable as a result. If you'd like a Ruby framework to start with, I'd recommend Sinatra. It has less moving parts but is still plenty powerful. http://www.sinatrarb.com/

If your web application is mostly a web site with some dynamic features sprinkled in, then PHP would be a good choice because it's easy to embed straight within the HTML. If you're building a full-fledged web app (lots of dynamic content, database-backed, user accounts, etc.) then I would choose a web framework. I don't know how PHP web frameworks compare with Ruby web frameworks since I haven't used a PHP web framework myself.