Moodle Architecture - Three Tiered?

Moodle Architecture - Three Tiered?

by Allan Watson -
Number of replies: 1

Can the Moodle system Architecture be described as three tiered? I'm trying to look at this from the code point of view.

So for example when an outputrender function makes use of the $USER variable could it be described like this:

Presentation Layer - Outputrender.php
$USER->id
 |     /\
\/     |

Logic Layer - user/lib.php
return $DB->get_records_list('user', 'id', $userids);
 |     /\
\/     |

Data Layer

Average of ratings: -
In reply to Allan Watson

Re: Moodle Architecture - Three Tiered?

by Tim Hunt -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

Yes, you can descrive it like that if you think it is helpful.