Home >Backend Development >PHP Tutorial >PHP uses CI framework to develop e-mall project resources (video, courseware source code) recommended

PHP uses CI framework to develop e-mall project resources (video, courseware source code) recommended

黄舟
黄舟Original
2017-12-04 11:40:413029browse

"PHP_CI Rapid Development of Electronic Mall Project Video Tutorial" mainly introduces ci, the full name of CodeIgniter, which is a small but powerful PHP framework. CI provides a rich set of standard libraries and simple interfaces and logical structures, based on oop and mvc. Its purpose is to enable developers to develop projects more quickly.

This set of ci video tutorials does not simply explain various knowledge points of ci, but adopts a project-driven approach to interpret ci. From simple mvc writing, the use of tool classes and auxiliary functions to ci execution process analysis, core class expansion, and flexible project structure planning, all are explained in detail. What's more important is that by developing e-malls, you can also learn database analysis and design, business logic analysis and processing, thereby accumulating project experience for yourself. While learning the CI framework, you can also accumulate project experience, killing two birds with one stone, wouldn't it be great!

PHP uses CI framework to develop e-mall project resources (video, courseware source code) recommended

Playing address of this course: http://www.php.cn/course/558.html

This video was created by the dark horse programmer Mr. Hao. The teacher’s teaching style:

The teacher’s lectures are proficient in teaching techniques and full of wit. Various teaching methods and techniques are readily available and can be used freely and just right. , without any trace of carving. The structure of the entire classroom teaching is like a designed program, with natural transitions, tight organization, reasonable matching, and orderly.

The most difficult thing in this video is probably the shopping cart:

Check the items in the shopping cart The operations generally include the following: adding products, deleting products, and submitting orders;

The essence of the method is: store the session in the array, add, delete, and modify the array. Each item in the array Group records are all information about a product (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 two dimensions include the product ID, the quantity of the product, etc. You can add it by yourself. Anyway, it is two-dimensional. 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.


Here we also recommend downloading source code resources: http://www.php.cn/xiazai/ learn/2049

The complete code is shared with you in the courseware:

1. Course Introduction

  1. Course Objectives

  2. Course Arrangement

  3. Learning Method

  4. CI Brief Introduction

  5. CI Quick Start

2. CI Quick Start

  1. Get and Installation

  2. Define your own controllers and views

  3. Several concepts that must be clear

3. MVC complete case

  1. Preparation work

  2. Complete adding news

  3. Complete reading news Take

The above is only part of the courseware. More content and source code can be downloaded and watched by yourself~

The above is the detailed content of PHP uses CI framework to develop e-mall project resources (video, courseware source code) recommended. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn