Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Service Providers
    • Laravel has a concept of Service Providers, these are classes that register certain functionallity into the service container, which makes it more accessable to the rest of the code and prevents clutter being present in Controllers
  • Eloquent Models
    • Eloquent Models are objects created from and linked to the database, Laravel provides extensive abstraction methods to define relations and in order to easily make and call complex queries
  • Request Objects
    • Request objects are made for every request, these objects contain all the relevant information of the request as well as in some cases performing validation on the request. Request objects are mostly modified by Middleware and read by Controllers.
  • Middleware
    • Logic classes that perform certain actions on request before or after processing the request (by the controllers). Middleware typically do authentication, security, validation and formatting. Middleware are defined registered in kernel.php and assigned to routes in the routes.php file.