• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Introductiontorails 120804023905-phpapp02
 

Introductiontorails 120804023905-phpapp02

on

  • 162 views

 

Statistics

Views

Total Views
162
Views on SlideShare
162
Embed Views
0

Actions

Likes
1
Downloads
0
Comments
0

0 Embeds 0

No embeds

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

    Introductiontorails 120804023905-phpapp02 Introductiontorails 120804023905-phpapp02 Presentation Transcript

    • Introduction to Web Development Using Rails Chhorn Chamnap 4 August 2012
    • Who Am I? ● Software Engineer from Yoolk Inc. ● The author of the gem 'active_record_uuid' ● Blog: http://chamnap.github.com/ ● Twitter: @chamnap ● Email: chamnapchhorn@gmail.com
    • What is Rails?
    • + =
    • Websites on Rails
    • Companies using Rails
    • Version History
    • The Framework ● Convention over Configuration (CoC) ● Don't Repeat Yourself (DRY) ● Model View Controller (MVC)
    • The Framework (MVC)
    • ActiveRecord ● Object Relational Mapping (ORM) ● Class to Table, Object to Row ● CRUD simple ● Database Agnostic
    • ActiveRecord::Base
    • Validation
    • has_one
    • has_many
    • belongs_to
    • has_many :through
    • Associations
    • Fat Models
    • ActionController ● Separation of business logic and presentation ● Ideally there should be no logic in the view
    • ActionController
    • ActionView
    • action.mimetype.renderer ● show.html.erb ● index.rss.builder ● edit.iphone.haml
    • Live Demo
    • Questions?