Rails 101
Rails 101
關於本書
本書停止維護與販售,已改版成線上免費課程
Table of Contents
- CHANGELOG
-
作者介紹
- Logdown
- 如何排除障礙
- 本書使用方法
-
學習 Rails 前置所需要的技能
- Git 學習資源
- 編輯器學習資源
- Linux Command Line 學習資源
-
Ruby on Rails 安裝最佳實踐
- 安裝步驟
-
練習作業 0 - Hello World
- 吸收觀念
- 建立 Hello World 頁面
- Rails 的 Routing
-
練習作業 1 - 建立 Group - CRUD 與 RESTful
- Ch 1.0 CRUD
- Ch 1.0 (補充) CRUD 懶人大法 Scaffold
- Ch 1.0 (補充) 建站懶人包 Bootstrappers
- Ch 1.1 建立 Group
- Ch 1.1 (補充) RESTful
- Ch 1.1.1 建立 Groups Controller 裡的 index
- Ch 1.1.2 建立 Groups Controller 裡的 show
- Ch 1.1.3 建立 Groups Controller 裡的 new
- Ch 1.1.4 建立 Groups Controller 裡的 create
- Ch 1.1.4 (補充) Strong Parameters
- Ch 1.1.5 建立 Groups Controller 裡的 edit
- Ch 1.1.6 建立 Groups Controller 裡的 update
- Ch 1.1.7 建立 Groups Controller 裡的 destroy
- 補充章節:RESTful on Rails
- 補充章節:More about RESTful on Rails
-
練習作業 2 - 在 Group 裡面發表文章 - 雙層 RESTFul
- Ch 2.1 建立 Post
- Ch 2.1.1 在 Groups controller 的 show 裡面撈出相關的 Post
- Ch 2.1.2 建立 Posts Controller 裡的 new
- Ch 2.1.3 建立 Posts Controller 裡的 create
- Ch 2.1.4 建立 Posts Controller 裡的 edit
- Ch 2.1.5 建立 Posts Controller 裡的 update
- Ch 2.1.6 建立 Posts Controller 裡的 destroy
- Ch 2.1.7 以 before_action 整理重複的程式碼
-
練習作業 3 - 為 Group 與 Post 加入使用者機制
- Ch 3.0 devise 與 Rails 4
- Ch 3.1 對需要登入才能使用的 Action 加入限制
- Ch 3.2 讓 Group 與 User 產生關聯:
- Ch 3.3 讓 Post 與 User 產生關聯:
-
練習作業 4 - User 可以加入、退出社團
- Ch 4.1 使用者必須要是這個社團的成員才能發表文章
- Ch 4.1.2 model method 與 after create
- Ch 4.1.3 join 與 quit action
-
練習作業 5 - 實作簡單的 Account 後台機制
- Ch 5.1 User 必須要在使用者後台可以看到自己參加的 Group
- Ch 5.2 User 必須要在使用者後台可以看到自己發表的文章
- Ch 5.3 文章列表的排序要以發表時間 DESC 排序
- Ch 5.4 Group 的排序要以文章數量的熱門度 DESC 排序
-
練習作業 6 - Refactor code
- Ch 6.1 使用系統 helper 整理 code
- Ch 6.2 自己撰寫的 helper 包裝 html
- Ch 6.3 使用 partial 整理 html
- Ch 6.4 使用 scope 整理 query
-
練習作業 7 - 撰寫自動化 Rake 以及 db:seed
- Ch 7.1 Rake
-
練習作業 8 - 將專案 deploy 到租來的 VPS
- Ch 8.1 佈署 Rails Production 所需要的環境
- Ch 8.2 Capistrano
- Ch 8.3 Capistrano 常用指令
- Ch 8.4 Deploy with Rails 4
-
補充章節: Asset Pipeline
- SCSS
- CoffeeScript
- Asset Pipeline 的架構
- Rails 4 with Asset Pipeline
- 總複習
-
推薦書單
- 初階基礎網頁設計
- 初階 Ruby on Rails
- 測試 Testing
- 進階基礎網頁設計
- 重構 Ruby / Rails code
- 寫出更漂亮的 Ruby code
- Object-oriend Design in Ruby on Rails
- 如何更瞭解 Rails 底層
-
附錄
- Resources of latest Ruby
Authors have earned$10,261,184writing, publishing and selling on Leanpub, earning 80% royalties while saving up to 25 million pounds of CO2 and up to 46,000 trees.
Learn more about writing on Leanpub
Leanpub 無條件、無風險的 100% 滿意保證
從付款之後的 45 天內,只要點個兩下,你就可以完成退書並且取回先前支付的全數金額。退書是採用人工作業,因此可能需要花幾天的時間才能完成整個程序。
See full terms.
Free Updates. DRM Free.
If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).
Most Leanpub books are available in PDF (for computers), EPUB (for phones and tablets) and MOBI (for Kindle). The formats that a book includes are shown at the top right corner of this page.
Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.
Learn more about Leanpub's ebook formats and where to read them
Top Books
C++20
Rainer GrimmC++20 is the next big C++ standard after C++11. As C++11 did it, C++20 changes the way we program modern C++. This change is, in particular, due to the big four of C++20: ranges, coroutines, concepts, and modules.
500 QUIZ MMG COMMENTATI
ALS Medicina Generale500 Quiz degli ULTIMI Concorsi di Medicina Generale (2014/2016/2017/2018/2019)
Riassunti e suddivisi per area con Griglia risposte vuota e Griglia risposte esatte Ministeriale
Commentati con link alla fonte per approfondimento e ausilio allo studio
R Programming for Data Science
Roger D. PengThis book brings the fundamentals of R programming to you, using the same material developed as part of the industry-leading Johns Hopkins Data Science Specialization. The skills taught in this book will lay the foundation for you to begin your journey learning data science. Printed copies of this book are available through Lulu.
Ansible for DevOps
Jeff GeerlingAnsible is a simple, but powerful, server and configuration management tool. Learn to use Ansible effectively, whether you manage one server—or thousands.
Atomic Kotlin
Bruce Eckel and Svetlana IsakovaFor both beginning and experienced programmers! From the author of the multi-award-winning Thinking in C++ and Thinking in Java together with a member of the Kotlin language team comes a book that breaks the concepts into small, easy-to-digest "atoms," along with exercises supported by hints and solutions directly inside IntelliJ IDEA!
Continuous Delivery Pipelines
Dave FarleyThis practical handbook provides a step-by-step guide for you to get the best continuous delivery pipeline for your software.
C++ Best Practices
Jason TurnerLevel up your C++, get the tools working for you, eliminate common problems, and move on to more exciting things!
Visualise, document and explore your software architecture
Simon BrownA short guide to visualising, documenting and exploring your software architecture.
Discrete Mathematics for Computer Science
Alexander Shen, Alexander S. Kulikov, Vladimir Podolskii, and Aleksandr GolovnevThis book supplements the DM for CS Specialization at Coursera and contains many interactive puzzles, autograded quizzes, and code snippets. They are intended to help you to discover important ideas in discrete mathematics on your own. By purchasing the book, you will get all updates of the book free of charge when they are released.
Functional Design and Architecture
Alexander GraninSoftware Design in Functional Programming, Design Patterns and Practices, Methodologies and Application Architectures. How to build real software in Haskell with less efforts and low risks. The first complete source of knowledge.
Top Bundles
- #1
Software Architecture for Developers: Volumes 1 & 2 - Technical leadership and communication
2 Books
"Software Architecture for Developers" is a practical and pragmatic guide to modern, lightweight software architecture, specifically aimed at developers. You'll learn:The essence of software architecture.Why the software architecture role should include coding, coaching and collaboration.The things that you really need to think about before... - #2
Software Architecture and Design Practice Reference
2 Books
Dive deeper in Software Architecture with the Design Practice Reference. Learn all about software architecture and design from the books in this bundle:Software Architecture covers topics from quality attributes to designing and modeling components, interfaces, connectors, and containers, all the way to services and microservices. The Design... - #6
Linux Administration Complet
4 Books
Ce lot comprend les quatre volumes du Guide Linux Administration :Linux Administration, Volume 1, Administration fondamentale : Guide pratique de préparation aux examens de certification LPIC 1, Linux Essentials, RHCSA et LFCS. Administration fondamentale. Introduction à Linux. Le Shell. Traitement du texte. Arborescence de fichiers. Sécurité... - #7
The Python Craftsman
3 Books
The Python Craftsman series comprises The Python Apprentice, The Python Journeyman, and The Python Master. The first book is primarily suitable for for programmers with some experience of programming in another language. If you don't have any experience with programming this book may be a bit daunting. You'll be learning not just a programming... - #8
All the Books of The Medical Futurist
6 Books
We put together the most popular books from The Medical Futurist to provide a clear picture about the major trends shaping the future of medicine and healthcare. Digital health technologies, artificial intelligence, the future of 20 medical specialties, big pharma, data privacy, digital health investments and how technology giants such as Amazon... - #10
Mastering Containers
2 Books
Docker and Kubernetes are taking the world by storm! These books will get you up-to-speed fast! Docker Deep Dive is over 400 pages long, and covers all objectives on the Docker Certified Associate exam.The Kubernetes Book includes everything you need to get up and running with Kubernetes!