SHOPNC two times Development (i), shopnc two times development (
---restore content starts---
Before how to contact SHOPNC, feel the interface is very beautiful, but then I need to develop an e-commerce system, on the way to reference the next, feel the structure of garbage mess. But usually do this system two times the development of business more, so simple summary under.
SHOPNC has three products, b2b2c,c2c and the same MVC framework and the same development specifications, so we know one of them, and the other two products are understandable.
SHOPNC's own developed MVC framework, with a cursory look, is relatively simple.
Start with the file structure.
├─admin
│├─config
│├─control
│├─framework
││└─libraries
│├─include
│├─language
││├─zh
││└─zh_cn
│└─templates
│└─default
│├─css
││└─font
││└─font-awesome
││├─css
││└─font
│├─images
││├─login
││├─mac
││├─member
││└─sky
│└─layout
├─chat
│├─config
│├─control
│├─language
││└─zh_cn
│├─resource
││└─js
│└─templates
│└─default
│├─css
│└─images
├─circle
│├─config
│├─control
│├─framework
││├─function
││└─libraries
│├─language
││├─zh
││└─zh_cn
│├─model
│├─resource
││└─js
││└─miniditor
│└─templates
│└─default
│├─css
│├─images
││├─member-card
││├─shareicon
││└─smilier
│└─layout
├─cms
│├─config
│├─control
│├─framework
││├─function
││└─libraries
│├─language
││└─zh_cn
│├─model
│├─resource
││└─js
│└─templates
│└─default
│├─css
│├─images
││├─attitude
││├─dialog
││└─shareicon
│└─layout
├─core
│├─framework
││├─cache
││├─core
││├─db
││├─function
││└─libraries
│└─language
├─data
│├─api
││├─snsapi
│││├─qqweibo
│││├─qqzone
││││├─comm
││││├─oauth
││││├─share
││││└─user
│││└─sinaweibo
││├─taobao
│││└─request
││└─xs
││├─app
││├─lib
││└─util
││└─skel
││├─css
││└─img
│├─area
│├─cache
││├─adv
││├─fields
││├─index
││├─rec_position
││└─tpl
│├─config
│├─crontab
││└─include
│├─log
│├─model
│├─resource
││├─examples
││├─font
││├─highcharts
││├─js
│││├─ajaxfileupload
│││├─cms
│││├─colorpicker
│││├─dialog
││││└─images
│││├─fileupload
│││├─jcarousel
││││└─skins
││││├─ie7
││││├─personal
││││└─tango
│││├─jquery-ui
││││├─i18n
││││└─themes
││││├─smoothness
│││││└─images
││││└─ui-lightness
││││└─images
│││├─jquery-ui-timepicker-addon
│││├─jquery.imgareaselect
│││├─jquery. Jcrop
│││├─jquery.nyromodal
││││├─img
││││└─styles
│││├─jquery.raty
││││└─img
│││├─map
│││├─qtip
│││├─slidesjs
│││└─smilies
│││└─images
││├─kindeditor
│││├─attached
│││├─lang
│││├─php
│││├─plugins
││││├─anchor
││││├─autoheight
││││├─baidumap
││││├─clearhtml
││││├─code
││││├─emoticons
│││││└─images
││││├─filemanager
│││││└─images
││││├─flash
││││├─image
│││││└─images
││││├─insertfile
││││├─lineheight
││││├─link
││││├─map
││││├─media
││││├─multiimage
│││││└─images
││││├─pagebreak
││││├─plainpaste
││││├─preview
││││├─quickformat
││││├─table
││││├─template
│││││└─html
││││└─wordpaste
│││└─themes
│││├─common
│││├─default
│││├─qq
│││└─simple
││├─phpqrcode
│││├─bindings
││││└─tcpdf
│││├─cache
││││├─mask_0
││││├─mask_1
││││├─mask_2
││││├─mask_3
││││├─mask_4
││││├─mask_5
││││├─mask_6
││││└─mask_7
│││├─temp
│││└─tools
││├─seccode
│││├─font
││││├─ch
││││└─en
│││└─gif
│││└─shopnc
││└─web_config
│├─session
│├─smilies
│└─upload
│├─circle
││└─group
│├─cms
││├─article
││└─index_html
│├─microshop
│└─shop
│├─activity
│├─adv
│├─article
│├─auth
│├─avatar
│├─brand
│├─common
│├─complain
│├─editor
│├─groupbuy
││└─1
│├─inform
│├─login
│├─member
│├─membertag
│├─mobile
││├─ad
││└─category
│├─pointprod
│├─rec_position
│├─store
││├─1
││├─2
││├─goods
│││├─1
│││└─2
││└─slide
│├─store_joinin
│├─voucher
│└─watermark
├─microshop
│├─config
│├─control
│├─framework
││├─function
││└─libraries
│├─language
││└─zh_cn
│├─model
│├─resource
││└─js
││├─fileupload
││├─jcarousel
│││└─skins
│││└─personal
││└─smilies
││└─images
│└─templates
│└─default
│├─css
│├─images
││├─dialog
││├─ie6
││├─index-temp
││├─member-card
││└─shareicon
│└─layout
├─mobile
│├─api
││└─payment
││└─alipay
││├─images
││├─key
││└─lib
│├─config
│├─control
│├─framework
││└─function
│├─language
││└─zh_cn
│├─model
│├─readme
││├─api_files
││└─sql
│└─templates
│└─default
│└─layout
├─shop
│├─api
││├─payment
│││├─alipay
│││├─chinabank
│││└─tenpay
│││└─classes
││├─qq
│││├─comm
│││├─oauth
│││└─user
││└─sina
│├─config
│├─control
│├─framework
││├─function
││└─libraries
│├─install
││├─css
││├─data
││├─images
││└─include
│├─language
││├─zh
││└─zh_cn
│├─resource
││├─font
│││└─font-awesome
│││├─css
│││└─font
││└─js
│└─templates
│└─default
│├─buy
│├─css
│├─home
│├─images
││├─buy
││├─ie6
││├─member
│││└─shareicon
││├─member-card
││├─payment
││├─seller
│││└─login
││├─shop
││├─sns
││├─store_joinin
││└─treetable
│├─layout
│├─member
│├─seller
│├─sns
││└─style
││├─skin01
││├─skin02
││├─skin03
││├─skin04
││├─skin05
││└─skin06
│└─store
│└─style
│├─default
││└─images
│├─style1
││└─images
│├─style2
││└─images
│├─style3
││└─images
│├─style4
││└─images
│└─style5
│└─images
└─wap
├─bug
├─css
├─html
│└─web
│├─css
│├─images
│├─js
││└─tmpl
│├─tmpl
││├─member
││└─order
│└─upload
├─images
├─js
│└─tmpl
├─tmpl
│├─member
│└─order
└─upload
Folder features are as follows
Admin background
Chat online IM
Circle Circles
CMS CMS article system
Core Public files
Data storage
Microshop Micro Mall
Mobile mobile App Server
Shop Front Desk
WAP WAP End
First look at the front desk, the front desk logic and templates are in the shop directory, the web directory index.php will automatically turn to the shop directory
Shop's catalog file features are as follows:
API External API call
Config configuration file
Control controller (business logic)
Framework Framework
Install installation files
Language multi-language configuration file directory
Resource Material
Templates Template Catalog
M in the MVC framework is data/model in the parent directory, V is in the current directory templates, and C is the control folder
Understand the folder meaning, modify the corresponding logic is relatively simple
http://www.bkjia.com/PHPjc/967696.html www.bkjia.com true http://www.bkjia.com/PHPjc/967696.html techarticle SHOPNC two times Development (i), shopnc two times development (---restore content started---didn't have much contact with SHOPNC before, the feeling interface is very beautiful, but then I need to develop an e-commerce Department ...