April 2015
Intermediate to advanced
260 pages
5h 17m
English
In this chapter we’re going to continue developing our new web app,
Gophr. In the last chapter we set up the skeleton of our project, the folder
structure, templates, assets, and middleware. Now we can attack the
interesting stuff: how to handle users. As part of this we’ll cover what our
users look like, including generating unique IDs. We’ll look at how
to store user passwords and how to create a UserStore
interface to both save and search for users.
This may sound like a small amount to be covering, but it isn’t as simple as it sounds. There are a few complexities to setting up a good system, such as how we store and authenticate passwords, so to start off we’ll stick to creating a simplified user ...