Episode 19 - Sonjas Ruby on Rails Projekt
Aua-uff-Code!
German - March 07, 2017 23:00 - 1 hour - 60.8 MBTechnology code programmieren Homepage Download Apple Podcasts Google Podcasts Overcast Castro Pocket Casts RSS feed
Show Notes und Links
Projekt ANA Tag 2 final
Rails Girls App Tutorial
Scaffold Gerüst für die Ressource bauen Tutorial
englische Begriffe für Ressourcen verwenden (Einzahl-, Mehrzahlbildung)
Struktur in ANA: ein Projekt (project) hat n Anforderungen (requirement) => 1:n Relation
project has_many requirements
requirement belongs_to project
MVC (model, view, control): Ruby on Rails Tutorial zu MVC
Ressource project
model: project.rb
views: edit.html.erb, index.html.erb, new.html.erb, show.html.erb
controller: projects_controller.rb enthält Methoden index, show, new, edit, create
Datenbank rake db:migrate
Views html.erb Ruby code in Klammern
<% %> Aufruf der Ruby Funktion
<%= %> Rückgabewert der Ruby Funktion soll ausgegeben werden
Start des Servers rails s
http://localhost:3000/projects
http://localhost:3000/requirements
Datenbank SQlite Wikipedia Artikel, Homepage
Bootstrap getbootstrap HTML, CSS, und JS framework
Responsive Design Wikipedia
Internationalisieren und Lokalisieren Wikipedia
internationalization Numeronym i18n
localization Numeronym l10n
pdf-Dokument erzeugen: Prawn
prawn
prawn-rails
Railscast Episode
Prawn by Example
DSL - domain specific language Wikipedia
Rapid prototyping, iterative Entwicklung
JIRA Ticketsystem