Laravel tutorials for beginners : Why choose Laravel? Why You Must Using Laravel? Laravel the Best PHP Framework? Laravel Syntax very Cool & Expressive? Install laravel framework on your localhost
Why choose Laravel? - Perhaps your question is the same as mine, there are already a lot of PHP framework in the world, ranging from the lightweight and easy to learn like CodeIgniter, which is too complex and the enterprise such as the Zend Framework, which can make prototype CRUD within seconds some sort of CakePHP, to more complex such as the Yii Framework.
With an ideology that is actually not different from other existing ones. If not performance is so fast, reliable is definitely the speed to development in which a wide range of standard requirements such as authentication, form validation, and queries to the database already provided out of the box.
Since 2012 th ago there is a framework can brings a new ideology that has been rarely observed, i.e. aspects of the "clean code" and "expressiveness". This framework claims "clean and classy", code is more concise, easy to understand, so just by skimming code written you can already guess what his point without the need to read the documentation. This framework is called LARAVEL.
So, what are the advantages of the Laravel Framework that make me have to use laravel framework for creating web applications, how about you?
the fourth parameter from first code mean to function as flagging, true for https and false for http.
Another example where the laravel have the simplicity is a matter of routing. For that is the Laravel of applying the principles of routing is very simple :
With an ideology that is actually not different from other existing ones. If not performance is so fast, reliable is definitely the speed to development in which a wide range of standard requirements such as authentication, form validation, and queries to the database already provided out of the box.
Since 2012 th ago there is a framework can brings a new ideology that has been rarely observed, i.e. aspects of the "clean code" and "expressiveness". This framework claims "clean and classy", code is more concise, easy to understand, so just by skimming code written you can already guess what his point without the need to read the documentation. This framework is called LARAVEL.
So, what are the advantages of the Laravel Framework that make me have to use laravel framework for creating web applications, how about you?
Laravel Syntax very Cool & Expressive
Try the following code, compare the two that have the same function, but with a different writing style :
// code 1, other PHP framework
$uri = Uri::create('some/uri', array(), array(), true)
// code 2, Laravel PHP Framework
$url = URL::to_secure('some/uri');
the fourth parameter from first code mean to function as flagging, true for https and false for http.
Another example where the laravel have the simplicity is a matter of routing. For that is the Laravel of applying the principles of routing is very simple :
// html output using a simple echo
Route::get('hello', function()
{
echo 'hello, I'm web Artisan;
});
// output using a separate view, such as those in MVC-based framework
Route::get('home', function()
{
return View::make('home.index');
});
COMMENTS