-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
287 lines (284 loc) · 17.1 KB
/
index.html
File metadata and controls
287 lines (284 loc) · 17.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
<!doctype html>
<html dir="ltr" lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Textbook Backend Development</title>
<link rel="stylesheet" type="text/css" href="stylesheets/style.css" data-turbo-track="reload">
<link rel="stylesheet" type="text/css" href="stylesheets/print.css" media="print">
<link rel="stylesheet" type="text/css" href="stylesheets/highlight.css" data-turbo-track="reload">
<link rel="icon" href="images/backend-development.svg" sizes="any">
<script src="javascripts/@hotwired--turbo.js" data-turbo-track="reload"></script>
<script src="javascripts/clipboard.js" data-turbo-track="reload"></script>
<script src="javascripts/guides.js" data-turbo-track="reload"></script>
<meta property="og:title" content="Textbook Backend Development" />
<meta name="description" content="Textbook Backend Development" />
<meta property="og:description" content="Textbook Backend Development" />
<meta property="og:locale" content="en_US" />
<meta property="og:site_name" content="Textbook Backend Developemnt" />
<meta property="og:image" content="images/backend-development.svg" />
<meta property="og:type" content="website" />
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Noto+Sans+Arabic:wght@100..900&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Heebo:wght@100..900&family=Noto+Sans+Arabic:wght@100..900&display=swap" rel="stylesheet">
<meta name="theme-color" content="#2e56e9">
</head>
<body class="guide">
<header id="page_header">
<div class="wrapper clearfix">
<nav id="feature_nav">
<div class="header-logo">
<a href="/">Backend Development</a>
</div>
<ul class="nav">
<li><a class="nav-item" id="home_nav" href="/">Home</a></li>
<li class="guides-index guides-index-large">
<a href="index.html" id="guidesMenu" class="guides-index-item nav-item">Index</a>
<div id="guides" class="clearfix" style="display: none;">
<hr />
<dl class="guides-section-container">
<div class="guides-section">
<dt>Ruby on Rails</dt>
<dd><a href="ruby_commandline.html">Ruby Commandline</a></dd>
<dd><a href="rails_database_and_model.html">Models and ActiveRecord</a></dd>
<dd><a href="rails_db.html">Database and Migrations</a></dd>
<dd><a href="rails_associations_and_validations.html">Associations and Validations</a></dd>
<dd><a href="rails_view_and_controller.html">Routing, View and Controller</a></dd>
<dd><a href="rails_authentication.html">Simple Authentication</a></dd>
<dd><a href="assets_and_import_map.html">The Asset Pipeline and Importmaps</a></dd>
<dd><a href="testing.html">Getting started with Testing</a></dd>
<dd><a href="refactoring_rails.html">Refactoring Rails</a></dd>
<dd><a href="deploy-to-paas.html">Deploy to PAAS</a></dd>
<dd><a href="rails_gems.html">Ruby Gems for your Rails Project</a></dd>
<dd><a href="deploying_rails.html">Deploying Rails</a></dd>
</div>
<div class="guides-section">
<dt>Ruby on Rails - Advanced Topics</dt>
<dd><a href="deploy-to-paas.html">Deploy to PAAS</a></dd>
<dd><a href="rest-api.html">REST API</a></dd>
<dd><a href="graphql-api.html">GraphQL API</a></dd>
<dd><a href="rails_websockets.html">Websocket in Rails</a></dd>
<dd><a href="jobs_and_tasks.html">Jobs and Tasks in Rails</a></dd>
<dd><a href="rails_security.html">Rails Security</a></dd>
</div>
<div class="guides-section">
<dt>Overarching Concerns</dt>
<dd><a href="issue.html">Issue Lifecycle</a></dd>
<dd><a href="security.html">Security</a></dd>
<dd><a href="adv_authentication.html">Advanced Authentication</a></dd>
<dd><a href="caching.html">Caching</a></dd>
<dd><a href="advanced_testing.html">Advanced Testing</a></dd>
<dd><a href="internationalization.html">Internationalization (I18n)</a></dd>
<dd><a href="git_rebasing.html">Git Rebasing</a></dd>
</div>
<div class="guides-section">
<dt>Nodes.js</dt>
<dd><a href="node_vs_rails.html">Node vs. Rails</a></dd>
<dd><a href="node_basics.html">Node Basics</a></dd>
<dd><a href="node_websockets.html">Node Websockets</a></dd>
<dd><a href="node_express.html">Node Web App</a></dd>
<dd><a href="node_cluster.html">Scaling Node</a></dd>
</div>
<div class="guides-section">
<dt>Next.js</dt>
<dd><a href="nextjs.html">Next.js</a></dd>
</div>
</dl>
</div>
</li>
<li class="guides-index guides-index-small">
<select class="guides-index-item nav-item">
<option value="index.html">Index</option>
<optgroup label="Ruby on Rails">
<option value="ruby_commandline.html">Ruby Commandline</option>
<option value="rails_database_and_model.html">Models and ActiveRecord</option>
<option value="rails_db.html">Database and Migrations</option>
<option value="rails_associations_and_validations.html">Associations and Validations</option>
<option value="rails_view_and_controller.html">Routing, View and Controller</option>
<option value="rails_authentication.html">Simple Authentication</option>
<option value="assets_and_import_map.html">The Asset Pipeline and Importmaps</option>
<option value="testing.html">Getting started with Testing</option>
<option value="refactoring_rails.html">Refactoring Rails</option>
<option value="deploy-to-paas.html">Deploy to PAAS</option>
<option value="rails_gems.html">Ruby Gems for your Rails Project</option>
<option value="deploying_rails.html">Deploying Rails</option>
</optgroup>
<optgroup label="Ruby on Rails - Advanced Topics">
<option value="deploy-to-paas.html">Deploy to PAAS</option>
<option value="rest-api.html">REST API</option>
<option value="graphql-api.html">GraphQL API</option>
<option value="rails_websockets.html">Websocket in Rails</option>
<option value="jobs_and_tasks.html">Jobs and Tasks in Rails</option>
<option value="rails_security.html">Rails Security</option>
</optgroup>
<optgroup label="Overarching Concerns">
<option value="issue.html">Issue Lifecycle</option>
<option value="security.html">Security</option>
<option value="adv_authentication.html">Advanced Authentication</option>
<option value="caching.html">Caching</option>
<option value="advanced_testing.html">Advanced Testing</option>
<option value="internationalization.html">Internationalization (I18n)</option>
<option value="git_rebasing.html">Git Rebasing</option>
</optgroup>
<optgroup label="Nodes.js">
<option value="node_vs_rails.html">Node vs. Rails</option>
<option value="node_basics.html">Node Basics</option>
<option value="node_websockets.html">Node Websockets</option>
<option value="node_express.html">Node Web App</option>
<option value="node_cluster.html">Scaling Node</option>
</optgroup>
<optgroup label="Next.js">
<option value="nextjs.html">Next.js</option>
</optgroup>
</select>
</li>
</ul>
</nav>
</div>
</header>
<hr class="hide" />
<section id="feature">
<div class="wrapper">
<h2>About this Book</h2>
<p>This is a textbook for the second year of a computer
science or "media informatics" degree program. It builds
on <a href="https://web-development.github.com">Web Development</a>
(in german).</p>
<p>This book is not a self-contained work: There are great
resources for learning about backend development with Rails and Node
- this book tries to use
these resources, and bind them together into a coherent study plan.</p>
<p>It was written and published by Brigitte Jellinek
in the hope that it will be useful to lecturers and students
in educational institutions as well as to self-directed learners on the internet.
</p>
<hr>
</div>
</section>
<main id="container">
<div class="wrapper">
<div id="mainCol">
<div class='slide'>
</div>
<div class='slide'>
<p class='slide_break_block'><a class='slide_break' id='slide-0' href='slides_#/0'>◻</a></p>
<h3>On Backend Development</h3>
<p>In this course we will learn backend development with
Ruby on Rails and with node.js.</p>
<p>There are many frameworks in different languages that
could also be used. If you learn
Laravel (with PHP) or Django (with Python) or Play (with Java)
one of many other frameworks you are doing just fine.</p>
<p>We decided on Ruby on Rails in 2008 because the framework seemed well rounded
and modern then, and we have not been disappointed. Rails has not stopped innovating
and improving. In 2024 we can still recommend it both for learning and for building production
ready software. In 2013 we added node.js to cover different aspects of backend development.</p>
</div>
<div class='slide'>
<p class='slide_break_block'><a class='slide_break' id='slide-1' href='slides_#/1'>◻</a></p>
<h2>Ruby on Rails</h2>
<dl class="guide-index-list">
<dt><a href="ruby_commandline.html">Ruby Commandline</a></dt><dd>
<p>The essential ruby you need to know to understand rails</p>
</dd> <dt><a href="rails_database_and_model.html">Models and ActiveRecord</a></dt><dd>
<p>How does Rails use the database? Use the rails console to find out.</p>
</dd> <dt><a href="rails_db.html">Database and Migrations</a></dt><dd>
<p>How does Rails use the database? How are models and database tables related?</p>
</dd> <dt><a href="rails_associations_and_validations.html">Associations and Validations</a></dt><dd>
<p>How are relations between models implemented? How can we put restrictions on the data?</p>
</dd> <dt><a href="rails_view_and_controller.html">Routing, View and Controller</a></dt><dd>
<p>How Rails gets from a HTTP Request to a finishd HTML document</p>
</dd> <dt><a href="rails_authentication.html">Simple Authentication</a></dt><dd>
<p>How do we implement "logging in" over statless HTTP? Sessions in rails. Logging in with Passwords or with another service like github, twitter, facebook (using devise and omniauth)</p>
</dd> <dt><a href="assets_and_import_map.html">The Asset Pipeline and Importmaps</a></dt><dd>
<p>How CSS, Fonts, Images and JavaScript are prepared for publishing</p>
</dd> <dt><a href="testing.html">Getting started with Testing</a></dt><dd>
<p>Write your first unit tests and integration tests for Rails</p>
</dd> <dt><a href="refactoring_rails.html">Refactoring Rails</a></dt><dd>
<p>How to improve your code in a systematic way.</p>
</dd> <dt><a href="deploy-to-paas.html">Deploy to PAAS</a></dt><dd>
<p>How to deploy a web app to the cloud with "Platform As A Service"</p>
</dd> <dt><a href="rails_gems.html">Ruby Gems for your Rails Project</a></dt><dd>
<p>How bundler helps with dependencies, and some gems you might need for your first Rails project</p>
</dd> <dt><a href="deploying_rails.html">Deploying Rails</a></dt><dd>
<p>Several options for deploying a Rails App</p>
</dd> </dl>
</div>
<div class='slide'>
<p class='slide_break_block'><a class='slide_break' id='slide-2' href='slides_#/2'>◻</a></p>
<h2>Ruby on Rails - Advanced Topics</h2>
<dl class="guide-index-list">
<dt><a href="deploy-to-paas.html">Deploy to PAAS</a></dt><dd>
<p>How to deploy a web app to the cloud with "Platform As A Service"</p>
</dd> <dt><a href="rest-api.html">REST API</a></dt><dd>
<p>Offer an REST stype API as part of your Rails app</p>
</dd> <dt><a href="graphql-api.html">GraphQL API</a></dt><dd>
<p>Offer an GraphQL API as part of your Rails app</p>
</dd> <dt><a href="rails_websockets.html">Websocket in Rails</a></dt><dd>
<p>Websockets offer a permanent connection between client and server. With Actioncable you can use websockets for publish-subscribe communication</p>
</dd> <dt><a href="jobs_and_tasks.html">Jobs and Tasks in Rails</a></dt><dd>
<p>Your web application will need code that is run outside the HTTP Request-Response cycle. Learn about Jobs that run automatically and Tasks that you can start from the commandline</p>
</dd> <dt><a href="rails_security.html">Rails Security</a></dt><dd>
<p>How Rails framework helps with web security</p>
</dd> </dl>
</div>
<div class='slide'>
<p class='slide_break_block'><a class='slide_break' id='slide-3' href='slides_#/3'>◻</a></p>
<h2>Overarching Concerns</h2>
<dl class="guide-index-list">
<dt><a href="issue.html">Issue Lifecycle</a></dt><dd>
<p>from definition to implementation to acceptance</p>
</dd> <dt><a href="security.html">Security</a></dt><dd>
<p>Some Security Aspects of using Rails, Node and Next.js</p>
</dd> <dt><a href="adv_authentication.html">Advanced Authentication</a></dt><dd>
<p>Different Scenarios demand different authentication methods - Web Auth, OAuth, JWT,...</p>
</dd> <dt><a href="caching.html">Caching</a></dt><dd>
<p>Speed up your web app through caching</p>
</dd> <dt><a href="advanced_testing.html">Advanced Testing</a></dt><dd>
<p>More testing with test doubles and a headless browser</p>
</dd> <dt><a href="internationalization.html">Internationalization (I18n)</a></dt><dd>
<p>How to prepare you app for many languages, many countries</p>
</dd> <dt><a href="git_rebasing.html">Git Rebasing</a></dt><dd>
<p>How to work with feature branches and rebasing in git</p>
</dd> </dl>
</div>
<div class='slide'>
<p class='slide_break_block'><a class='slide_break' id='slide-4' href='slides_#/4'>◻</a></p>
<h2>Nodes.js</h2>
<dl class="guide-index-list">
<dt><a href="node_vs_rails.html">Node vs. Rails</a></dt><dd>
<p>What are the differences, and why should I learn both?</p>
</dd> <dt><a href="node_basics.html">Node Basics</a></dt><dd>
<p>Program your first web server in node</p>
</dd> <dt><a href="node_websockets.html">Node Websockets</a></dt><dd>
<p>Program a chat app with socket.io</p>
</dd> <dt><a href="node_express.html">Node Web App</a></dt><dd>
<p>write a web app in node with express</p>
</dd> <dt><a href="node_cluster.html">Scaling Node</a></dt><dd>
<p>how to scale node up with cluster.js</p>
</dd> </dl>
</div>
<div class='slide'>
<p class='slide_break_block'><a class='slide_break' id='slide-5' href='slides_#/5'>◻</a></p>
<h2>Next.js</h2>
<dl class="guide-index-list">
<dt><a href="nextjs.html">Next.js</a></dt><dd>
<p>A Framework for React, including Backend Concerns</p>
</dd> </dl>
</div>
</div>
</div>
</main>
<hr class="hide" />
<footer id="page_footer">
<div class="wrapper">
<p class="copyright">published under <a href="https://creativecommons.org/licenses/by-nc-sa/3.0/at/deed.de">creative commons by-nc-sa</a> in 2012-2025 by <a href="https://brigitte-jellinek.at">Brigitte Jellinek</a>.
</p>
<p>If you want to contribute: <a href="https://github.com/backend-development/backend-development-textbook/fork">fork the source on github</a>
</p>
<p>Favicon "backend development" by Arkinasi from <a href="https://thenounproject.com/browse/icons/term/backend-development/" target="_blank" title="backend development Icons">Noun Project</a> (CC BY 3.0)</p>
</div>
</footer>
</body>
</html>