Ruby on Rails - The Best Track for your Start Up
Upcoming SlideShare
Loading in...5
×
 

Ruby on Rails - The Best Track for your Start Up

on

  • 10,373 views

A presentation provoking developers to use Ruby on Rails and the framework to build their web applications.

A presentation provoking developers to use Ruby on Rails and the framework to build their web applications.

Statistics

Views

Total Views
10,373
Views on SlideShare
10,336
Embed Views
37

Actions

Likes
27
Downloads
407
Comments
9

3 Embeds 37

http://www.slideshare.net 35
http://surf.googlemashups.com 1
http://prtksxna.com 1

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Ruby on Rails - The Best Track for your Start Up Ruby on Rails - The Best Track for your Start Up Presentation Transcript

  • RUBY ON RAILS THE
BEST
TRACK
FOR
YOUR
 STARTUP’S
JOYRIDE DISCLAIMER:
I
AM
A
N00B!
  • Every start up begins with a dream
  • Dreams don’t sell
  • Great Products Do
  • You need to plan & build your idea
  • And the best way to do that is...
  • Lets get started...
  • but where do we begin?
  • Code is Poetry -WORDPRESS
  • Don’t code. Just think. What everything will be like? How would it rhyme?
  • user has_one :shop user has_many :products shop belongs_to :user shop has_many :shelves products belong_to :users shelf belongs_to :shop
  • user has_one :shop user has_many :products shop belongs_to :user shop has_many :shelves products belong_to :users shelf belongs_to :shop
  • script/generate A personal chef anyone?
  • ./script/generate scaffold Product name:string action:string price:integer picture:string summary:text description:text
  • C reate R ead U pdate D elete
  • A place to start. A place to learn.
  • script/console Its alive! Its alive! Its alive!...or is it?
  • Loading development environment (Rails 2.0.2)...
  • Loading development environment (Rails 2.0.2)... >> Product => Product(id: integer, name: string, action: string, price: integer, picture: string, summary: text, description: text, created_at: datetime, updated_at: datetime, user_id: integer)
  • Loading development environment (Rails 2.0.2)... >> Product => Product(id: integer, name: string, action: string, price: integer, picture: string, summary: text, description: text, created_at: datetime, updated_at: datetime, user_id: integer) >> Product.find(59) => #<Product id: 59, name: quot;Audi TTquot;, action: quot;sellquot;, price: 100000, picture: quot;Audi_TT.jpgquot;, summary: quot;Its a car!!quot;, description: quot;lorem ipsum dolor sit ametquot;, created_at: quot;2008-06-07 12:36:32quot;, updated_at: quot;2008-06-07 12:36:32quot;, user_id: 7>
  • Loading development environment (Rails 2.0.2)... >> Product => Product(id: integer, name: string, action: string, price: integer, picture: string, summary: text, description: text, created_at: datetime, updated_at: datetime, user_id: integer) >> Product.find(59) => #<Product id: 59, name: quot;Audi TTquot;, action: quot;sellquot;, price: 100000, picture: quot;Audi_TT.jpgquot;, summary: quot;Its a car!!quot;, description: quot;lorem ipsum dolor sit ametquot;, created_at: quot;2008-06-07 12:36:32quot;, updated_at: quot;2008-06-07 12:36:32quot;, user_id: 7>
  • Loading development environment (Rails 2.0.2)... >> Product => Product(id: integer, name: string, action: string, price: integer, picture: string, summary: text, description: text, created_at: datetime, updated_at: datetime, user_id: integer) >> Product.find(59) => #<Product id: 59, name: quot;Audi TTquot;, action: quot;sellquot;, price: 100000, picture: quot;Audi_TT.jpgquot;, summary: quot;Its a car!!quot;, description: quot;lorem ipsum dolor sit ametquot;, created_at: quot;2008-06-07 12:36:32quot;, updated_at: quot;2008-06-07 12:36:32quot;, user_id: 7> >> Product.find(59).user => #<User id: 7, login: quot;Prateekquot;, email: quot;prtksxna@gmail.comquot;, crypted_password: quot;a1cb20b35813eaf0c91793595078ab6030a950c3quot;, salt: quot;3621a974b606c816527d7f25cd83c6ea0b9a13c0quot;, created_at: quot;2008-06-07 12:34:47quot;, updated_at: quot;2008-06-07 12:34:47quot;, remember_token: nil, remember_token_expires_at: nil>
  • Loading development environment (Rails 2.0.2)... >> Product => Product(id: integer, name: string, action: string, price: integer, picture: string, summary: text, description: text, created_at: datetime, updated_at: datetime, user_id: integer) >> Product.find(59) => #<Product id: 59, name: quot;Audi TTquot;, action: quot;sellquot;, price: 100000, picture: quot;Audi_TT.jpgquot;, summary: quot;Its a car!!quot;, description: quot;lorem ipsum dolor sit ametquot;, created_at: quot;2008-06-07 12:36:32quot;, updated_at: quot;2008-06-07 12:36:32quot;, user_id: 7> >> Product.find(59).user => #<User id: 7, login: quot;Prateekquot;, email: quot;prtksxna@gmail.comquot;, crypted_password: quot;a1cb20b35813eaf0c91793595078ab6030a950c3quot;, salt: quot;3621a974b606c816527d7f25cd83c6ea0b9a13c0quot;, created_at: quot;2008-06-07 12:34:47quot;, updated_at: quot;2008-06-07 12:34:47quot;, remember_token: nil, remember_token_expires_at: nil>
  • script/plugin Walk with me & you’ll learn to walk
  • A login system
  • script/plugin source http://svn.techno-weenie.net/projects/plugins script/plugin install restful_authentication script/generate authenticated user sessions
  • * *interface not included
  • Beautiful Interface
  • git clone git://github.com/Lipsiasoft/lipsiadmin.git vendor/ plugins/lipsiadmin script/generate lipsiadmin
  • Ready to use code. Highly tested. Learning Point for beginners.
  • 1st Application
  • Learn as you Go!
  • Do it alone!
  • 36 HOURS
  • Find time
  • Pretend to be Sick
  • Pretend that you went on a vacation
  • There is help along the way...
  • irc.freenode.net #rubyonrails http://groups.google.com/group/rubyonrails-talk API http://api.rubyonrails.org/ http://wiki.rubyonrails.org/rails
  • Thank You
  • Any questions?
  • Get in touch prtksxna@gmail.com prateek.saxena@yahoo.com http://twitter.com/prtksxna
  • Image Credits.. • Day dreaming - http://www.flickr.com/photos/klamont/562876285/ • Warren Buffet - http://www.flickr.com/photos/ 7933170@N03/984596632/ • Eva Rees - http://www.flickr.com/photos/evarees/2050595096/ • Boot Load - http://www.flickr.com/photos/bootload/221087443/ • Justing Palmer - http://www.flickr.com/photos/encyte/56883622/sizes/l • Mike Autrey - http://www.flickr.com/photos/mikeautry1/906447964/ sizes/o/ mostly Flickr...