Год выпуска: 2007
Автор: Dave Thomas, David Heinemeier Hansson
Издательство: The Pragmatic Programmers LLC.
ISBN: 0-9776166-3-0
Формат: PDF
Количество страниц: 715
Язык: Английский
Размер: 6,55 МБ
Описание:
The definitive, Jolt-award winning guide to learning and using Rails is
now in its Second Edition. Rails is a new approach to web-based
application development that enables developers to create full-featured,
sophisticated web-based applications using less code and less effort.
Now programmers can get the job done right and still leave work on
time.
NEW IN THE SECOND EDITION: The book has been updated to take advantage
of all the new Rails 1.2 features. The sample application uses
migrations, Ajax, features a REST interface, and illustrates new Rails
features. There are new chapters on migrations, active support, active
record, and action controller (including the new resources-based
routing). The Web 2.0 and Deployment chapters have been completely
rewritten to reflect the latest thinking. Now you can learn which
environments are best for your style application, and see how Capistrano
makes managing your site simple. All the remaining chapters have been
extensively updated. Finally, hundreds of comments from readers of the
first edition have been incorporated, making this book simply the best
available.
Rails is a full-stack, open source web framework that enables you to
create full-featured, sophisticated web-based applications with a
twist...you can create a full Rails application using less code than the
setup XML you'd need just to configure some other frameworks.
With this book, you'll learn how to use Rails Active Record to connect
business objects and database tables. No more painful object-relational
mapping. Just create your business objects and let Rails do the rest.
You'll learn how to use the Action Pack framework to route incoming
requests and render pages using easy-to-write templates and components.
See how to exploit the Rails service frameworks to send emails, talk to
web services, and interact dynamically with JavaScript applications
running in the browser (the "Ajax" architecture).
You'll see how easy it is to deploy Rails. You'll be writing
applications that work with your favorite database (MySQL, Oracle,
Postgres, and more) in no time at all.