I have a quick question regarding the GO programming structure which I don't understand very well.
Take for example the e-mail module.
It has all the MVC components under the controller / model directories. Those classes extend the GO base classes found in: go/base for functions like GO_Base_Mail_Imap . All that is fine and easy to understand, but then why are the same functions redefined in the classes directory ?
Right now here's what I see.
Imap functionality for example is defined twice:
1. In /usr/share/groupoffice/go/base/mail/Imap.php
2. In /usr/share/groupoffice/classes/mail/imap.class.inc
#1 is used by the e-mail module as part of the MVC ( controller / model )
#2 is used by the e-mail module directly from json.php as part of the cached_imap class
Why are there two different imap classes used here ?
