Module Development Summary

Source: Internet
Author: User

Module Development Summary

1 Use micro-power template to generate template schema, perfect configuration files (manifest.xml, database creation and uninstallation, information, etc.). After 2, we will first go into our defined module (module.php's Fieldsformdisplay () attached to the rule form) and display a series of forms and rules of the presentation in the module. (Configures and displays the relevant features of this module when handling public platform messages (such as rule definitions, message processing, etc.). 3 processor.php This file is defined by the micro-module handler, that is, when the client sends a message, the processing is performed here, The approximate calling procedure is to api.php->engine.php->processor.php get the response content and return it to the interface. 4 site.php micro-station function processing, when the user visits the micro-station, call this handler to handle access. It mainly defines two types of embedding points: Dowebxxx and domobilexxx, which are general background management for Web Access (accessed in site.php?act=module&name={$module}&do=xxx). The latter is the embedded point of the mobile end and is generally used as an access display (Access mode-mobile.php?act=module&name={$module}&do=xxx).With all that said, my general understanding of the process is:1 module to handle the management of rules, that is, define the rules (additions, deletions, validations, etc.) .2 Then when the user sends a message over the processor here to process the message and return the message response,3 After the user taps the response file in the previous step, the appropriate content, such as an article, is opened. The opening and other operations here are handled in site.php. 4 These core PHP files are within the engine.php unified processing calls, respectively, responsible for handling the respective functions, seemingly no specific interaction. Beginner this may be a lot of mistakes in the place to let everyone learn together with the wrong place welcome to explore.

Module Development Summary

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.