Ruby, Sinatra, & MVC
<html>
<head>
<?php my_header() ?>
</head>
<body>
<?php sidebar() ?>
<?php my_body() ?>
<?php maybe_some_database_calls() ?>
</body>
</html>
Problems:
$ git clone https://github.com/qrohlf/webdev-gettingstarted.git
$ cd webdev-gettingstarted
$ bundle install
$ shotgun
# now look at http://localhost:9393 in your browser
If you didn't finish section 0.4 in the textbook:
<% @lyrics.each do |line| %>
<p><%= line %></p>
<% end %>
Read chapter 1 in the course website
Start working on the lab
Ask questions in IRC
Missed a slide? slides.com/quinnrohlf/webdev-week-1