When most people think of great web sites they don’t think of borring pages that have to refresh every time you click something, they think of sites filled with dynamic like buttons, and moving charts and graphs. While I always encouraging having a solid site before adding any javascript extras, sometimes javascript is just the best tool for the job.
We’ve covered models, views, routing, and briefly introduced controllers. This week we’re taking the deep
dive into controllers, talking about what they can do, and how we want to use them. Last week we talked about
wiring things together with routing. You can watch the Recap
then do the Quiz and once you’re done check out the Quiz Solution.
This past weekend I was fortunate to attend Rails Girls in SF, and help introduce Rails and the associated tech to around 40 women. After answering a number of common questions many times about the command line, I decided to take the opportunity to make some videos explaining some basic concepts.
Last week we did a
whole lot of Ruby View coding, using HTML and ERB to build websites. This week we’re going to focus on routing
in the lecture, and then use routing to build a rails site that uses views and models together. You can start off by
watching the Recap of Week 3 and then taking the week 3 quiz before viewing the week 3 solutions.
In week one we learned
about storing data and using databases. In week 2 we
saw how we can model relationships with databases, and use those relationships with Ruby and Active Record to build
models in Rails. This week we start out with a quick Recap of last week
followed by a Quiz. Once you finish the quiz you can check out the Quiz Solutions.
Last week we talked about why and how we can use databases to store information. This week we’re going to be focusing on how to use databases to model real world relationships and then use those relationships in Rails.
It’s that time of year again, I’m teaching a course at the University of Texas, though this time
i’m officially an Adjunct Professor!! That means not only are students learning all about Rails, they’re
getting credit for it. I’ve taken the liberty to re-record some of my material and share it. Hopefully
you’ll be able to follow along at home.
What happens if your passwords get breached like LinkedIn? Are your users safe? Will they trust you? Had LinkedIn taken a few more security precautions they could have greatly mitigated the security threat. Simply stretching and salting passwords would have made the break in much less valuable to the thieves.