As an emerging PHP development framework, Laravel has quickly become popular abroad due to its elegant language and pursuit of achieving more functions with the least code. Currently, most of the domestic Laravel teaching videos just repeat the examples in the document. It is rare to teach you how to use Laravel in actual development. Today I will introduce to you the "Laravel5 Practical Development Online Book Mall Project Video Tutorial", which mainly introduces how to use Laravel5 to develop a complete book mall project. Friends who have just mastered Laravel5 can learn from it. This video can take it a step further!
Course playback address: //m.sbmmt.com/course/608.html
This video was created by Magina Lecturer of Wheat College. The teacher’s teaching style:
is proficient in teaching techniques and full of wit. Various teaching methods and techniques are readily available and can be used freely. It is just right, without any trace of carving. When explaining, analyzing, and demonstrating, the thinking is clear; when asking questions, discussing, and practicing, it is based on the actual situation of the students and takes into account the students' psychological characteristics and acceptance ability.
When we are all learning to develop a shopping mall, the most difficult thing in this video should be the shopping cart:
The operations on the items in the shopping cart are generally as follows Several: add products, delete products, and submit orders;
The essence of the method is: store the session in the array, add, delete, and modify the array. Each set of records in the array is a product information (number, price, etc.);
The idea of solving the shopping cart is to use session to record a two-dimensional array. One dimension represents each product, and the two dimensions include the product ID, the quantity of the product, etc. You can add it by yourself. Anyway, it is two dimensions. You can add as many product attributes as you want.
The operation process of the shopping cart: First, log in to the website to browse the products; then, purchase the specified products and enter the shopping cart page. On this page, you can change the quantity of the products, delete the products, clear the shopping cart, Continue shopping and so on; finally, generate orders, submit orders and other operations.
Then we not only provide video tutorials, but also provide resource courseware source code downloads for friends: //m.sbmmt.com/xiazai/code/2043
This courseware provides you with the entire idea of how to use Laravel5 to develop a book mall:
Project preparation and front-end construction
2. The entire process of login registration (interface, SMS, interface and validation, POST-CSRF, email sending, routing group)
3. Book details and shopping cart (this is Key points)
4. Order submission and payment functions
5.Backend and publishing
You can download the courseware, which contains the source code. You can take a look at the source code. ~
The above is the detailed content of Practical video and resource sharing of Laravel5 development book mall project. For more information, please follow other related articles on the PHP Chinese website!