Feature: Objects
Developer: Arantor (main), Nao
Target: modders, themers
Status: 95% (believed to be complete; there's always room for more objects though.)
Comment:
SMF uses the infamous $smcFunc array structure to store pretty much anything that should be dynamic functions.
Wedge replaces this with object structures, mostly of the singleton/static types. Basically, Wedge objects start with the 'we' keyword, generally followed by a three-letter code representing whatever feature it's about.
Some of the objects include: we (holds system and user variables such as we::$id for the user ID), wesql (database abstraction, e.g. wesql::query), westr (string functions, e.g. westr::substr), wecss (CSS pre-parsing), wedit (the WYSIWYG editor), and wetem (the main template skeleton).
Developer: Arantor (main), Nao
Target: modders, themers
Status: 95% (believed to be complete; there's always room for more objects though.)
Comment:
SMF uses the infamous $smcFunc array structure to store pretty much anything that should be dynamic functions.
Wedge replaces this with object structures, mostly of the singleton/static types. Basically, Wedge objects start with the 'we' keyword, generally followed by a three-letter code representing whatever feature it's about.
Some of the objects include: we (holds system and user variables such as we::$id for the user ID), wesql (database abstraction, e.g. wesql::query), westr (string functions, e.g. westr::substr), wecss (CSS pre-parsing), wedit (the WYSIWYG editor), and wetem (the main template skeleton).