Регистрация ·  Логин: Пароль: Запомнить   · Забыли пароль?




Ответить на тему
Автор Сообщение

Модератор
Аватара пользователя

С нами: 11 лет 1 месяц
Сообщения: 7870
Молдова

Сообщение 11 янв 2016, 20:46 

[Цитировать]

Ruby on Rails - Tutorial - 2nd Edition


Год: 2013
Автор: Michael Hartl
Жанр: WEB Development
Издательство: Addison Wesley
ISBN: 978-0-321-83205-4
Язык: Английский
Формат: PDF
Качество: Отсканированные страницы
Интерактивное оглавление: Нет
Количество страниц: 451
Описание:Rails — это полноценный, многоуровневый фреймворк для построения веб-приложений, использующих базы данных, который основан на архитектуре Модель-Представление-Контроллер (Model-View-Controller, MVC). Динамичный AJAX-интерфейс, обработка запросов и выдача данных в контроллерах, предметная область, отраженная в базе данных, — для всего этого Rails предоставляет однородную среду разработки на Ruby. Все, что необходимо для начала — база данных и веб-сервер.
Chapter 1 From Zero to Deploy 1
1.1 Introduction 3
1.1.1 Comments for Various Readers 4
1.1.2 “Sca1ing" Rails 7
1.1.3 Conventions in This Book 7
1.2 Up and Running 9
1.2.1 Development Environments 10
1.2.2 Ruby, RubyGems, Rails, and Git 12
1.2.3 The First Application 17
1.2.4 Bundler 19
1.2.5 rails server 23
1.2.6 Model-view-controller (MVC) 25
1.3 Version Control with Git 27
1.3.1 Installation and Setup 27
1.3.2 Adding and Committing 30
1.3.3 What Good Does Git Do You? 31
1.3.4 Git}-lub 32
1.3.5 Branch, Edit, Commit, Merge 34
1.4 Deploying 39
1.4.1 1-Ieroku Setup 39
1.4.2 Heroku Deployment, Step One 40
1.4.3 1'-leroltu Deployment, Step Two 40
1.4.4 Heroku Commands 41
1.5 Conclusion 43
Chapter 2 A Demo App 45
2.1 Planning the Application 45
2.1.1 Modeling Demo Users 47
2.1.2 Modeling Demo Microposts 48
2.2 The Users Resource 49
2.2.1 A User Tour 51
2.2.2 MVC in Action 56
2.2.3 Weaknesses of this Users Resource 62
2.3 The Microposts Resource 63
2.3.1 A Micropost Microtour 63
2.3.2 Putting the micro in Microposts 66
2.3.3 A User has _many Microposts 68
2.3.4 Inheritance Hierarchies 70
2.3.5 Deploying the Demo App 73
2.4 Conclusion 74
Chapter 3 Mostly Static Pages 77
3.1 Static Pages 82
3.1.1 Truly Static Pages 82
3.1.2 Static Pages with Rails 85
3.2 Our First Tests 93
3.2.1 Test-driven Development 93
3.2.2 Adding a Page 99
3.3 Slightly Dynamic Pages 103
3.3.1 Testing a Title Change 103
3.3.2 Passing Title Tests 106
3.3.3 Embedded Ruby 108
3.3.4 Eliminating Duplication with Layouts 11 1
3.4 Conclusion 1 14
3.5 Exercises 1 14
3.6 Advanced Setup 1 17
3.6.1 Eliminating bundle exec 118
3.6.2 Automated Tests with Guard 120
3.6.3 Speeding up Tests with Spork 123
3.6.4 Tests inside Sublime Text 127
Chapter 4 Rails-Flavored Ruby 129
4.1 Motivation 129
4.2 Strings and Methods 134
4.2.1 Comments 134
4.2.2 Strings 135
4.2.3 Objects and Message Passing 138
4.2.4 Method Definitions 141
4.2.5 Back to the Title Helper 142
4.3 Other Data Structures 142
4.3.1 Arrays and Ranges 142
4.3.2 Blocks 146
4.3.3 Hashes and Symbols 148
4.3.4 CSS revisited 152
4.4 Ruby Classes 153
4.4.1 Constructors 153
4.4.2 Class Inheritance 155
4.4.3 Modifying Built-in Classes 158
4.4.4 A Controller Class 159
4.4.5 A User Class 161
4.5 Conclusion 164
4.6 Exercises 164
Chapter 5 Filling in the Layout 167
5.1 Adding Some Structure 167
5.1.] Site Navigation 169
5.1.2 Bootstrap and Custom CSS 175
5.1.3 Partials 181
5.2 Sass and the Asset Pipeline 187
5.2.1 The Asset Pipeline 187
5.2.2 Syntactically Awesome Stylesheets 190
.......and other
Доп. информация: http://www.rubyonrails.ru/; http://railstutorial.ru/chapters/4_0/beginning
Download
Для скачивания .torrent файлов необходима регистрация
Сайт не распространяет и не хранит электронные версии произведений, а лишь предоставляет доступ к создаваемому пользователями каталогу ссылок на торрент-файлы, которые содержат только списки хеш-сумм

Страница 1 из 1

Ответить на тему

   Похожие торренты   Торрент