Ecshop secondary development

Original link: http://www.cnblogs.com/ecshopdevelop/p/10175368.html

EcShop secondary development of learning

In recent years, with the development of the Internet, e-commerce also followed grow together, B2B, C2C, B2C e-commerce model also continue to mature. Then she gave birth to a large number of PHP open source e-commerce related products. B2C aspects have Ecshop, Zencart, Magento and other well-known products.

Here we briefly explain the process of learning something Ecshop secondary development and should be noted:

Ecshop secondary development necessary foundation:

· Familiar with HTML

· Familiar DIV + CSS layout

· PHP solid foundation, familiar with structured programming, understanding of OOP, and able to read and use

Familiar with Smarty template engine

Familiar with MYSQL, SQL language to master

Ecshop secondary development of the learning process

· Familiar with the basic concepts of e-commerce

· EcShop familiar with the basic functions of using (product type, product classification, product attributes set, use the promotional activities, etc.)

· Ecshop master database architecture and database design

· Familiar with the ER model, build relationships with entities

After the familiar role of each table, to understand the meaning of a few core design and field table, easy to get the new demand, you can quickly determine whether the added fields, or create a new table to deal with. But also to understand database design Ecshop of the useful design ideas added to your system

· File structure analysis and code analysis

Familiar with some of the landing, registration, document management, access control, category management, product type and some other commonly used process control. Several core files were dissected to understand the programming techniques and security mechanisms

· Ecshop file structure analysis:

\ Includes \ cls_captcha.php: the captcha class

\ Includes \ cls_ecshop.php: Foundation Classes

\ Includes \ cls_ecshop.php (56): cryptographic methods;

\includes\cls_rss.php: RSS 类

\ Includes \ cls_smtp.php: SMTP Mail Class

\ Includes \ inc_constant.php: Constant

\ Includes \ init.php: Reception Common Files

\ Includes \ lib_common.php: Public Library

\ Includes \ lib_goodscat.php: reception Public Library

\ Includes \ lib_insert.php: dynamic content library

\ Includes \ lib_main.php: reception Public Library

\ Includes \ lib_payment.php: payment interface library

\ Includes \ iconv \ cls_iconv.php: character set conversion classes

\ Includes \ ip \ cls_ip.php: IP attribution to inquiries class

\ Includes \ modules \ integrates \ discuz.php: Member Data processing class

\ Includes \ modules \ integrates \ ecshop.php: Member Data processing class

Ecshop template replacement

Smarty familiar with the use of Lite embedded own interface, with EcShop template change skills

Ecshop examples of secondary development

English switching function, function spike, making Jingdong Mall templates, etc.

Learning objectives:

1, will be used for secondary development Ecshop

2, will change the template and modify some of the common features

3, to learn development experience inside

Master the basics - "imitate some of the wording inside -" to modify the inside of the pattern (form their own development model)

Inside the master Ecshop systems design skills and programming skills

Reproduced in: https: //www.cnblogs.com/ecshopdevelop/p/10175368.html

Guess you like

Origin blog.csdn.net/weixin_30438813/article/details/94809360