Shopnc secondary development (1) and shopnc secondary development (. Shopnc secondary development (1), shopnc secondary development (--- restore content start-I have never touched shopnc before, and I feel that the interface is quite beautiful, however, later I needed to develop a secondary development of shopnc in the e-commerce department (I) and shopnc secondary development (
--- Restore content start ---
I have never been familiar with shopnc before, and I feel that the interface is quite beautiful. but I need to develop an e-commerce system myself later. By the way, I feel that the architecture is messy. However, the secondary development of this system usually involves a lot of businesses, so let's simply summarize it.
Shopnc has three products: b2b2c, C2C, and o2o. it uses the same mvc framework and the same development specifications. Therefore, it understands one of them and the other two products.
Shopnc uses the self-developed mvc framework. after a rough look, it is relatively simple.
Start with the file structure
├ ── Admin
│ ├ ── Config
│ ├ ── Control
│ ├ ── Framework
│ ─-Libraries
│ Define-include
│ ├ ── Language
│ ├ ── Zh
│ Sampled-zh_cn
│ Templates
│ ─ ── Default
│ ├ ── Css
│ ─-Font
│ Sampled-font-awesome
│ ├ ── Css
│ ─-Font
│ ─ ── Images
│ ─-Login
│ ─ ── Mac
│ ├-Member
│ └ ── Sky
│ └ ── Layout
WeChat-chat
│ ├ ── Config
│ ├ ── Control
│ ├ ── Language
│ Sampled-zh_cn
│ Resource─ resource
│ ─ ── Js
│ Templates
│ ─ ── Default
│ ├ ── Css
│ ─ ── Images
Cycle-circle
│ ├ ── Config
│ ├ ── Control
│ ├ ── Framework
│ ├ ── Function
│ ─-Libraries
│ ├ ── Language
│ ├ ── Zh
│ Sampled-zh_cn
│ ├ ── Model
│ Resource─ resource
│ ─ ── Js
│ ─ ── Miniditor
│ Templates
│ ─ ── Default
│ ├ ── Css
│ ─ ── Images
│ Sampled-member-card
│ Sampled-component icon
│ ─ ── Smilier
│ └ ── Layout
├ ── Cms
│ ├ ── Config
│ ├ ── Control
│ ├ ── Framework
│ ├ ── Function
│ ─-Libraries
│ ├ ── Language
│ Sampled-zh_cn
│ ├ ── Model
│ Resource─ resource
│ ─ ── Js
│ Templates
│ ─ ── Default
│ ├ ── Css
│ ─ ── Images
│ ─ ── Attitude
│ ─ ── Dialog
│ Sampled-component icon
│ └ ── Layout
Javas── core
│ ├ ── Framework
│ ─ ── Cache
│ Sampled-core
│ Sampled-db
│ ├ ── Function
│ ─-Libraries
│ └ ── Language
├ ── Data
│ ─-Api
│ ─ ── Snsapi
│ ─ ── Qqweibo O
│ ─-Qqzone
│ Mongo── comm
│ ├ ── Oauth
│ Sampled-share
│ └ ── User
│ └ ── Sinaweibo O
│ ─ ── Taobao
│ Processing-request
│ └ ── Xs
│ ─ ── App
│ ─ ── Lib
│ └ ── Util
│ Sampled-skel
│ ├ ── Css
│ Sampled-img
│ Sampled-area
│ ─ ── Cache
│ Sampled-adv
│ Sampled-fields
│ ─ ── Index
│ ├ ── Rec_position
│ Sampled-tpl
│ ├ ── Config
│ ─ ── Crontab
│ Sampled-include
│ Mongo── log
│ ├ ── Model
│ Resource─ resource
│ ─ ── Examples
│ ─-Font
│ ─ ── Highcharts
│ ─ ── Js
│ ─ ── Ajaxfileupload
│ Sampled-cms
│ Sampled-colorpicker
│ ─ ── Dialog
│ Sampled-images
│ Sampled-fileupload
│ ─ ── Jw.usel
│ Sampled-skins
│ ── Ie7
│ ── Personal
│ ─ ── Tango
│ ─-Jquery-ui
│ Sampled-i18n
│ ── Themes
│ ─ ── Smoothness
│ Sampled-images
│ └ ── Ui-lightness
│ Sampled-images
│ ─ ── Jquery-ui-timepicker-addon
│ ─ ── Jquery. imgareaselect
│ ─-Jquery. Jcrop
│ ─ ── Jquery. nyroModal
│ Sampled-img
│ ─ ── Styles
│ ─ ── Jquery. raty
│ Sampled-img
│ Map ── map
│ ─ ── Qtip
│ ├ ── Slidesjs
│ ── Smilies
│ Sampled-images
│ ─ ── Kindeditor
│ ─ ── Attached
│ Sampled-lang
│ ─ ── Php
│ ─ ── Plugins
│ ─ ── Anchor
│ ─ ── Autoheight
│ Bai── baidumap
│ ├-Clearhtml
│ Sampled-code
│ ├-Emoticons
│ Sampled-images
│ Sampled-filemanager
│ Sampled-images
│ ─ ── Flash
│ Sampled-image
│ Sampled-images
│ ├ ── Insertfile
│ ─ ── Lineheight
│ Sampled-link
│ ├ ── Map
│ Bai── media
│ Sampled-multiimage
│ Sampled-images
│ ├ ── Pagebreak
│ ├ ── Plainpaste
│ Preview-preview
│ ├-Quickformat
│ Sampled-table
│ Sampled-template
│ ─ ── Html
│ └ ── Wordpaste
│ Sampled-themes
│ Sampled-common
│ ─ ── Default
│ Bai-qq
│ Simple-simple
│ ─ ── Phpqrcode
│ ─ ── Bindings
│ ─ ── Tcpdf
│ ─ ── Cache
│ Sampled-mask_0
│ ├ ── Mask_1
│ Sampled-mask_2
│ Sampled-mask_3
│ Sampled-mask_4
│ Sampled-mask_5
│ Sampled-mask_6
│ Sampled-mask_7
│ Sampled-temp
│ ─ ── Tools
│ Sampled-seccode
│ ├-Font
│ Sampled-ch
│ ─ ── En
│ ─ ── Gif
│ └ ── ShopNC
│ ─ ── Web_config
│ ├ ── Session
│ ─ ── Smilies
│ ─ ── Upload
│ ├ ── Circle
│ Sampled-group
│ ─ ── Cms
│ ├ ── Article
│ ─ ── Index_html
│ ─ ── Microshop
│ Sampled-shop
│ ├ ── Activity
│ ─ ── Adv
│ ├ ── Article
│ ├ ── Auth
│ ─ ── Avatar
│ ├ ── Brand
│ ─ ── Common
│ ├ ── Complain
│ ├ ── Editor
│ Bai── groupbuy
│ Sampled-1
│ ├ ── Inform
│ ─-Login
│ ├ ── Member
│ ├ ── Membertag
│ ─ ── Mobile
│ Sampled-ad
│ Sampled-category
│ ├ ── Pointprod
│ ├ ── Rec_position
│ Mongo── store
│ Sampled-1
│ Sampled-2
│ Sampled-goods
│ Sampled-1
│ Sampled-2
│ Sampled-slide
│ ‑Store_joinin
│ ─ ── Voucher
│ Watermark
├ ── Microshop
│ ├ ── Config
│ ├ ── Control
│ ├ ── Framework
│ ├ ── Function
│ ─-Libraries
│ ├ ── Language
│ Sampled-zh_cn
│ ├ ── Model
│ Resource─ resource
│ ─ ── Js
│ Sampled-fileupload
│ ─ ── Jw.usel
│ └ ── Skins
│ ── Personal
│ ── Smilies
│ Sampled-images
│ Templates
│ ─ ── Default
│ ├ ── Css
│ ─ ── Images
│ ─ ── Dialog
│ ├ ── Ie6
│ Sampled-index-temp
│ Sampled-member-card
│ Sampled-component icon
│ └ ── Layout
├ ── Mobile
│ ─-Api
│ Payment-payment
│ ─ ── Alipay
│ Sampled-images
│ ├ ── Key
│ ─ ── Lib
│ ├ ── Config
│ ├ ── Control
│ ├ ── Framework
│ └ ── Function
│ ├ ── Language
│ Sampled-zh_cn
│ ├ ── Model
│ ‑Readme
│ ├ ── Api_files
│ ─-SQL
│ Templates
│ ─ ── Default
│ └ ── Layout
Shop-shop
│ ─-Api
│ Payment-payment
│ ── Alipay
│ ─ ── Chinabank
│ ─ ── Tenpay
│ Classes-classes
│ Bai── qq
│ Mongo── comm
│ ├ ── Oauth
│ └ ── User
│ ─ ── Sina
│ ├ ── Config
│ ├ ── Control
│ ├ ── Framework
│ ├ ── Function
│ ─-Libraries
│ ├ ── Install
│ ├ ── Css
│ Sampled-data
│ Sampled-images
│ Sampled-include
│ ├ ── Language
│ ├ ── Zh
│ Sampled-zh_cn
│ Resource─ resource
│ ─-Font
│ Sampled-font-awesome
│ ├ ── Css
│ └-Font
│ ─ ── Js
│ Templates
│ ─ ── Default
│ ├-Buy
│ ├ ── Css
│ ├ ── Home
│ ─ ── Images
│ Sampled-buy
│ ├ ── Ie6
│ ├-Member
│ Sampled-component icon
│ Sampled-member-card
│ Payment-payment
│ ├ ── Seller
│ ─-Login
│ Sampled-shop
│ Bai── sns
│ ── Store_joinin
│ ── Treetable
│ ├ ── Layout
│ ├ ── Member
│ ├ ── Seller
│ Bai── sns
│ ─ ── Style
│ Sampled-skin01
│ Sampled-skin02
│ Sampled-skin03
│ Sampled-skin04
│ Sampled-skin05
│ Sampled-skin06
│ Mongo── store
│ └ ── Style
│ ─ ── Default
│ Sampled-images
│ ─ ── Style1
│ Sampled-images
│ ─ ── Style2
│ Sampled-images
│ ─ ── Style3
│ Sampled-images
│ ─ ── Style4
│ Sampled-images
│ ─ ── Style5
│ ─ ── Images
└ ── Wap
├ ── Bug
├ ── Css
├ ── Html
│ ─ ── Web
│ ├ ── Css
│ ─ ── Images
│ ─ ── Js
│ └ ── Tmpl
│ ├ ── Tmpl
│ ├-Member
│ Sampled-order
│ ─ ── Upload
├ ── Images
─ ── Js
│ └ ── Tmpl
├ ── Tmpl
│ ├ ── Member
│ └ ── Order
└ ── Upload
The folder functions are as follows:
Admin background
Chat Online im
Circle
Cms article system
Core public files
Data storage
Microshop micro mall
Mobile app server
Shop front-end
Wap
First look at the front-end. the front-end logic and templates are all in the shop directory. the index. php in the web Directory will automatically switch to the shop directory.
The directory file function of shop is as follows:
External api call
Config configuration file
Control controller (business logic)
Framework
Install installation file
Language multi-language configuration file directory
Resource material
Templates Template directory
M in the mvc framework is in data/model in the parent directory, v is in the current directory templates, and c is the control folder.
After understanding the meaning of the folder, it is easier to modify the corresponding logic.
Summary (1), shopnc secondary development (--- restore content start --- I have never touched shopnc before, and I feel that the interface is quite beautiful, but I need to develop an e-commerce series myself...