Log In
Or create an account ->
Imperial Library
Home
About
News
Upload
Forum
Help
Login/SignUp
Index
Laravel Application Development Blueprints
Table of Contents
Laravel Application Development Blueprints
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers and more
Why Subscribe?
Free Access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
1. Building a URL Shortener Website
Creating a database and migrating our URL shortener's table
Creating our form
Creating our Link model
Saving data to the database
Validating the users' input
Returning the messages to the view
Diving further into controller and processing the form
Getting individual URL from the database and redirecting
Summary
2. Building a To-do List with Ajax
Creating and migrating our to-do list's database
Creating a todos model
Creating the template
Inserting data to the database with Ajax
Retrieving the list from the database
How to allow only Ajax requests
Allowing the request using route filters
Allowing the request using the controller side
Wrapping up
Summary
3. Building an Image Sharing Website
Creating a database and migrating the images table
Creating a photo model
Setting custom configuration values
Installing a third-party library
Creating a secure form for file upload
Validating and processing the form
Showing the image with a user interface
Listing images
Deleting the image from the database and server
Summary
4. Building a Personal Blog
Creating and migrating the posts database
Creating a posts model
Creating and migrating the authors database
Creating a members-only area
Saving a blog post
Assigning blog posts to users
Listing articles
Paginating the content
Summary
5. Building a News Aggregation Website
Creating the database and migrating the feeds table
Creating a feeds model
Creating our form
Validating and processing the form
Extending the core classes
Reading and parsing an external feed
Summary
6. Creating a Photo Gallery System
Creating a table and migrating albums
Creating an Album model
Creating the images database with the migrating class
Creating an Image model
Creating an album
Adding a template for creating albums
Creating a photo upload form
Validating the photo
Assigning a photo to an album
Moving photos between albums
Creating an update form
Summary
7. Creating a Newsletter System
Creating a database and migrating the subscribers table
Creating a subscribers model
Creating our subscription form
Validating and processing the form
Creating a queue system for basic e-mail sending
Using the Email class to process e-mails inside the queue
Testing the system
Sending e-mails with the queue directly
Summary
8. Building a Q&A Web Application
Removing the public segment from Laravel 4
Installing Sentry 2 and an authentication library and setting access rights
Creating custom filters
Creating our registration and login forms
Validating and processing the form
Processing the login and logout requests
Creating our questions table and model
Creating our tags table with a pivot table
Creating and processing our question form
Creating our questions form
Processing our questions form
Creating our questions list page
Adding upvote and downvote functionality
Creating our questions page
Creating our answers table and resources
Processing the answers
Choosing the best answer
Searching questions by the tags
Summary
9. Building a RESTful API – The Movies and Actors Databases
Creating and migrating the users database
Adding sample users
Creating and migrating the movies database
Creating a movie model
Adding sample movies
Creating and migrating the actors database
Creating an actor model
Assigning actors to movies
Understanding the authentication mechanism
Querying the API
Getting movie/actor information from the API
Sending new movies/actors to the API's database
Deleting movies/actors from the API
Summary
10. Building an E-Commerce Website
Building an authorization system
Creating and migrating the members' database
Creating and migrating the authors' database
Adding authors to the database
Creating and migrating the books database
Adding books to the database
Creating and migrating the carts database
Creating and migrating the orders database
Listing books
Creating a template file to list books
Taking orders
Summary
Index
← Prev
Back
Next →
← Prev
Back
Next →