(for all pages)
Cut up and reassemble
ruby and will
Write all Links with link_to
<h1>My Static Webpage</h1>!
<p>it's full off important Tags!</p>!
<p>also, it has a !
<a href="ideas.html">link to my ideas</a></p>!
<h1>My Rails App</h1>!
<p>It's running on rails now.</p>!
<p>it still has a !
<%= link_to "link to my ideas", ideas_path %></p>!
link_to "text", "url"
link_to "all ideas", ideas_path
create all internal URLs with *_path
$ rake routes!
see all the URLs and names of routes
just add _path or _url to the preﬁx:
root_path, ideas_path, new_idea_path, ...
let Rails take care of URLs for you!
split up your html-ﬁles
one layout in app/views/layouts/
many views in app/views/
using ERB – embedded ruby inside <% %>
Convert all links
never write URLs, use path-helpers instead
Move you CSS
to the asset pipline app/assets/stylesheets
Convert you CSS
to SASS, SCSS or LESS
Use all your knowledge of HTML Tags, CSS, ...
with tiny adjustments
Learn more! Come to Salzburg
Summer University "
for Women in IT: Aug25-Sep9 2014
Call for Lectures out soon!
Weekend-Courses in March + May
Barcamp on Web Development
March 14+15 2014
Every Oct and March
Learn More! Come to Salzburg
Web Dev User group in
BSc. Web Development
once a month
Austrian Public University "
of Applied Science (FH)
Join us on http://meetup.com
MSc. Web Development