没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
Download from Wow! eBook <www.wowebook.com>
Early praise for Agile Web Development with Rails 4
Agile Web Development with Rails is the Rails way to build real-world web apps—it’s
definitive. Rails itself relies on this book as a test suite. Rails moves fast and
AWDwR is always there, a backstage pass to the very latest.
➤
Jeremy Kemper
Member of the Rails core team
This is an excellent way to quickly get up and running with Ruby and Rails. The
book is so good that Sam Ruby should change his name to Sam Rails.
➤
Aaron Patterson
Member of the Ruby and Rails core teams
Like many, I started out with Ruby by reading an earlier version of Agile Web
Development with Rails. Many years (and a few updates) later, it’s still as good a
resource for learning Rails as it has ever been, and this edition brings it right up
to date with Rails 4.
➤
Stephen Orr
Lead developer, Made Media
Download from Wow! eBook <www.wowebook.com>
Agile Web Development with Rails 4
Sam Ruby
Dave Thomas
David Heinemeier Hansson
The Pragmatic Bookshelf
Dallas, Texas • Raleigh, North Carolina
Download from Wow! eBook <www.wowebook.com>
Many of the designations used by manufacturers and sellers to distinguish their products
are claimed as trademarks. Where those designations appear in this book, and The Pragmatic
Programmers, LLC was aware of a trademark claim, the designations have been printed in
initial capital letters or in all capitals. The Pragmatic Starter Kit, The Pragmatic Programmer,
Pragmatic Programming, Pragmatic Bookshelf, PragProg and the linking g device are trade-
marks of The Pragmatic Programmers, LLC.
Every precaution was taken in the preparation of this book. However, the publisher assumes
no responsibility for errors or omissions, or for damages that may result from the use of
information (including program listings) contained herein.
Our Pragmatic courses, workshops, and other products can help you and your team create
better software and have more fun. For more information, as well as the latest Pragmatic
titles, please visit us at
http://pragprog.com
.
The team that produced this book includes:
Susannah Pfalzer (editor)
Kim Wimpsett (copyeditor)
David J Kelly (typesetter)
Janet Furlow (producer)
Juliet Benda (rights)
Ellie Callahan (support)
Copyright © 2013 Pragmatic Programmers, LLC.
All rights reserved.
No part of this publication may be reproduced, stored in a retrieval system, or
transmitted, in any form, or by any means, electronic, mechanical, photocopying,
recording, or otherwise, without the prior consent of the publisher.
Printed in the United States of America.
ISBN-13: 978-1-937785-56-7
Printed on acid-free paper.
Book version: P1.0—September 2013
Download from Wow! eBook <www.wowebook.com>
Contents
Acknowledgments . . . . . . . . . . . ix
Introduction . . . . . . . . . . . . xi
Part I — Getting Started
1. Installing Rails . . . . . . . . . . . . 3
Installing on Windows 41.1
1.2 Installing on Mac OS X 4
1.3 Installing on Linux 6
1.4 Choosing a Rails Version 8
1.5 Setting Up Your Development Environment 9
1.6 Rails and Databases 12
2. Instant Gratification . . . . . . . . . . 15
2.1 Creating a New Application 15
2.2 Hello, Rails! 17
2.3 Linking Pages Together 24
3. The Architecture of Rails Applications . . . . . . 29
3.1 Models, Views, and Controllers 29
3.2 Rails Model Support 32
3.3 Action Pack: The View and Controller 34
4. Introduction to Ruby . . . . . . . . . . 37
Ruby Is an Object-Oriented Language 374.1
4.2 Data Types 39
4.3 Logic 43
4.4 Organizing Structures 45
4.5 Marshaling Objects 48
4.6 Pulling It All Together 49
4.7 Ruby Idioms 50
Download from Wow! eBook <www.wowebook.com>
剩余438页未读,继续阅读
资源评论
- yaosha2014-07-23一直就是学习rails非常好的教程,简单,详细。rails 4 改了不少东西,教程要看新的
greenflute
- 粉丝: 1
- 资源: 67
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功