- Moodle 3.x Developer's Guide
- Ian Wild
- 222字
- 2021-07-02 21:34:46
Moodle application layers
In terms of application architecture, Moodle can be thought of as having three layers--diagrammatically looking rather like a layer cake:

At the top is the presentation layer--this displays output to the user but also accepts data from users through HTML forms. Next is the business layer and, beneath that, the data layer. The data layer is relatively easy to understand: it is where user data is maintained, where quiz questions would be stored, where grades are recorded, and so on. The business layer is where the information from the data layer is processed ready to be passed up to the presentation layer--for example, quiz questions are formed into a quiz. The business layer is also responsible for taking data from the presentation layer and processing this ready for storage by the data layer--for example, the final grade from a quiz.
In the previous section, we have been considering what the user will see (the presentation layer). At the core of Moodle sits the application data--the contents of the Moodle database. Sat between these three layers (including between the presentation layer and the user)--and the means by which application layers talk to each other--are the APIs.
- Java程序設計與開發
- 兩周自制腳本語言
- Java應用開發與實踐
- OpenNI Cookbook
- STM32F0實戰:基于HAL庫開發
- FFmpeg入門詳解:音視頻原理及應用
- Python編程從0到1(視頻教學版)
- 現代C++編程實戰:132個核心技巧示例(原書第2版)
- Python預測分析與機器學習
- Web編程基礎:HTML5、CSS3、JavaScript(第2版)
- Android智能手機APP界面設計實戰教程
- Serverless工程實踐:從入門到進階
- Learning Rust
- Web前端開發全程實戰:HTML5+CSS3+JavaScript+jQuery+Bootstrap
- Visual FoxPro程序設計