Product Management System
#PHP
1 Basic classes are in (vendor/ishop/core)
2 What to view product editing must be written in the "admin" request line.
3 #ReadBean, #ajaxupload, #ckieditor was used.4 class MainController : regenerates the data #pagination and according to this receives the amount of products
5 class ProductController : product data gallery, tables of modificators we connect what is enough.6 class CurrencyController when changing the currency asset which was placed in $_GET
7 class AppController We place in the currency properties for fast access and what would not do requests in the BD
The AdminController Class
8 class AppController we change the template, we upload the model, we receive $id from POST or GET requests depending on transferred parameters
9 class CurrencyController full value work with currency(index,edit,add,delete)
10 class MainController charges template, metadata
11 class ModificationController is a full-fledged work with modifications, as well as mod groups.(index, edit, add and delete)
12 class ProductController full-time work with the product (index,edit,add,delete) + available data mode.and the fashion group.Generation of HTML code for mode.• Models
1 class AppModel generation of unique pseudonym for the product
The ModelsAdmin
2 class ModAttr и class ModGroup indicate the names of the fields of the table which must be filled, as well as the rules of validation
3 class Product fields, rules + we select all possible variants change fields modification other methods work with gallery
The widgets
1class Currency we load the model, we take the currency with COOKIE if there is empty then we deliver the currency, according to the currency of the dollar
*Views
1 is generated according to the APP Rule.“/views/{$this->prefix}{$this->controller}/{$this->view}.php”;
Thank you for attention.The !
1 Basic classes are in (vendor/ishop/core)
2 What to view product editing must be written in the "admin" request line.
3 #ReadBean, #ajaxupload, #ckieditor was used.4 class MainController : regenerates the data #pagination and according to this receives the amount of products
5 class ProductController : product data gallery, tables of modificators we connect what is enough.6 class CurrencyController when changing the currency asset which was placed in $_GET
7 class AppController We place in the currency properties for fast access and what would not do requests in the BD
The AdminController Class
8 class AppController we change the template, we upload the model, we receive $id from POST or GET requests depending on transferred parameters
9 class CurrencyController full value work with currency(index,edit,add,delete)
10 class MainController charges template, metadata
11 class ModificationController is a full-fledged work with modifications, as well as mod groups.(index, edit, add and delete)
12 class ProductController full-time work with the product (index,edit,add,delete) + available data mode.and the fashion group.Generation of HTML code for mode.• Models
1 class AppModel generation of unique pseudonym for the product
The ModelsAdmin
2 class ModAttr и class ModGroup indicate the names of the fields of the table which must be filled, as well as the rules of validation
3 class Product fields, rules + we select all possible variants change fields modification other methods work with gallery
The widgets
1class Currency we load the model, we take the currency with COOKIE if there is empty then we deliver the currency, according to the currency of the dollar
*Views
1 is generated according to the APP Rule.“/views/{$this->prefix}{$this->controller}/{$this->view}.php”;
Thank you for attention.The !