作者:Simon St Laurent, Edd Dumbill
出版日期:November 01, 2008
出版社:O'Reilly
页数:417
ISBN:0596518773
文件格式:PDF
While most books written about Rails cater to programmers lookingfor information on data structures, “Learning Rails” targets webdevelopers whose programming experience is tied directly to the Web.Rather than begin with the inner layers of a Rails web application–themodels and controllers–this unique book approaches Rails developmentfrom the outer layer: the application interface. You’ll learn how tocreate something visible with Rails before reaching the more difficultdatabase models and controller code. With “Learning Rails,” you canstart from the foundations of web design you already know, and thenmove more deeply into Ruby, objects, and database structures. This bookwill help you: Present web content by building an application with abasic view and a simple controller, while learning Ruby along the wayBuild forms and process their results, progressing from the simple tothe more complex Connect forms to models by setting up a database, anduse Rails’ ActiveRecord to create code that maps to database structuresUse Rails scaffolding to build applications from a view-centricperspective Add common web application elements such as sessions,cookies, and authentication Build applications that combine data frommultiple tables Create simple but dynamic interfaces with Rails and Ajax
Once you complete “Learning Rails,” you’ll be comfortable workingwith the Rails web framework, and you’ll be well on your way tobecoming a Rails guru.