Ruby On Rails Presentation

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    Favorites, Groups & Events

    Ruby On Rails Presentation - Presentation Transcript

    1. Ruby on Rails 06/04/09 Building Web Applications Is Fun Again! Presented by Hy Chan Han
      • Web Developer
        • Ruby on Rails
      • PHP before then
      • Free and Open Source (FOSS) Enthusiast
      Ruby on Rails 06/04/09
    2. 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
      • Ruby is :
        • A High Level Programming Language
        • Originated in Japan and Rapidly Gaining Mindshare in US and Europe.
      Ruby on Rails 06/04/09
      • 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
      • Rails is
        • A web-application framework written in Ruby by David Heinemeier Hansson .
        • Model-View-Controller
      Ruby on Rails 06/04/09
    3. Model (ActiveRecord ) : Maintains the relationship between Object and Database and handles validation, association, transactions, and more. Ruby on Rails 06/04/09
    4. 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
    5. 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
    6. A Pictorial Diagram of Ruby on Rails Framework: Ruby on Rails 06/04/09
      • 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
              • demo/
              • ..../app
              • ......../controller
              • ......../helpers
              • ......../models
              • ......../views
              • ............../layouts
              • ..../components
              • ..../config
              • ..../db
              • ..../doc
              • ..../lib
      Ruby on Rails 06/04/09
    7. 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
    8. Ruby on Rails 06/04/09
      • Unzip Instant Rails on any hard drive
      • Start server Apache and MySQL
    9. Ruby on Rails 06/04/09
    10. Ruby on Rails 06/04/09 Go to command prompt by using helper command as follow: C:InstantRails>use_ruby
    11. 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.
    12. 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.
    13. Ruby on Rails 06/04/09
      • Mysql
      • Oracle
      • Postgre Sql
      • SqlLite
      • And more…
    14. Ruby on Rails 06/04/09
    15. Ruby on Rails 06/04/09 E-mail: [email_address]

    + ChanHan HyChanHan Hy, 2 years ago

    custom

    1030 views, 0 favs, 1 embeds more stats

    This is ruby on rails presentation on BarCamp Phnom more

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 1030
      • 1018 on SlideShare
      • 12 from embeds
    • Comments 0
    • Favorites 0
    • Downloads 36
    Most viewed embeds
    • 12 views on http://han4u.blogspot.com

    more

    All embeds
    • 12 views on http://han4u.blogspot.com

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories