THINKPHP5 Onebase directory structure

Source: Internet
Author: User
Tags php database php framework traits

Directory structure
Project Application Deployment Directory ├─addon plug-in directory │├─editor plug-in │                       │├─controller plug-in controller directory ││├─data plug-in data such as an on-load script directory ││├─logic Plug-in logical directory ││├─static plug-in static resource directory ││├─view plug-in view directory ││└─editor. PHP Plugin class file │├─ ... More Plugins │└─addoninterface. PHP plug-in interface file ├─app application directory │├─common Common module directory ││├─behavior System Behavior Directory │││├─appbegin. PHP Application Start Behavior │││├─append. PHP Application End Behavior │││├─initbase. PHP Application Initialization basic information behavior │││└─inithook. PHP Application Initialize hooks and plugins behavior ││├─controller system common Controller directory │││├─addonbase. PHP Plugin controller base class │││└─controllerbase. PHP System General Controller base class ││├─logic system common Logical Directory ││├─model system common Model directory ││├─validate system common authentication Directory ││├─service system public service catalog │││├─pay payment service directory │││ ├─storage Cloud storage Services Directory │││├─baseinterface. PHP Service Interface │││├─servicebase. PHP Service Base class │││├─pay. PHP Payment service class │││├─storage. PHP Cloud storage service class │││└─ ... More services ││└─view System common view directory │├─API API Module directory ││├─controller API interface Controller directory ││├─error API error code directory ││├─logic API business logic directory ││└─ ... More directories │├─admin Background Module directory │├─index front-end Module Directory │├─install installation module catalog │├─command. PHP command line tool configuration file │├─common. PHP application Public (function) file │├─config. PHP Application (Public) configuration file │├─database. PHP Database Configuration file │├─tags. PHP application Behavior Extension definition file │├─route. PHP routing configuration file │└─ ... More modules and files ├─data database backup directory ├─extend extension class library directory ├─tool Tools catalog ├─public WEB Deployment directory (external access directory) │├─static static resource storage directory (Css,js,image) │├─upload System file Upload storage directory │├─index. PHP application Front-end Portal file │├─api. PHP Application API Interface Portal File │├─admin. PHP Application Background Portal file │└─. htaccess Runtime directory (writable, configurable) for Apache rewrite ├─runtime applications ├─vendor third-party Class library directory (Composer) ├─thinkphp Framework System catalog │├─lang Language Pack directory │├─library Framework Core Class Library Directory ││├─think think class Library package directory ││└─traits system traits directory │├─TPL system template directory │├─. Travis.yml CI definition file │├─base.php base definition file │├─composer< Span class= "Hljs-selector-class" >.json composer definition file │├─console.php Console entry file │ ├─convention.php custom configuration file │├─helper.php Assistant function file (optional) │├─license.txt authorization description file │├─phpunit.md README file │└─start.php auto-Generate definition file (reference) ├─composer . JSON composer definition file ├─license.txt authorization description file ├─readme .md README file └─think command line portal File 
This article from: http://www.onebase.org/ thinkphp5< /strong>

THINKPHP5 onebase directory structure

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.