Difference between revisions of "Ruby on Rails"

From Wikicliki
Jump to: navigation, search
Line 1: Line 1:
 
 
 
ruby is a language, rails is a framework
 
ruby is a language, rails is a framework
 
object-oriented, general purpose
 
object-oriented, general purpose
Line 17: Line 15:
 
* database - SQlite
 
* database - SQlite
 
* heroku - fre rails hosting
 
* heroku - fre rails hosting
 +
 +
== the command line ==
 +
* ls - list
 +
* cd - go to directory (use cd ~ to go backwards)
 +
* pwd - "print working directory"
 +
* echo - repeats it (used to echo out $PATH)
 +
* touch - creates a file
 +
* cat - tells info
 +
* mv - move
 +
* cp - copy
 +
* rm - remove (DELETE FOREVER)
 +
* man <command> - tells you more (press q to get out) (man - manual)
 +
 +
 +
 +
 +
 +
 +
 +
  
  

Revision as of 03:01, 13 May 2012

ruby is a language, rails is a framework object-oriented, general purpose

rails philosophy

  • opinionated
  • convention over configuration
  • don't repeat yourself
  • test driven
  • minimal code - maximal effect

the tools

  • rails
  • rake - like maeke for ruby (an easy way to run tasks)
  • git - source code control
  • database - SQlite
  • heroku - fre rails hosting

the command line

  • ls - list
  • cd - go to directory (use cd ~ to go backwards)
  • pwd - "print working directory"
  • echo - repeats it (used to echo out $PATH)
  • touch - creates a file
  • cat - tells info
  • mv - move
  • cp - copy
  • rm - remove (DELETE FOREVER)
  • man <command> - tells you more (press q to get out) (man - manual)






See Also