Project Equinox
The new word in social content management

Changes to the way plugins are structred

Posts in This forum
said on 13:10:33 19-May-2014

A recent collection of changes to the plugins include the movement of administrative commands into the plugin itself. This produces a good deal less files in all too many places. The old system keeps administrative functionality under the plugins/admin/<class name>, and itself contains an index.php and prerunner.php file.

Instead, the files located inside the directory above are now moved to plugins/<class name>/admin. The prerunner and index files inside the admin's plugin directory have been integrated into the class file. This now reads something along the lines of:

class <class_name> extends equinoxPlugin {
   ...

   public function admin_load() {
      ...
   }

   ...

   public function admin() {
      ...

 }

...
}

This makes things a lot easier to manage. I'm still not convinced two admin commands, one runner and one loader are necessary, but at this precise moment, the two are helpful with regards to menu management.

Future changes will come up here

About

Information will appear here

Philosophy

Information will appear here

Contact

Information will appear here

Project Equinox The new word in social content management