Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • Laravel 5.0 Illuminate, Facades, Service Container, Service Providers

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 211
    Comment on it

    Hi Readers,


    If you are new to Laravel 5 you will definitely come across following terms and you will be using them without actually understanding what they stands for. But it always helpful to understand what are they stands for and why do we are using them.

    So my basic aim is to give you an overview of the following terms, but for detail study please visit Laravel official website for complete documentation and example.


    Illuminate:- This is a namespace having many other namespaces following beneath it. Please visit the following link to view all available namespaces falling beneath it.

    https://laravel.com/api/5.0/namespaces.html


    Facades:- It provide a "static" interface to classes available in the application's service container. It serve as "static proxies" to the classes in the service container, maintaining more test-ability and flexibility than earlier static methods.


    Service Container:- It is a very powerful tool for managing class dependencies. Most of it's bindings will be registered inside the service providers. We may use the application facade to access the container.


    Service Providers:- It is the place where all Laravel application bootstrapping take place and also the central place to configure our application. So all the bootstrapped is done through service providers. Where as Bootstrapped mean registering things, including registering service container bindings, even routes, event listeners and filters.


 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: