Project deployment of the WindFramework framework-PHP development

Source: Internet
Author: User
Tags php database php error php form
Since version 9.0, windphp has abandoned the old architecture that has been in use for several years and adopted the new WindFramework framework. What is WindFramework? Windframework is a lightweight open-source php framework. With the component factory as the core, it provides application technologies such as MVC, data persistence, and view template engine. In addition, windframework adopts a componentized development mode. Although the current component library is not rich and robust, based on this development mode, the component's windphp expansion has started since version 9.0, instead of the old architecture that has been in use for several years, the new WindFramework framework is adopted. What is WindFramework?


WindFrameworkIs a lightweight php open source framework. With the component factory as the core, it provides application technologies such as MVC, data persistence, and view template engine. In addition, windframework adopts a componentized development mode. Although the current component library is not rich and robust, this development mode makes component expansion very easy. Windframework has a strong kernel that implements configuration-based Ioc control inversion technology. Developers only need simple configuration to implement class dependency injection, fully implementing loose coupling between classes.
The upgraded windphp9.0 is more powerful. It can be summarized in several words: Light, fast, and changeable. These powerful functions of windphp9.0 benefit from the powerful framework of windframework.


WindFrameworkIt has been released for almost a year. Unfortunately, no development documents related to the windframework framework have been officially released so far. We hope that windphp will soon release development documents like ThinkPHP framework.


OutWindFrameworkCurious, today I have a bit of the windframework framework. Haha, it's really a hard bone (compared with the ThinkPHP framework! According to my understanding, windframework provides the MVC development mode. The object-oriented feature is strong, and database operations are a little complicated. For example, the data access operation statements are a bit like the original SQL statements. I organized the layout layers of the windframework case blog into a directory tree and annotated it for future research.


Root directory blog (Project)

Upload-index. php entry file
|-Conf configuration file
|-Db_config.php Database Link Configuration File
| Zookeeper config. php project configuration file
|
|-Data
| Compile compilation directory
|-Error. tpl
|-Index. tpl
|-Layout. tpl
| Zookeeper reg. tpl
|-Core wind framework file package
|-Wind. php framework entry file
|
|
|
|
|-Service business logic processing class library, which processes data to the Controller
|-UserForm. php form filter class
| Zookeeper UserService. php data processing class
|-Confroller controller directory
|-IndexController. php Index module Controller
| Zookeeper ErrorController. php Error Module controller, which controls the output of Error messages
|
Catalog templates template directory
|-Images image style package
|-Error.htm
|-Index.htm
|-Layout.htm
└ Reg.htm

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.