Ruby on Rails

774 views

Published on

A presentation gave at ForumIT 2008, Braila, Romania.

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
774
On SlideShare
0
From Embeds
0
Number of Embeds
11
Actions
Shares
0
Downloads
2
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Ruby on Rails

  1. 1. Ruby on Rails Mihai Anca
  2. 2. Ruby Limbaj dinamic Orientat pe obiecte Scris în 1993 de Yukihiro Matsumoto Mai multe implementări: MRI, YARV, JRuby, IronRuby, MacRuby >> 1 + 2 >> 2.times do => 3 ?> puts “Hello” >> “Hello ForumIT”.length ?> end => 13 Hello Hello
  3. 3. Ruby on Rails Framework web Scris in Ruby Open source (MIT) Arhitectură MVC “Convention over Configuration” DRY (Don’t Repeat Yourself)
  4. 4. MVC Model Reprezentarea informației Adaugă logică Bază de date, API, etc. View Transformă modelul într-o formă vizibilă Template HTML, RSS, Atom, XML, JSON Controller Procesează evenimente
  5. 5. MVC în Rails Model Controller View
  6. 6. Demo

×