PHP Class Files

DCurrent

Site Owner, OpenBOR Project Leader
Staff member
For the last couple of months I have been cleaning up a site at work (got it down from 4000+ files to around 600) and migrating all of the functions to object oriented classes using an injection dependency pattern. Linking them here just in case any fellow web designers/database engineers/whatever want to make any use out of them.


  • Global Constants: I try to keep global vars of any kind to a minimum and dispersed among the various classes since this file is called from my universal config that every page uses. Still, some things get used so much you may as well have them set at all times.
  • Mailer Class: Nothing special, but it makes quick work of sending E-Mails; especially if you like to format them into table markup.

Much more to come...

 
Back
Top Bottom