laravel-cookbook
laravel-cookbook copied to clipboard
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
Laravel Cookbook
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.
Section 1: Data Preparation
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
Section 2: How to create a page?
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)
Section 3: Form and Validation
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
Section 4: Relationship
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
Section 5: Common Request
Following are the common request in developing web applications.
- Setup Multilingual
- Setup Custom Validation Messages
Section 6: Intermediate Request
This section covered request from intermediate level developers.
- Middleware
Checklist
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.