|
447 coins
coins
As of 3:50 am
|
Level 2
|
About Me
All my week days i am on spongefish :). Hmm... i am a developer. Other wise ..I like painting , photography, roaming.etc.. I wish i was an architect :) not for softwares but for buildings and town ships.
My Philosophy
A ship is safe at the shore ... That's not ships are made for.
Leave a Comment
Manoj at 12:03am on Mar. 12, 2008
8 months ago
There have been many extravagant claims made about Rails. For example, an article in OnLAMP.com1 claimed
that “you could develop a web application at least ten times faster with Rails than you could with a typical Java
framework...” The article then went on to show how to install Rails and Ruby on a PC and build a working
scaffold’ application with virtually no coding.
While this is impressive, ‘real’ web developers know that this is smoke and mirrors. ‘Real’ applications aren’t as
simple as that. What’s actually going on beneath the surface? How hard is it to go on and build ‘real’
applications?
This is where life gets a little tricky. Rails is well documented on-line – in fact, possibly too well documented for
beginners, with over 30,000 words of on-line documentation in the format of a reference manual. What’s
missing is a roadmap (railmap?) pointing to the key pages that you need to know to get up and running in Rails
development.
This document sets out to fill that gap. It assumes you’ve got Ruby and Rails up on a PC (if you haven’t got this
far, go back and follow Curt’s article). This takes you to the end of ‘Day 1 on Rails’.
Day 2 on Rails’ starts getting behind the smoke and mirrors. It takes you through the ‘scaffold’ code. New
features are highlighted in bold, explained in the text, and followed by a reference to either Rails or Ruby
documentation where you can learn more.
Day 3 on Rails’ takes the scaffold and starts to build something recognisable as a ‘real’ application. All the time,
you are building up your tool box of Rails goodies. Most important of all, you should also be feeling comfortable
with the on-line documentation so you can continue your explorations by yourself.
Day 4 on Rails’ adds in another table and deals with some of the complexities of maintaining relational integrity.
At the end, you’ll have a working application, enough tools to get you started, and the knowledge of where to
ook for more help.
Ten times faster? after four days on Rails, judge for yourself!
Documentation: this document contains highlighted references, either to:
• Documentation – the Rails documentation at http://api.rubyonrails.com (this documentation is also installed
on your PC as part of your gems installation in a location like C:\Program
Files\ruby\lib\ruby\gems\n.n\doc\actionpack-n.n.n\rdoc\index.html)
• Ruby Documentation – “Programming Ruby - The Pragmatic Programmer's Guide” available online and for
download at http://www.ruby-doc.org/docs/ruby-doc-bundle/ProgrammingRuby/index.html
Acknowledgements: many thanks to the helpful people on the the irc channel2 and the mailing list3. The on-
ine archives record their invaluable assistance as I clawed my way up the Rails and Ruby leaning curves.
Version: 2.3 using version 0.12.1 of Rails – see http://rails.homelinux.org for latest version and to download a
copy of the ToDo code. Document written and pdf file generated with OpenOffice.org 'Writer'.
Copyright: this work is copyright ©2005 John McCreesh jpmcc@users.sourceforge.net and is licensed under
the Creative Commons Attribution-NonCommercial-ShareAlike License. To view a copy of this license, visit
http://creativecommons.org/licenses/by-nc-sa/2.0/ or send a letter to Creative Commons, 559 Nathan Abbott
Way, Stanford, California 94305, USA. Reply...
Gullu at 4:55am on Jan. 28, 2008
9 months ago
thanks bro !!!!!!!!! sill more coming ur way Reply...
Gullu at 11:02pm on Jan. 27, 2008
9 months ago
catch me and watch my pics Reply...