没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
试读
734页
唔,1分应该还是有人下的吧,共同学习进步,Ruby on Rails is an open source web framework. It's famously simple to build a basic Rails application. Once you've started down the track, however, you discover that Rails is a powerful, deep, and rich full-stack platform capable of tackling virtually any development challenge. "Rails 4 in Action" is a fully-revised second edition of "Rails 3 in Action." This hands-on, compreh...
资源推荐
资源详情
资源评论
MEAP Edition
Manning Early Access Program
Rails 4 in Action MEAP version 11
Revised Edition of Rails 3 in Action
Copyright 2013 Manning Publications
For more information on this and other Manning titles go to
www.manning.com
©Manning Publications Co. We welcome reader comments about anything in the manuscript - other than typos and
other simple mistakes. These will be cleaned up during production of the book by copyeditors and proofreaders.
http://www.manning-sandbox.com/forum.jspa?forumID=818
Licensed to <alex@vinova.sg>
brief contents
Chapter 1 Ruby on Rails, the framework
Chapter 2 Testing saves your bacon
Chapter 3 Developing a real Rails application
Chapter 4 Oh CRUD!
Chapter 5 Nested resources
Chapter 6 Authentication
Chapter 7 Basic access control
Chapter 8 Fine-grained access control
Chapter 9 File uploading
Chapter 10 Tracking state
Chapter 11 Tagging
Chapter 12 Sending email
Chapter 13 Designing an API
Chapter 14 Deployment
Chapter 15 Alternative authentication
Chapter 16 Basic performance enhancements
Chapter 17 Rack-based applications
Appendix A Why Rails?
Appendix B Tidbits
©Manning Publications Co. We welcome reader comments about anything in the manuscript - other than typos and
other simple mistakes. These will be cleaned up during production of the book by copyeditors and proofreaders.
http://www.manning-sandbox.com/forum.jspa?forumID=818
Licensed to <alex@vinova.sg>
1
Welcome aboard! It’s great to have you with us on this journey through the world
of Ruby on Rails. Ruby on Rails is known as a powerful web framework that helps
developers rapidly build modern web applications. In particular, it provides lots of
niceties to help you in your quest to develop a full-featured real-world application
and be happy doing it. Great developers are happy developers.
If you're wondering who uses Rails, well there's plenty of companies out there.
There's Twitter, Hulu, and Urban Dictionary, just to name a few. This book will
teach you how to build a very small and simple application in this first chapter,
right after we go through a brief description of what Ruby on Rails actually .is
Within the first couple of chapters, you'll have some pretty solid foundations of an
application and then build on that throughout the rest of the book.
Ruby on Rails is a framework built on the Ruby language, hence the name Ruby
on Rails. The Ruby language was created back in 1993 by ("Matz") of Japan.
Ruby was released to the general public in 1995. Since then, it has earned both a
reputation and an enthusiastic following for its clean design, elegant syntax, and
wide selection of tools available in the standard library and via a package
management system called . It also has a worldwide community andRubyGems
many active contributors constantly improving the language and the ecosystem
around it.
The foundation for Ruby on Rails was created during 2004 when David
Heinemeier Hansson was developing an application called Basecamp. For his next
project, the foundational code used for Basecamp was abstracted out into what we
know as Ruby on Rails today, with it being released under the MIT License .
1
Ruby on Rails, the framework
1.1 Ruby on Rails Overview
©Manning Publications Co. We welcome reader comments about anything in the manuscript - other than typos and
other simple mistakes. These will be cleaned up during production of the book by copyeditors and proofreaders.
http://www.manning-sandbox.com/forum.jspa?forumID=818
1
Licensed to <alex@vinova.sg>
Footnote 1 m The MIT license: http://en.wikipedia.org/wiki/MIT_License
Since then, Ruby on Rails has quickly progressed to become one of the leading
web development frameworks. This is in no small part due to the large community
surrounding it, improving everything from documentation, through to bug fixes, all
the way up to adding new features to the framework.
This book is written for version 4.0.0 of the framework, which is the latest
version of Rails. If you've used Rails 3.2, you'll find that much feels the same, yet
Rails has learned some new tricks, as well. There will be an appendix at the end of
the book giving you a quick overview of what's new.
Ruby on Rails allows for rapid development of applications by using a concept
known as . A new Ruby on Rails application isconvention over configuration
created by running the application generator. This generator creates a standard
directory structure and the files that act as a base for every Ruby on Rails
application. These files and directories provide categorization for pieces of your
code, such as the app/models directory for containing files that interact with the
database and the app/assets directory for assets, such as stylesheets, javascript files
and images. Because all of this is already there for you, you won’t be spending
your time configuring the way your application is laid out. It’s done for you.
How rapidly can you develop a Ruby on Rails application? Take the annual
event. This event brings together small teams of one to fourRails Rumble
developers around the world to develop Ruby on Rails applications in a 48-hour
2
period. Using Rails, these teams deliver amazing web applications in just two days.
Another great example of rapid development of a Rails application is the
3
20-minute blog screencast recorded by Yehuda Katz. This screencast takes you
4
from having nothing at all to having a basic blogging and commenting system.
Footnote 2mAnd now other Ruby-based web frameworks, such as Sinatra.
Footnote 3 m To see an example of what has come out of previous Rails Rumbles, take a look at their alumni
archive: http://r09.railsrumble.com/entries
Footnote 4 m 20-minute blog screencast: http://vimeo.com/10732081
Once learned, Ruby on Rails affords you a level of productivity unheard of in
other web frameworks because every Ruby on Rails application starts out the same
way. The similarity between the applications is so close that working on different
Rails applications is not tremendous. If and when you jump between Rails
1.1.1 Benefits
©Manning Publications Co. We welcome reader comments about anything in the manuscript - other than typos and
other simple mistakes. These will be cleaned up during production of the book by copyeditors and proofreaders.
http://www.manning-sandbox.com/forum.jspa?forumID=818
2
Licensed to <alex@vinova.sg>
剩余733页未读,继续阅读
资源评论
- vintager42015-10-22确实是rails4的内容,比较新
- use36452015-06-23非常有用,能够快速入门Rails
- qq_255528772015-10-30资源不错,ruby on rails 学习中!
- DOGXER2015-06-11如实描述 无误
- beyond98882015-10-30首先谢谢楼主,提供了一本比较新的书, 书是2013年出版的,rails 方面很少有人关注了,国外这两年也没有什么新书了,国内引进最新的也是2012年的
djpdjp
- 粉丝: 1
- 资源: 5
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功