Chapter 0

Your First Application

Your First Web Application

In this first free chapter, I’m going to show you how to build a simple online To-Do list. This may just be a sample, but it is a complete, live application made entirely by you. Get ready to feel smart.

Read Now

Chapter 1

Starting Our Social App

Starting Our Social App

If you’re reading this chapter then you’ve committed to learning a new skill that’s so empowering that it may just consume your entire life (it did in my case). You should have no problem finishing the course – it’s rich with new concepts and tools, but it’s succinct. We’re going to build a full-on social meme-sharing application with Facebook integration. Make it your own, and it’ll be extremely satisfying when it’s done.

Read Now

Chapter 2

Setting Up A Domain Name

Setting Up A Domain Name

This chapter is technically optional. You don’t have to go out and buy a domain name, but it’s nice to have a real website, and you can get plenty of great domain names for less than a dollar these days.

Read Now

Chapter 3

Facebook Authentication

Facebook Authentication

Our social app uses Facebook Authentication exclusively. We could build out a proper user registration system, but that would be a bit too tedious for this course. Facebook authentication is great because people don’t want another username and password to remember and they’re a lot less likely to actually use your site if they have to sign up.

Read Now

Chapter 4

User List And Profiles

User List And Profiles

This is where things get social. We’re going to set up user profile pages, and a list of every user so people can find each other.

Read Now

Chapter 5

Creating And Listing Posts

Creating And Listing Posts

Here, users are finally going to get the ability to post to a shared news feed. We’ll also give them the ability to post directly on each other’s profiles.

Read Now

Chapter 6

Posting Images

Posting Images

In this chapter we set up image-posting functionality. This involves setting up Amazon S3 to store these images for us. At this point our application is basically done, it just needs a few small improvements.

Read Now

Chapter 7

User Feedback

User Feedback

Say a user makes a post and it’s unsuccessful because they’ve attached an invalid file format. We’d like to give them some feedback and explain why. We’re going to add flash boxes in this section which provide feedback to the user when they successfully or unsuccessfully perform an action.

Read Now

Chapter 8

Friendly ID

Friendly ID For Cleaner URLs

We’d like our URLs to be meaningful, and not reveal information such as the total number of users and posts in our database. A rails gem called friendly_id solves this problem for us.

Read Now

Chapter 9

Infinite Scroll

Infinite Scroll

Our app can’t just load every single post in our newsfeed every time a user lands on it. We’re going to use a gem called will_paginate alongside a bit of javascript to give our app the infinite scroll effect that other sites like Facebook and Twitter have.

Read Now