In this series, from scratch, you'll come along with me as I build a web app, called "Project Flyer." We'll tackle everything from the domain name purchase, to the deployment.
We have the typical work to do first, such as initializing Git, creating our database, and other similar tasks.
We'll naturally be making use of Laravel Elixir and Gulp in this series, so let's get all of that setup.
Let's a do a quick bit of "design" on the home page, and then figure out the correct resources for representing our flyers.
Let's get started on the main flyer form. This is what users will fill out to generate their home landing page.
We have our form, but we've haven't built up our migrations or models just yet. Let's tackle that.
If we can't store "photo" as a column on our flyers table, then we'll need to use a "has many" relationship instead. Let's setup that relationship with Eloquent in this episode.
Let's process the main flyer form. We'll need to apply some validation, persist the flyer, and redirect.
We're about ready to start working on the actual flyer page. Let's begin getting that setup, while preparing the proper URI.
We've decided that you can't create a new flyer, until you've registered. Fair enough. Let's enforce that in this lesson!
Currently, when a user uploads a set of images, we immediately display them on the main flyer page - regardless of how large they are. Instead, let's use the Intervention library to create a 200x200 thumbnail for each upload.
At the moment, we haven't written any logic to protect users from others uploading photos to their flyer. We can't have that! In this lesson, I'll demonstrate a number of ways to authorize users.
Let's continue refactoring our code, as we examine alternative possibilities for structuring things.
Let's continue our review of various ways to structure our code, while making a number of tweaks.
The truth is that we have to take shortcuts sometimes in these videos. To cram the entire process of building an app down to a few hours is a fairly difficult task. Nonetheless, it's implied that you're testing your code. Let's review what that might look like, using the class we built in the previous episode.
We can successfully drag and drop any number of photos onto the page, but we don't yet have a way to remove them. Let's fix that in this video, while also creating a helper function to simplify the tedious process of creating forms for the sole purpose of submitting "PATCH" and "DELETE" requests.