1 / 528
文档名称:

Manning,.Ruby.for.Rails.Ruby.Techniques.for.Rails.Developers.(2006).BBL.LotB(1).pdf

格式:pdf   页数:528
下载后只包含 1 个 PDF 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

Manning,.Ruby.for.Rails.Ruby.Techniques.for.Rails.Developers.(2006).BBL.LotB(1).pdf

上传人:bolee65 2014/1/9 文件大小:0 KB

下载得到文件列表

Manning,.Ruby.for.Rails.Ruby.Techniques.for.Rails.Developers.(2006).BBL.LotB(1).pdf

文档介绍

文档介绍:Ruby for Rails
Ruby for Rails
RUBY TECHNIQUES FOR RAILS DEVELOPERS
DAVID A. BLACK
MANNING
Greenwich
(74° w. long.)
For online information and ordering of this and other Manning books, please visit
. The publisher offers discounts on this book when ordered in
quantity. For more information, please contact:
Special Sales Department
Manning Publications Co.
209 Bruce Park Avenue Fax:(203) 661-9018
Greenwich, CT 06830 email: manning@
©2006 Manning Publications. All rights reserved.
No part of this publication may be reproduced, stored in a retrieval system, or transmitted,
in any form or by means electronic, mechanical, photocopying, or otherwise, without
prior written permission of the publisher.
Many of the designations used by manufacturers and sellers to distinguish their products
are claimed as trademarks. Where those designations appear in the book, and Manning
Publications was aware of a trademark claim, the designations have been printed in initial
caps or all caps.
Recognizing the importance of preserving what has been written, it is Manning’s policy to have
the books they publish printed on acid-free paper, and we exert our best efforts to that end.
Manning Publications Co. Copyeditor: Liz Welch
209 Bruce Park Avenue Typesetter: Gordan Salinovic
Greenwich, CT 06830 Cover designer: Leslie Haimes
ISBN 1932394699
Printed in the United States of America
**********–VHG–10 090807 06
for n in nephews + nieces

which is to say: Annie, David, Elizabeth, a, and Robert,
with all my love. You’re all absolutely amazing, and I adore you.
brief contents
PART ITHE RUBY/RAILS LANDSCAPE ...........................1
1 ■ How Ruby works 3
2 ■ How Rails works 33
3 ■ Ruby-informed Rails development 67
PART II RUBY BUILDING BLOCKS ................................93
4 ■ Objects and variables 95
5 ■ Organizing objects with classes 121
6 ■ Modules and anization 154
7 ■ The default object (self) and scope 177
8 ■