Your SlideShare is downloading. ×
Ruby On Rails Presentation
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Saving this for later?

Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime - even offline.

Text the download link to your phone

Standard text messaging rates apply

Ruby On Rails Presentation

6,206
views

Published on

This is ruby on rails presentation on BarCamp Phnom Penh's day in Cambodia on Saturday, September 20th 2008.

This is ruby on rails presentation on BarCamp Phnom Penh's day in Cambodia on Saturday, September 20th 2008.

Published in: Education, Technology

0 Comments
6 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
6,206
On Slideshare
0
From Embeds
0
Number of Embeds
5
Actions
Shares
0
Downloads
267
Comments
0
Likes
6
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Ruby on Rails 06/04/09 Building Web Applications Is Fun Again! Presented by Hy Chan Han
  • 2.
    • Web Developer
      • Ruby on Rails
    • PHP before then
    • Free and Open Source (FOSS) Enthusiast
    Ruby on Rails 06/04/09
  • 3. A collection of good libraries, less works but achieve better results and faster. There are lots of nice tools, classes and methods to make development easier. Ruby on Rails 06/04/09
  • 4.
    • Ruby is :
      • A High Level Programming Language
      • Originated in Japan and Rapidly Gaining Mindshare in US and Europe.
    Ruby on Rails 06/04/09
  • 5.
    • Why Ruby ?
      • Easy to learn
      • Open source
      • Very easy to extend
      • Truly Object-Oriented
      • Less Coding with fewer bugs
    Ruby on Rails 06/04/09
  • 6.
    • Rails is
      • A web-application framework written in Ruby by David Heinemeier Hansson .
      • Model-View-Controller
    Ruby on Rails 06/04/09
  • 7. Model (ActiveRecord ) : Maintains the relationship between Object and Database and handles validation, association, transactions, and more. Ruby on Rails 06/04/09
  • 8. View ( ActionView ) A presentation of data in a particular format, triggered by a controller's decision to present the data. Ruby on Rails 06/04/09
  • 9. Controller ( ActionController ): is the logical center of your application. It coordinates the interaction between the user, the views, and the model. Ruby on Rails 06/04/09
  • 10. A Pictorial Diagram of Ruby on Rails Framework: Ruby on Rails 06/04/09
  • 11.
    • This can be created by using sample helper command
    • C:InstantRails ails_apps>rails demo
    • Then you will find a directory structure as follow:
    Ruby on Rails 06/04/09
  • 12.
            • demo/
            • ..../app
            • ......../controller
            • ......../helpers
            • ......../models
            • ......../views
            • ............../layouts
            • ..../components
            • ..../config
            • ..../db
            • ..../doc
            • ..../lib
    Ruby on Rails 06/04/09
  • 13. Ruby on Rails 06/04/09
    • Go to http://rubyforge.org/projects/instantrails/
        • Instant Rails 2.0
        • Instant Rails 1.7
        • Instant Rails 1.5
        • Instant Rails 1.4
        • Instant Rails 1.3a
  • 14. Ruby on Rails 06/04/09
    • Unzip Instant Rails on any hard drive
    • Start server Apache and MySQL
  • 15. Ruby on Rails 06/04/09
  • 16. Ruby on Rails 06/04/09 Go to command prompt by using helper command as follow: C:InstantRails>use_ruby
  • 17. Ruby on Rails 06/04/09 Rails will try to use Mongrel and lighttpd if they are installed, otherwise Rails will use WEBBrick, the webserver that ships with ruby.
  • 18. Ruby on Rails 06/04/09 Windows users are encouraged to Start with Mongrel because it is a Ruby-based webserver that is suitable for development and deployment of Rails applications.
  • 19. Ruby on Rails 06/04/09
    • Mysql
    • Oracle
    • Postgre Sql
    • SqlLite
    • And more…
  • 20. Ruby on Rails 06/04/09
  • 21. Ruby on Rails 06/04/09 E-mail: [email_address]