Define Laravel. Explain briefly about Blade Templating System in Laravel.

This question are relatited by fronted web. I want to this question for education of education. some one reply this question answer. I am waiting for your answer.

1 Answer

Laravel is an open-source PHP framework, which is robust and easy to understand. It follows a model-view-controller design pattern. Laravel reuses the existing components of different frameworks which helps in creating a web application. The web application thus designed is more structured and pragmatic.Laravel 5.1 introduces the concept of using Blade, a templating engine to design a unique layout. The layout thus designed can be used by other views, and includes a consistent design and structure.

When compared to other templating engines, Blade is unique in the following ways -

  1. It does not restrict the developer from using plain PHP code in views.
  2. The blade views thus designed, are compiled and cached until they are modified.

laravel directory

The complete directory structure of Laravel is shown in the screenshot given here. You can observe that all views are stored in the resources/views directory and the default view for Laravel framework is welcome.blade.php.

We use cookies to enhance your experience, to provide social media features and to analyse our traffic. By continuing to browse, you agree to our Privacy Policy.