

WEB APPLICATION DEVELOPMENT USING LAVAREL

OBJECTIVES
To introduce the use of Laravel framework for developing server-side web applications that store and retrieve data in a database, as well as implement user authentication and authorization in web applications.
OUTCOMES






Build interactive and
database-driven web
applications using Laravel framework.
Implement user
authentication and
role-based authorization in
web applications.
Use database migration
tool to manage application
database schema.

CONTENT

PRE-REQUISITE

Prior knowledge and
skills in any programming
language
4 days
DURATION

DAY 1
Introduction
- Fundamentals of web application
- Setting up web server and database management system
1.0
hours

PHP Scripting Language
- Syntax, constants, variables, data types, functions
- Classes, objects, inheritance
2.5
hours

Laravel Framework
- Web application frameworks
- Model-view-controller (MVC) architecture
- Setting up Laravel
1.0
hours

Routes, Controllers, Request and Response
- Defining application routes
- Controllers and actions
- Redirects
1.0
hours

Request and Response
- Request
- Response
1.5
hours

DAY 2
Database and Object-Relational Mapping (ORM)
- Database Migrations
- Models
- Relationships
- Queries
5.0
hours

Blade Templates
- Layouts, template inheritance and sections
- Displaying data
- Control structures
- Sub-views
2.0
hours

DAY 3
Middleware
- Defining middleware
- Registering middleware
- Middleware groups
- Middleware parameters
1.5
hours

Validation
- Validation rules and logic
- Form request validation
- Manual validation
- Custom validation rules
- Error messages
2.0
hours

State Management
- Cookies
- Session
2.0
hours

Errors and Exceptions
- Exception Handlers
- HTTP Error Pages
1.5
hours

DAY 4
User Authentication
- Authenticating users
- Getting the current user
1.0
hours

Authorization
- Gates and policies
- Role-based access control
4.0
hours
