Do as directed. 1. _______ command is used to create project in Laravel. 2. _______ command is used to create table in Laravel. 3. What are blade pages? 4. What is database seeder? 5. What is difference between {{ }} and {!! !!} syntax in Laravel? 6. @extends is _______. 7. What is soft delete?
[7 marks]List and explain basic php artisan commands in Laravel.
[7 marks]Write short note on control structures available in blade.
[7 marks]What is blade directive? Explain any two in detail.
[7 marks]What is framework? Why one should use framework? How Laravel is useful in developing web application?
[7 marks]What is Middleware? How it can be created and implemented? Explain with proper example.
[7 marks]What is CSRF protection? Explain in detail.
[7 marks]What is form method spoofing? How it is useful? Explain with example.
[7 marks]What is Eloquent? What is advantage of Eloquent? Explain accessing and inserting records using Eloquent with code snippet.
[7 marks]Explain Laravel’s Request life cycle in detail.
[7 marks]Explain the mechanism of handling cookies in Laravel. Also show how can we read and write values to it.
[7 marks]Explain the mechanism of writing and reading data from session.
[7 marks]What is pagination? How can we manually create paginators? Also write code snippet to paginate database results.
[7 marks]What are different types of relationships we can define on models? Explain with proper code snippet.
[7 marks]What is Response object in Laravel? How can we send response from Laravel? Also explain different methods to send file as response to browser.
[7 marks]How can we implement authentication in Laravel? Also explain how it works.
[7 marks]What is database migration? What is its usage? Explain with example.
[7 marks]