laravel-cookbook icon indicating copy to clipboard operation
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.

  1. Create model & migration script
  2. Setup Migration Script Schema
  3. Setup Fillable
  4. Run Migration Scripts
  5. Setup Factory
  6. Setup Seeder
  7. Seed the Data
  8. 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.

  1. Route, View(closure)
  2. Route, Controller & View (string)
  3. Route, Controller & View (blade template)
  4. 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.

  1. Form - Create, Update & Delete
  2. Validation
    1. Controller
    2. 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.

  1. One-to-one
  2. One-to-many
  3. Many-to-one
  4. Many-to-many

Section 5: Common Request

Following are the common request in developing web applications.

  1. Setup Multilingual
  2. Setup Custom Validation Messages

Section 6: Intermediate Request

This section covered request from intermediate level developers.

  1. 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.