Laravel Cookbook based on author experiences in teaching Laravel Framework. This book intended to simplify the understanding on how to develop web applications with Laravel Framework.
In this section, developers will be exposed, how to prepare your data from scratch. Following are the basic steps in preparing data.
- Create model & migration script
- Setup Migration Script Schema
- Setup Fillable
- Run Migration Scripts
- Setup Factory
- Setup Seeder
- Seed the Data
- Seed the Data via Tinker
In web applications development, creating pages, we have a standard operation procedure (SOP). Following are the SOP and user cases in creating pages across web applications.
- Route, View(closure)
- Route, Controller & View (string)
- Route, Controller & View (blade template)
- Route, Controller, View (Blade), Data (Eloquent)
Forms and Validations are most common components in web applications development. In this section, developer should grasp the fundamental of creating forms and validations.
- Form - Create, Update & Delete
- Validation
- Controller
- Custom Request
Database design is the most critical and fundamental in web applications development. Managing relationship between tables is critical. In this section, developers should be able to grasp the SOP fo creating relationships between tables and how to query the data. Following are the basic relationships covered in this section.
- One-to-one
- One-to-many
- Many-to-one
- Many-to-many
Following are the common request in developing web applications.
- Setup Multilingual
- Setup Custom Validation Messages
This section covered request from intermediate level developers.
- Middleware
In this section, the author have come up questions checklist as a test, to check either developers know and understand how to develop web applications with Laravel Framework.