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...
user has_one :shop
user has_many :products

shop belongs_to :user
shop has_many :shelves

products belong_to :users

shelf...
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:
...
Loading development environment (Rails 2.0.2)...

>> Product
=> Product(id: integer, name: string, action: string, price:
...
Loading development environment (Rails 2.0.2)...

>> Product
=> Product(id: integer, name: string, action: string, price:
...
Loading development environment (Rails 2.0.2)...

>> Product
=> Product(id: integer, name: string, action: string, price:
...
Loading development environment (Rails 2.0.2)...

>> Product
=> Product(id: integer, name: string, action: string, price:
...
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/ge...
*


*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.or...
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.c...
Ruby on Rails - The Best Track for your Start Up
Ruby on Rails - The Best Track for your Start Up
Ruby on Rails - The Best Track for your Start Up
Ruby on Rails - The Best Track for your Start Up
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

7,857 views
7,425 views

Published on

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

Published in: Technology
8 Comments
28 Likes
Statistics
Notes
No Downloads
Views
Total views
7,857
On SlideShare
0
From Embeds
0
Number of Embeds
50
Actions
Shares
0
Downloads
411
Comments
8
Likes
28
Embeds 0
No embeds

No notes for slide

Ruby on Rails - The Best Track for your Start Up

  1. RUBY ON RAILS THE
BEST
TRACK
FOR
YOUR
 STARTUP’S
JOYRIDE DISCLAIMER:
I
AM
A
N00B!
  2. Every start up begins with a dream
  3. Dreams don’t sell
  4. Great Products Do
  5. You need to plan & build your idea
  6. And the best way to do that is...
  7. Lets get started...
  8. but where do we begin?
  9. Code is Poetry -WORDPRESS
  10. Don’t code. Just think. What everything will be like? How would it rhyme?
  11. user has_one :shop user has_many :products shop belongs_to :user shop has_many :shelves products belong_to :users shelf belongs_to :shop
  12. user has_one :shop user has_many :products shop belongs_to :user shop has_many :shelves products belong_to :users shelf belongs_to :shop
  13. script/generate A personal chef anyone?
  14. ./script/generate scaffold Product name:string action:string price:integer picture:string summary:text description:text
  15. C reate R ead U pdate D elete
  16. A place to start. A place to learn.
  17. script/console Its alive! Its alive! Its alive!...or is it?
  18. Loading development environment (Rails 2.0.2)...
  19. 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)
  20. 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>
  21. 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>
  22. 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>
  23. 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>
  24. script/plugin Walk with me & you’ll learn to walk
  25. A login system
  26. script/plugin source http://svn.techno-weenie.net/projects/plugins script/plugin install restful_authentication script/generate authenticated user sessions
  27. * *interface not included
  28. Beautiful Interface
  29. git clone git://github.com/Lipsiasoft/lipsiadmin.git vendor/ plugins/lipsiadmin script/generate lipsiadmin
  30. Ready to use code. Highly tested. Learning Point for beginners.
  31. 1st Application
  32. Learn as you Go!
  33. Do it alone!
  34. 36 HOURS
  35. Find time
  36. Pretend to be Sick
  37. Pretend that you went on a vacation
  38. There is help along the way...
  39. irc.freenode.net #rubyonrails http://groups.google.com/group/rubyonrails-talk API http://api.rubyonrails.org/ http://wiki.rubyonrails.org/rails
  40. Thank You
  41. Any questions?
  42. Get in touch prtksxna@gmail.com prateek.saxena@yahoo.com http://twitter.com/prtksxna
  43. 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...

×