Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.Start your free trial
Although PHP is reigning the web with 80% usage, there are more Ruby courses on TTH. Node.js seems to be emerging around these days. I've a prior knowledge of PHP but I'm looking ahead to learning something new or stick with it that will be best for the future.
Henrik Hansen23,176 Points
Michael Bianchi2,488 Points
I think Ruby is more secure. 80% of users use PHP, like Henrik said - and it's been that way for a very long time. That is also one reason why half of that 80% has terrible security flaws in them because of lazy programming.
I'd go with Rails - it's safer, it's just as simple as PHP and there's plenty of support for deployment as well as learning resources. Before you go with that, though, remember that it's 90% all about your personal preference. The end-user usually doesn't care how you get the job done. Only us geeks care :D
Kevin Phillips15,693 Points
Just to add to the discussion: in response to Henrik's comment that "it is hard to find a web host whom supports Node.js" - I did some digging around at Amazon Web Services (AWS) and discovered their tool Elastic Beanstalk:
"Elastic Beanstalk is a high-level deployment tool that helps you get an app from your desktop to the web in a matter of minutes. Elastic Beanstalk handles the details of your hosting environment—capacity provisioning, load balancing, scaling, and application health monitoring—so you don't have to.
Elastic Beanstalk supports apps developed in Java, PHP, .NET, Node.js, Python, and Ruby, as well as different container types for each language."
Any answer comparing security, simplicity, strength and community support.