1 / 5

Ruby on Rails

Ruby on Rails. Easy Web 2.0 . History. Ruby – hard to add in web 2.0 functionality. Done via javascript Ruby on Rails  wrapper for prototype and scriptalicious for ruby. Rapid Application Development. Model View Controller (MVC)

landry
Download Presentation

Ruby on Rails

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Ruby on Rails Easy Web 2.0 

  2. History • Ruby – hard to add in web 2.0 functionality. Done via javascript • Ruby on Rails  wrapper for prototype and scriptalicious for ruby

  3. Rapid Application Development • Model View Controller (MVC) • Automagically create database tables, input, output pages for you • Object Oriented Programming • Moving away from linear development into object oriented programming • Rapid Application Development – weblog in 15 minutes!

  4. Making Web 2.0 easier • Ruby – using javascriptSortable.create("list", {onUpdate:function(){newAjax.Updater('list-info', '/hello/reorder', {asynchronous:true, evalScripts:true, onComplete:function(request){newEffect.Highlight("list",{});}, parameters:Sortable.serialize("list") + '&authenticity_token=' + encodeURIComponent('e3babda21c6870c0c702b26ea5d6fc27a9208d6f')})}}) • Rails - provides a wrapper <%= sortable_element 'list',:update => 'list-info', :complete => visual_effect(:highlight, 'list'),:url => "/hello/reorder" %> • Rails - Instant ajaxpost from normal form post <%= link_to_function("Add new Hello World Message",

  5. DEMO

More Related