Hello guys, what actually is ruby on the rail? What is it good at? better than PHP? Can a normal web host host the ruby in the rail? toby
I've never heard of it myself, but a quick look in the smart-arse's guide to everything (eg. Wikipedia) reveals it is web application framework released in 2004 that aims to increase the speed and ease of web development. Often shortened to Rails, or RoR, it is an open source project written in the Ruby language. Makes perfect sense to me too!
It would, indeed. Are they not the same thing? No entry for 'ruby on the rail' without the final 's'. It's a mystery to me. Still, at least I showed willing
It's a vastly powerful framework that is going to keep rising in popularity over the years and really take the web-development industry by storm. It has huge potential to be the dominant framework/language in the programming world.
What I have realized from its popularity is that its will take place of PHP, application made with it are easy to maintain, and as a plus its a full object oriented. Digg.com is developed on RoR.
All the above is correct. You may have problems finding hosting for it at the moment. That will change over time as RoR has proven itself to be a worthy platform.
What exactly are the advantages of using rails? Does anyone have a good example of a site built with rails?
Digg.com is build with RoR. One advantage I have read on most place about RoR is that applications made with RoR are damn easy to maintain.
My friend is a Ruby on Rails coder. Ever since he switched to it from PHP his development speed increased tremendously. He managed to get a full site (with user management, admin interface, etc...) up for me in less than an hour's time. I tried learning it myself, but never got past learning basic Ruby.
You guys got me interested in ROR maybe I’ll give it a try. What good sites are there that offer help, tutorials, etc…
hi, ive been learning ror since the summer. i dont know to much about the other web languages like php, perl, .net, etc...but i do know that for an independent web developer, its the prefect language and framework to use. the reason being, it can make using and adding new features to a web application real easy. for a simple example with a form that posts and gets from a database table this is what you do.... //controller file: @newRecipe = Recipes.new //in the form view text_field newRecipe , 'name') text_field newRecipe , 'ingrediants') ....etc... //back in the controller @newRecipe = Recipe.new(params[:newRecipe]) @newRecipe.save //done. to fetch the recipe, all you need to do is @myRecipe = Recipe.find(id) to fetch all the recipes, @myRecipes = Recipe.findall) now in your view file, you can just view any information in your @myRecipe variable. another cool feature is that you can add the following functionality to your code with just a few lines!. comments, file uploads, login systems, rating systems, etc...