MoAspEnginer (MVC framework for ASP) is an application that refers to some functions of ThinkPHP and the MVC framework of asp.
Original intention:
In an era when ASP is over, I no longer want to spend too much energy on ASP. I want to write a fast ASP development framework to improve work efficiency.
Advantages:
1. Single file entry, M/A mode
2. Most of the core JScript development,
3. Make POST and GET readable and writable, and all data can be read and written through F.post or F.get.
4. Support CURL operation and extend assign to Model and Record
5. Support cross-module and cross-template calling of templates
6. Compile cache and class library cache to improve code efficiency
7. Supports strict compilation and non-strict compilation. Strict compilation requires complete declaration of variables (that is, variables used in templates need to be assigned, especially objects)
8. Support static calling and dynamic calling of classes (static calling is only initialized once, and dynamic calling initializes a new class each time)
9. Support automatic post calls for update and insert (the validity of the data can be verified through FormValidatee before entering the database), for example: Model__("Public","id").insert(), Model__("Public","id" ).update()
10. Supports multi-database operations. As long as multiple database configuration files are written, they can be called at will in the program.
11. Supports caching of data sets and caching to the file system in json mode. Defects:
1. The current documentation is relatively incomplete.
2. Debugging is inconvenient and requires a certain ASP foundation.
3. Most of the core is JScript. It is difficult for people who are not familiar with JScript to modify the core.
MoAspEnginer v1.15 bulid2013.12.24 change log:
Modification: The version number is changed to 1.15.
Added: Added Common directory to Library;
Added: Add the configuration parameter MO_IMPORT_COMMON_FILES, and load the script file specified by MO_IMPORT_COMMON_FILES from the App's Common;
About: MO_IMPORT_COMMON_FILES, format: "file name; file name = encoding;", multiple files are separated by half-width semicolon (;), if the encoding is not specified, the default is utf-8, and the file name does not include the suffix.
About: All scripts in the /Mo/Library/Common folder will be loaded automatically, no need to specify;
About: Function.asp in the /App/Library/Common folder will also be loaded automatically, no need to specify;
Add: loop label loop, add reference to {$loopname.Key__}, incrementing from 1; loopname refers to the name of the loop label.
Added: Add comments about relevant codes for all class libraries Added: Added a library for converting Chinese characters to Pinyin as an example of an App extension library
Expand