Answer the following questions. 1. Define migrations. 2. What is difference between {{$username}} and {!!username!!}? 3. Explain redirect()->to() with proper syntax. 4. Explain Term: Elixir 5. Write command to echo variable “username”. 6. Views in Laravel are stored as ______ files. 7. Explain paginate() function.
[7 marks]Explain following. 1) Form method spoofing. 2) CSRF Protection.
[3 marks]Answer the following.
[ marks]Explain @include and @extend blade directive with proper example. ii) Explain @if blade control structure using suitable example.
[3 marks]How can we create custom blade directives in Laravel? Explain with code snippet.
[7 marks]Explain the terms: 1. Route Model Binding 2. Route Caching
[7 marks]Explain Raw inserts, Raw selects, Raw updates and Raw Deletes with example.
[7 marks]Define Composer and Laravel Eloquent.
[7 marks]What is middleware? Creating Custom Middleware with example.
[7 marks]How could you use query builder in Laravel? Explain giving suitable example.
[7 marks]How are request object and response object used in Laravel?
[7 marks]What is pagination? How can we manually create paginators? Also write code snippet to paginate database results.
[7 marks]Explain Laravel’s Request object Lifecycle.
[7 marks]Answer the following.
[ marks]Write short Note: Auth controller ii) Differentiate between {{ versus {!!
[3 marks]How can we access session in Laravel? Explain the mechanism of writing and reading data from session.
[7 marks]Where and how are blade templates used in Laravel?
[7 marks]Write short Note: Router and Validations of uploaded files.
[7 marks]Explain the mechanism of handling cookies in Laravel. Also show how can we read and write values to it.
[7 marks]