From a strange to now can reluctantly complete the first micro-site module implementation. is a small step forward, from design database to, return data, front-end template rendering
Each point is a bit difficult. So I want to summarize how I implemented a micro-module.
First, we must first analyze a module to achieve what needs, according to the requirements of the design of a reasonable database structure.
Second, understand the structure of the micro-engine, run the process, design the module structure.
Third, the focus is site.php, complete site.php need a certain PHP programming ability,
IV, site.php which obtains from the database via PDO we want the data source. The micro-engine has encapsulated its routing mechanism, Doweb points to the website, and Domobile points to the end.
Using a template mechanism that is encapsulated by the micro-engine. I may have been more simplistic in my present talk.
January 3, 2017
The second module development-php based on micro-engine