Professional Documents
Culture Documents
Department of Computing: CS-344: Web Engineering
Department of Computing: CS-344: Web Engineering
Department of Computing: CS-344: Web Engineering
Class: BESE-10AB
Lab Objectives:
The objective of this lab is helping students to familiarize themselves with the Laravel to
develop dynamic websites and handle server side behavior of a web site by employing Eloquent
ORM. Students will develop a small Laravel application through which they will interact with a
database and will perform basic CRUD operations.
Tools:
Notepad, DreamWeaver, browser.
Helping Material:
Lecture slides.
Laravel:
https://laravel.com/docs/8.x/eloquent
https://laravel.com/docs/8.x/database
https://laravel.com/docs/8.x/blade
Lab Task
Notes:
Task 1
Extend the login feature of the Breeze so that you can store and retrieve the employee’s
information from the ‘employees’ table by verifying username and password. Make sure that
the password is encrypted (e.g. using md5() function when storing the password and applying
md5() function when checking the credentials). You will need to configure the database and use
the Eloquent ORM accordingly.
Task 2
After successful login, the user should be able to see the list of employees in tabular form in the
landing page.
You will need to retrieve the data from the ‘employees’ table using Eloquent ORM.
Use the ‘Tailwind CSS’ and beautify your webpage by controlling the look and feel.
Note: Upload complete solutions (css, html, js, php) for each task in in a single zip file along
with adding jQuery and screenshots of your solutions in this word file.
Solution
Task 1:
Task 1 screenshot:
Task 2:
Task 2 screenshot: