Look forward to Laravel 5.0 has been a long time, before the jump ticket said to be released this January. Since January, has been refreshing the official website and blog, there is always no updated news, a few days ago finally saw the official
Objective
These days the author in using Laravel write a blog site, in the development process inevitably encountered some problems, this blog post is about some of the common skills of the summary
Body
1.laravel Login Registration page, you can
1. Connection query (join)
A join query refers to a query that associates two or more tables together to obtain data that matches rows from another table. Common connection queries include internal connections (equivalent connections), left (outer)
1. Introduction
Laravel Excel integrates phpexcel in the Phpoffice Suite in Laravel 5 to facilitate the import and export of excel/csv files with elegant, expressive code.
The GitHub address of the project is:
Laravel is the PHP Web development Framework (PHP Web framework). It frees you from messy code, it helps you build a perfect web app, and every line of code can be concise and expressive. So, how does the Laravel framework operate the database?
Use PhpArtisanTinker to debug Your Laravel.
Today, we will introduce an unfamiliar feature in Laravel to demonstrate how to debug data in the database quickly. By using Laravel artisan built-in php artisan tinker, we can easily view the data in
1. Origin and implementation of SessionHTTP is a stateless protocol. The request of the same client does not correspond to the previous request. That is to say, we cannot confirm on the server whether the two requests are performed by the same user.
Queries Builder (query Builder)
1. New data
You can insert one/more data by using the Insert method of the Query Builder:
Db::table (' users ')->insert ([
[' ID ' =>1, ' name ' => ' laravel ', ' email ' => ' laravel@test.com ', ' password ' => '
1. Currently I use the Laravel 5.2.36 version of the Web middleware to become the global middleware (do not know from 5.2.26 above the change or how, did not drill down), that is, the previous version of the route in the default will have a
This blog requires you to have a Laravel foundation, laravel Portal: http://blog.csdn.net/zls986992484/article/details/52755037
Laravel provides 3 Operational database modes: DB façade (original), query Builder, and eloquent ORM.
Database
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.