• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Rails.20110405
 

Rails.20110405

on

  • 3,557 views

第21回あしたのオープンソース研究所 Ruby on Rails 座談会資料

第21回あしたのオープンソース研究所 Ruby on Rails 座談会資料

Statistics

Views

Total Views
3,557
Views on SlideShare
3,541
Embed Views
16

Actions

Likes
2
Downloads
7
Comments
0

1 Embed 16

http://s.deeeki.com 16

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

    Rails.20110405 Rails.20110405 Presentation Transcript

    • Ruby on Rails
    • Ruby on Rails—  Web —  RoR Rails —  Ruby —  MVC —  Rails Wikipedia
    • Rails —  David Heinemeier Hansson basecamp” —  —  —  —  — 
    • Rails ⇛ http://rubyonrails.org/applications
    • Rails Rails Web Rails Web p.2 —  Ajax —  REST
    • Rails DRY Don’t Repeat Yourself —  CoC Convention over Configuration —  MVC
    • Rails MVC —  Model MVC Web Model RDBMS Rails Active Record Model ActiveRecord::Base RDBMS —  View MVC View Web HTML —  Controller MVC Controller Rails Action Pack Web MVC Web Wikipedia
    • Active Record—  Active Record = Rails ORM ActiveRecord RDBMS RDBMS Wikipedia 2011.4.4 —  ORM Object-Relational Mapping — 
    • Action Pack —  Action Pack = Action Controller + Action View —  Action Pack Rails — 
    • Action Controller
    • Action View —  Helper—  — 
    • RESTful web
    • REST Representational State Transfer —  REST Wikipedia—  2000 HTTP Roy Fielding —  REST XML HTTP Web SOAP MEP Message Exchange Pattern; SOAP Wikipedia
    • REST REST 2 —  Fielding REST Web —  RPC XML+HTTP (SOAP ) Wikipedia
    • RESTful web —  —  HTTP —  GET —  PUT —  POST —  DELETE—  —  URL
    • RESTful web —  Web—  Web—  REST Web or or
    • COM CORBA —  Web COM CORBA —  Web RESTful Web p.ix—  HTTP Web HTTP XML p.xii
    • SOAP vs. REST —  SOAP REST —  2002 Amazon Web —  SOAP REST —  SOAP REST —  SOAP REST —  Web2.0 Google Amazon REST —  REST —  SOAP —  REST Web pp.22-24
    • RESTful —  
 
 
 RESTful RESTful 
 Rails Web p.378
    • RESTful —  
 
 
 REST RESTful 
 Rails Web p.379
    • RESTful —  Amazon.com … REST SOAP REST —  eBay…REST —  Yahoo!…REST —  Zope —  Wikipedia
    • Rails REST —  Restlet Java RESTful 
 Lightweight)Java —  Django Python Web 
 MVC —  BEAR PHP PHP5 
 DI Web
    • Rails 3
    • Rails3 —  Action Dispatch—  Bundler & Action Mailer—  Active Relation & Active Model—  Cross-site scripting & Unobtrusive JavaScript—  New Action Controller
    • Dive into Rails 3
    • Action Dispatch —  Action Dispatch contains a new syntax for routing which is even more concise and readable.
    • Bundler & Action Mailer —  Rails 3 ships with Bundler, a Ruby library that makes Dependency Management a painless process.
    • Active Relation & Active Model —  Active Relation gives you a more powerful syntax for pulling data into your application. Well learn about the new syntax and discover how to leverage Active Model to enhance our plain old Ruby objects.
    • Cross-site scripting &Unobtrusive JavaScript —  Cross-site scripting (XSS) protection has been improved in Rails 3. Html 5 standards have also been adopted to encourage unobtrusive javascript and allow for seamless integration of any Javascript Framework.
    • New Action Controller —  The Action Controller stack has been completely overhauled to allow for increased modularity and code reuse. Well learn about Abstract Controller and the new respond_to syntax to help simplify RESTful controllers.
    • Rails —  Ruby —  Rails or 1.9.2 —  Mac OS X 10.5 —  RubyGems —  Ruby —  Rails —  gem install rails
    • Rails —  Mac OS X Ruby Rails Rails RubyGems —  sudo gem update --system —  sudo gem install rails —  fetch —  gem list … —  gem server —  http://localhost:8088 …
    • expenses—  rails new expenses —  cd expenses—  rails server—  http://localhost:3000
    • Hello, Rails! Hello, World! —  rails generate controller Say —  cd expenses —  rails server —  http://localhost:3000
    • 1.  2.  URL Rails 3.  URL 4.  5.  ERb 6. 
    • Manifesto for Agile Software Development We are uncovering better ways of developing software by doing it and helping others do it. Through this work we have come to value: —  Individuals and interactions over processes and tools —  Working software over comprehensive documentation —  Customer collaboration over contract negotiation —  Responding to change over following a plan That is, while there is value in the items on the right, we value the items on the left more. http://agilemanifesto.org/
    • —  —  —  —  http://agilemanifesto.org/iso/ja/