Laravel framework for understanding and knowledge (taken from Baidu)

Laravel framework for understanding
the advantages
1.laravel is to create the framework for PHP WEB artists, it is also php engineering trend.
2. community very well, are relatively are high quality posts.
3. Based composer build rich expansion pack.
4.github star ranked first in the classification php

For this performance it? We can think about, do php function java, .net, c ++ even be able to do it, then why do we have to use php development, php development not because of more efficient thing.
A good framework not only can not be seen from the performance, but also from the robust development efficiency and code maintenance point of view. laravel which really adds a lot of useful features, under the premise of sacrifice was operating efficiency, but efficiency of our development projects have to improve a lot, all kinds of packages composer more perfect. Easy maintenance project is also true. Once a time and you will find laravel development efficiency absolutely crush other languages or frameworks.
laravel difficult to get started this is yes, laravel using php relatively new properties, closures, etc., IOC containers, middleware, event notification integrated front-end modules and so on. In most of these students are new to php knowledge, they also will not be involved, it will feel difficult to get started, but you want to improve the level of writing code, it is recommended to study under laravel, their programming will have some help.

The modular and scalable
Laravel focus on modularity and scalability of the code. It can contain more than 5500 packages Packalyst directory to find any files you want to add. Laravel goal is to be able to find any file you want

Micro-services and programming interfaces
Lumen laravel is derived from a focus on the micro streamlined frame. It is a high-performance programming interface that allows easier and faster development of micro-projects. Lumen use minimal configuration incorporates all the important features of laravel, you can copy the code to the project laravel way to complete framework migrated

HTTP path
Laravel have like Ruby on Rails, fast, and efficient routing system. It allows users to enter by way of the path in the browser so that the application of the various parts associated

HTTP middleware
application may be protected middleware - Middleware handles HTTP requests on the server and filter analysis. You can install middleware, used to authenticate registered users and to avoid problems such as cross-site scripting (XSS) or other safety conditions.

Cache
application to obtain a robust caching system, through its adjustment, allows the application to load more quickly, which can provide the best experience to the user

Authentication
security is essential. Laravel comes on as a local user authentication, and can use the "remember" option to remember the user. It also allows some additional parameters such as, for example, whether to display active users

The kind of integrated
Laravel Cashier meet all the needs you want to develop payment systems needs. In addition, it synchronizes and integrates user authentication system. So, no longer need to worry about how the billing system which is integrated into the development.

Task Automation
Elixir is to allow us to use a definition of the task Laravel Gulp program interface, we can use Elixir defined CSS and JavaScript can streamline the pre-processor.

Encryption
a secure application should do the data can be encrypted. Use Laravel, you can enable the security OpenSSL encryption algorithm AES-256-CBC to meet all your needs. Further, all the values are encrypted by the detecting whether encryption information is changed codes signed.

Event handler
defined application events, recording and listening very quickly. List EventServiceProvider events listen all events recorded on your application

Paging
in Laravel the page is very easy because it can generate a series of links to the current page according to the user's browser.

Object relational graph (the ORM)
Laravel processing layer comprising a database, which is called the object graph Eloquent. Also this object graph also applies to PostgreSQL.

Unit test
development unit testing is a lot of time-consuming task, but it is key to ensure the normal operation of the application remains. Laravel PHPUnit execution unit may be used in the test.

Do list
Laravel provides use-do list (to do list) complex, lengthy selection process in the background. It allows asynchronous processing of certain procedures without the need for continuous navigation users

Understand,

Laravel is a simple, elegant PHP Web development framework (PHP Web Framework). It allows you as messy spaghetti code from freed; it can help you build a perfect network APP, and each line of code can be simple and expressive force.
In Laravel already have a set of advanced PHP ActiveRecord achieve - Eloquent ORM. It can easily be "constraints (constraints)" apply to the relationship between the two sides, so you have full control of the data, and to enjoy all the conveniences of ActiveRecord. Eloquent native support all methods Fluent in query builder (query-builder) is.
 
Use laravel framework will develop more compact, efficient and convenient, scholarship dredging shallow, difficult complete description

Guess you like

Origin www.cnblogs.com/Rawan/p/12019881.html