ویرگول
ورودثبت نام
علیرضا نصرالله زاده
علیرضا نصرالله زاده
خواندن ۴ دقیقه·۳ سال پیش

?Why Laravel

1. MVC Support and Object-Oriented Approach

The first and best advantage of using the Laravel framework is that it follows - Model, View, and Controller-based architectural pattern and it has an expressive beautiful syntax which makes it object-oriented.

2. Built-In Authentication and Authorization

Laravel provides an out-of-the-box configuration for the Authentication and Authorization system. That is, in just a few artisan commands your application will be equipped with secure Authentication and Authorization.

3. Packaging System

A packaging system deals with the multiple support software or libraries that help the web application to automate the process. Laravel uses a composer as a dependency manager, which manages all the information needed to manage packages. Packages are a great way to accelerate development is to provide the functionality we need out of the box. Image, Laravel Debug bar and Laravel IDE helper are some of the best Laravel packages.

4.Multiple File System

Laravel also has a built-in support for the cloud storage system such as Amazon S3 and Rack space Cloud Storage and of course for local storage. It's amazingly simple to switch between these storage options as the API remains the same for each system. One can use all three systems in one application to serve files from multiple locations like in a distributed environment.

5. Artisan Console

Laravel has its own command line interface called as Artisan. Common uses of Artisan include publishing package assets, managing database migrations, seeding and generating boilerplate code for new controllers, models, and migrations. This feature frees the developer from creating proper code skeletons. One can extend the functionality and capabilities of Artisan by implementing new custom commands.

6. Eloquent ORM

The Eloquent ORM is Laravel's built-in ORM implementation. Laravel has the best Object-relational Mapper as compared to the other frameworks out there. This Object-relational mapping allows you to interact with your database objects and database relationships using expressive syntax.

7. Templating engine

Laravel comes with the inbuilt template engine known as Blade Template Engine. Blade templating engine combines one or more templates with a data model to produce resulting views, doing that by transpiring the templates into cached PHP code for improved performance. Blade also provides a set of its own control structures such as conditional statements and loops, which are internally mapped to their PHP counterparts.

8.Task Scheduling

Scheduler, introduced in Laravel 5.0, is an addition to the Artisan command-line utility that allows programmatic scheduling of periodically executed tasks. Internally, scheduler relies on the cron daemon to run a single Artisan job that, in turn, executes the configured tasks.

9. Events and Broadcasting

Laravel has a concept named broadcasting which is useful in the modern web application to implement real-time data, showing live feeds,etc. Broadcasting allows you to share same event name between your server-side and client-side, so you will able to pull real-time data from the application.

10. Testing

When it comes to the testing of the application Laravel by default provides the unit test for the application, which itself contains tests that detect and prevent regressions in the framework. Integration of PHP unit such as a testing framework is very easy in Laravel application. In addition to that unit tests can be run through the provided artisan command-line utility.

Apart from these features, Laravel also has official packages that come handy when integrating different features in the application.

Official Packages

1. Cashier introduced in Laravel 4.2, it contains interfaces for managing subscription billing services provided by Stripe, such as handling coupons and generating invoices.

2. Socialite introduced in Laravel 5.0, it provides a simplified authentication mechanism for different social sites including Google, Facebook, GitHub, Twitter, and Bitbucket. So, your application can effectively implement these socialite logins in the minimum time.Envoy gives you an opportunity to automate the common tasks using minimal syntax. It uses the Blade template like syntax to easily setup tasks for deployment, Artisans commands and many more.

3. Horizon is used to monitor the queue of your system as it provides the beautiful dashboard and code driven configuration. The main purpose of Horizon is to monitor Job Output, the time required to execute the job and to track the job failures.

4. Passport is used for authentication of use via API using OAuth server AS API does not maintain the HTTP session. API typically uses the token to authenticate the user and Laravel passport provides the full OAuth server implementation for web application in a couple of minutes.

5. Scout is out of box package provided by Laravel for full-text search using the Eloquent models. Angola is the default driver used for full-text search and it provides the fantastic service, also you can choose another driver as a custom driver as it’s simple and can extend the searching functionality.

All these out-of-the-box features of the Laravel framework are most suitable for all kinds of web application development -  ranging from small to enterprise level. It also provides lots of built-in functionalities that allow developers to work with ease.  Moreover, the official packages provided by Laravel are a cherry on top of the cake.


وب سایت شخصی من https://alirezanasrollahzadeh.ir

alireza nasrollahzadehعلیرضا نصراله زادهعلیرضا نصرالله زادهلاراولچرا لاراول
علیرضا نصراله زاده برنامه نویس ارشد اندروید رتبه 1 مسابقات کشوری برنامه نویسی اندروید بیش از 6 سال تجربه در تحلیل و توسعه نرم افزار های اندروید https://alirezanasrollahzadeh.ir
شاید از این پست‌ها خوشتان بیاید