Ruby on Rails Tutorial:Learn Web Development with Rails

Ruby on Rails Tutorial:Learn Web Development with Rails
分享
扫描下方二维码分享到微信
打开微信,点击右上角”+“,
使用”扫一扫“即可将网页分享到朋友圈。
作者:
2012-08
ISBN: 9780321832054
装帧: 其他
开本: 其他
纸张: 其他
  • "Ruby on Rails(TM) Tutorial by Michael Hartl has become a must-read for developers learning how to build Rails apps." -Peter Cooper, Editor of Ruby Inside Using Rails, developers can build web applications of exceptional elegance and power. Although Ruby on Rails Tutorial creator Michael Hartl is a programmer, educator, and entrepreneur. Michael was coauthor of RailsSpace, a Rails tutorial book published in 2007, and was cofounder and lead developer of Insoshi, a popular social networking platform in Ruby on Rails. Previously, he taught theoretical and computational physics at the California Institute of Technology (Caltech), where he received the Lifetime Achievement Award for Excellence in Teaching. Michael is a graduate of Harvard College, has a Ph.D. in Physics from Caltech, and is an alumnus of the Y Combinator entrepreneur program. Foreword to the First Edition by Derek Sivers xv
    Foreword to the First Edition by Obie Fernandez xvii
    Acknowledgments xix
    About the Author xxi

    Chapter 1: From Zero to Deploy 1
    1.1 Introduction 3
    1.2 Up and Running 9
    1.3 Version Control with Git 27
    1.4 Deploying 39
    1.5 Conclusion 43

    Chapter 2: A Demo App 45
    2.1 Planning the Application 45
    2.2 The Users Resource 49
    2.3 The Microposts Resource 63
    2.4 Conclusion 74

    Chapter 3: Mostly Static Pages 77
    3.1 Static Pages 82
    3.2 Our First Tests 93
    3.3 Slightly Dynamic Pages 103
    3.4 Conclusion 114
    3.5 Exercises 114
    3.6 Advanced Setup 117

    Chapter 4: Rails-Flavored Ruby 129
    4.1 Motivation 129
    4.2 Strings and Methods 134
    4.3 Other Data Structures 142
    4.4 Ruby Classes 153
    4.5 Conclusion 164
    4.6 Exercises 164

    Chapter 5: Filling in the Layout 167
    5.1 Adding Some Structure 167
    5.2 Sass and the Asset Pipeline 187
    5.3 Layout Links 197
    5.4 User Signup: A First Step 211
    5.5 Conclusion 215
    5.6 Exercises 217

    Chapter 6: Modeling Users 221
    6.1 User Model 222
    6.2 User Validations 236
    6.3 Adding a Secure Password 254
    6.4 Conclusion 267
    6.5 Exercises 268

    Chapter 7: Sign Up 271
    7.1 Showing Users 271
    7.2 Signup Form 292
    7.3 Signup Failure 303
    7.4 Signup Success 312
    7.5 Conclusion 321
    7.6 Exercises 321

    Chapter 8: Sign In, Sign Out 325
    8.1 Sessions and Signin Failure 325
    8.2 Signin Success 343
    8.3 Introduction to Cucumber (Optional) 363
    8.4 Conclusion 371
    8.5 Exercises 372

    Chapter 9: Updating, Showing, and Deleting Users 373
    9.1 Updating Users 373
    9.2 Authorization 385
    9.3 Showing All Users 396
    9.4 Deleting Users 413
    9.5 Conclusion 422
    9.6 Exercises 424

    Chapter 10: User Microposts 429
    10.1 A Micropost Model 429
    10.2 Showing Microposts 445
    10.3 Manipulating Microposts 454
    10.4 Conclusion 479
    10.5 Exercises 480

    Chapter 11: Following Users 483
    11.1 The Relationship Model 484
    11.2 A Web Interface for Following Users 503
    11.3 The Status Feed 529
    11.4 Conclusion 539
    11.5 Exercises 543
  • 内容简介:
    "Ruby on Rails(TM) Tutorial by Michael Hartl has become a must-read for developers learning how to build Rails apps." -Peter Cooper, Editor of Ruby Inside Using Rails, developers can build web applications of exceptional elegance and power. Although
  • 作者简介:
    Ruby on Rails Tutorial creator Michael Hartl is a programmer, educator, and entrepreneur. Michael was coauthor of RailsSpace, a Rails tutorial book published in 2007, and was cofounder and lead developer of Insoshi, a popular social networking platform in Ruby on Rails. Previously, he taught theoretical and computational physics at the California Institute of Technology (Caltech), where he received the Lifetime Achievement Award for Excellence in Teaching. Michael is a graduate of Harvard College, has a Ph.D. in Physics from Caltech, and is an alumnus of the Y Combinator entrepreneur program.
  • 目录:
    Foreword to the First Edition by Derek Sivers xv
    Foreword to the First Edition by Obie Fernandez xvii
    Acknowledgments xix
    About the Author xxi

    Chapter 1: From Zero to Deploy 1
    1.1 Introduction 3
    1.2 Up and Running 9
    1.3 Version Control with Git 27
    1.4 Deploying 39
    1.5 Conclusion 43

    Chapter 2: A Demo App 45
    2.1 Planning the Application 45
    2.2 The Users Resource 49
    2.3 The Microposts Resource 63
    2.4 Conclusion 74

    Chapter 3: Mostly Static Pages 77
    3.1 Static Pages 82
    3.2 Our First Tests 93
    3.3 Slightly Dynamic Pages 103
    3.4 Conclusion 114
    3.5 Exercises 114
    3.6 Advanced Setup 117

    Chapter 4: Rails-Flavored Ruby 129
    4.1 Motivation 129
    4.2 Strings and Methods 134
    4.3 Other Data Structures 142
    4.4 Ruby Classes 153
    4.5 Conclusion 164
    4.6 Exercises 164

    Chapter 5: Filling in the Layout 167
    5.1 Adding Some Structure 167
    5.2 Sass and the Asset Pipeline 187
    5.3 Layout Links 197
    5.4 User Signup: A First Step 211
    5.5 Conclusion 215
    5.6 Exercises 217

    Chapter 6: Modeling Users 221
    6.1 User Model 222
    6.2 User Validations 236
    6.3 Adding a Secure Password 254
    6.4 Conclusion 267
    6.5 Exercises 268

    Chapter 7: Sign Up 271
    7.1 Showing Users 271
    7.2 Signup Form 292
    7.3 Signup Failure 303
    7.4 Signup Success 312
    7.5 Conclusion 321
    7.6 Exercises 321

    Chapter 8: Sign In, Sign Out 325
    8.1 Sessions and Signin Failure 325
    8.2 Signin Success 343
    8.3 Introduction to Cucumber (Optional) 363
    8.4 Conclusion 371
    8.5 Exercises 372

    Chapter 9: Updating, Showing, and Deleting Users 373
    9.1 Updating Users 373
    9.2 Authorization 385
    9.3 Showing All Users 396
    9.4 Deleting Users 413
    9.5 Conclusion 422
    9.6 Exercises 424

    Chapter 10: User Microposts 429
    10.1 A Micropost Model 429
    10.2 Showing Microposts 445
    10.3 Manipulating Microposts 454
    10.4 Conclusion 479
    10.5 Exercises 480

    Chapter 11: Following Users 483
    11.1 The Relationship Model 484
    11.2 A Web Interface for Following Users 503
    11.3 The Status Feed 529
    11.4 Conclusion 539
    11.5 Exercises 543
查看详情
目前没有书店销售此书,我们为您搜索到一些相关商品
目前没有书店销售此书
相关图书 / 更多
Ruby on Rails Tutorial:Learn Web Development with Rails
Ruby'sWish
Shirin Yim Bridges、Sophie Blackall 著
Ruby on Rails Tutorial:Learn Web Development with Rails
Ruby Tanya
Robert Swindells 著
Ruby on Rails Tutorial:Learn Web Development with Rails
Ruby'sRainbow
Grosset &. Dunlap Publishers 著
Ruby on Rails Tutorial:Learn Web Development with Rails
Ruby (Oprah's Book Club 2.0)
Cynthia Bond 著
Ruby on Rails Tutorial:Learn Web Development with Rails
Ruby on Rails应用开发最强教科书:完全版
太田智彬 著
Ruby on Rails Tutorial:Learn Web Development with Rails
Ruby基础教程 第5版
[日]高桥征义、后藤裕藏 著;何文斯 译;松本行弘 校
Ruby on Rails Tutorial:Learn Web Development with Rails
Ruby on Rails 教程 第4版
安道 译
Ruby on Rails Tutorial:Learn Web Development with Rails
Ruby Gloom's Keys to Happiness
Clam Lynch
Ruby on Rails Tutorial:Learn Web Development with Rails
Ruby on Rails 快速Web应用开发实战
柳靖 编
Ruby on Rails Tutorial:Learn Web Development with Rails
RubyRed[宝石红]
Kerstin Gier 著;Anthea Bell 译
Ruby on Rails Tutorial:Learn Web Development with Rails
Ruby on Rails电子商务实战
Christian Hellsten;Jarkko Laine
Ruby on Rails Tutorial:Learn Web Development with Rails
Ruby Red[宝石红]
Linzi Glass(临淄·格莱斯) 著
您可能感兴趣 / 更多
Ruby on Rails Tutorial:Learn Web Development with Rails
男子汉的诗学(汉译人类学名著丛书)
Michael Herzfeld
Ruby on Rails Tutorial:Learn Web Development with Rails
你好,长安(英文)
Michael、A.Stone 著
Ruby on Rails Tutorial:Learn Web Development with Rails
第二语言需求分析(当代国外语言学与应用语言学文库)(升级版)
Michael H. Long
Ruby on Rails Tutorial:Learn Web Development with Rails
萨满教、殖民主义与野人:关于恐惧与治疗的研究(汉译人类学名著丛书)
Michael Taussig
Ruby on Rails Tutorial:Learn Web Development with Rails
量子计算与量子信息:10周年版
Michael A.Nielsen Isaac L.Chuang 著;孙晓明 尚云 李绿周 尹璋琦 魏朝晖 田国敬 译
Ruby on Rails Tutorial:Learn Web Development with Rails
智能型职业生涯
Michael B. Arthur
Ruby on Rails Tutorial:Learn Web Development with Rails
侧方入路微创脊柱外科学
Michael Y. Wang Andrew A. Sama Juan S. Uribe 主编
Ruby on Rails Tutorial:Learn Web Development with Rails
微创脊柱畸形外科学
Michael Y. Wang 主编;晋大祥 郑召民 海涌 吕国华 主译
Ruby on Rails Tutorial:Learn Web Development with Rails
米勒麻醉学(第 9 版)(上下卷)
Michael A. Gropper;邓小明 黄宇光 李文志
Ruby on Rails Tutorial:Learn Web Development with Rails
临床超声口袋手册
Michael 著;Angela、Creditt、Jordan、Tozer、卞金俊、王嘉锋、赵佳琦 译
Ruby on Rails Tutorial:Learn Web Development with Rails
实用临床药物治疗学神经系统疾病
Michael G.Carvalho 编;Caroline S.Zeind、国家卫生健康委医院管理研究所药事管理研究所、金有豫、韩英、王长连、吴钢 译
Ruby on Rails Tutorial:Learn Web Development with Rails
汗青堂丛书072·伊朗简史:从琐罗亚斯德到今天
Michael、Axworthy 著