TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Which program should I learn RoR or PHP?

5 pointsby Nikkkialmost 13 years ago
I've some basic SQL and relational database management knowledge. Which program would you recommend a marketing person to learn? RoR or PHP? Or do you even have another program in mind?

10 comments

ddorian43almost 13 years ago
php is a language and ror is a framework.<p>I myself have in mind python(language). Check out <a href="http://learnpythonthehardway.org/" rel="nofollow">http://learnpythonthehardway.org/</a> (text book) or <a href="http://www.udacity.com/overview/Course/cs101/CourseRev/apr2012" rel="nofollow">http://www.udacity.com/overview/Course/cs101/CourseRev/apr20...</a> (video tutorials) or both. Then learn django(framework).
评论 #4128285 未加载
评论 #4128746 未加载
tigertrussellalmost 13 years ago
PHP is a programming language and is very easy to get started on since every web host in the world has a version of PHP5 running on their servers.<p>There are many web frameworks available for PHP, my favorite being CakePHP but other notables being Drupal, Zen Framework, and CodeIgniter.<p>You should first learn to program--I'd use JSFiddle.net and some PHP books to teach you that.<p>Then, you'll need to learn the frameworks, which all have lots of documentation to get you started.<p>As another commented pointed out, RoR (Ruby on Rails) is simply another web framework for the programming language Ruby, and you could choose to learn Ruby first and then move to Ruby on Rails in the same way I described, if you wish.<p>I'd say learn PHP - Ruby is like 2 steps from just typing an essay about what you want your app to do.
评论 #4128192 未加载
aaronhalmost 13 years ago
Guh, run, run away from PHP. Try ruby or python. And then a framework of your choice on that such as Rails, or whatever the lead framework in Python is these days (Django?).
EnderMBalmost 13 years ago
I would recommend ASP.NET and C#. The .NET framework is fantastic, Visual Studio is a fantastic IDE and C# is a great language to learn and use.<p>If you don't wish to use ASP.NET then I would highly recommend Python and Django as a platform. It can be a huge pain to install if you're a beginner, but it's a fantastic language and framework.
评论 #4139944 未加载
nwmcsweenalmost 13 years ago
What do you want to learn this for? Personal development? Employability? Freelancing? For each I would learn: Ruby, C# / Java and PHP respectively. Ruby IMO is a more concise, readable and functional than Python, C# and Java are standard enterprise fodder and PHP is widespread but not really designed but more evolved.
Spoomalmost 13 years ago
I'm familiar with both, but it's a little difficult to make a recommendation with so little context. Why do you want to learn one of these languages? Is there a specific reason / project or do you just want to "learn to code"?
评论 #4129160 未加载
woodgealmost 13 years ago
Has anyone had experience with Grails? It looked pretty neat, but I didn't want to start delving into it just to find out that it is something that is not being used or developed all that much.
评论 #4165578 未加载
Executoralmost 13 years ago
I've personally had success with Django/python framework. Although it took 4 days of hassle to install Django/WSGI on Dreamhost.
Navarralmost 13 years ago
As PHP is a personal favorite, it bears my recommendation along with the Yii framework for web applications.
sonnyhe2002almost 13 years ago
Learn php first. With SQL background it is easier to adjust to php.