Commit graph

15 commits

Author SHA1 Message Date
Joshua Sherman
c865e74ebd Updated headers and dropped tests
The tests weren't complete nor were they being used so I dropped them. Since
this branch is still actively being maintained as it's the PHP 5.3 compatible
stuff I figured I should update the headers to have the current year and
explicitly show that it's PHP 5.3+ and not just PHP 5.
2014-01-26 21:35:56 -05:00
Josh Sherman
d96181c60f Q4 2013, seemed like a good time to update the copyright notices 2013-11-04 17:36:04 -05:00
Josh Sherman
7746567ec3 Added sanity check if logging was enabled
No more wrapping calls to the Log class with a check if it's enabled.
2013-09-15 11:55:56 -04:00
Josh Sherman
6f114361bd Updated copyright, website and contact email 2012-09-30 12:40:29 -04:00
Josh Sherman
3e58cd89bf Emptied the JAR and cleaned up some whitespace 2012-09-30 12:26:32 -04:00
Josh Sherman
996241debb Updated headers to have 2011 in the copyright date. Also updated copyright to my name as the LLC is currently defunct. 2011-05-09 22:14:55 -04:00
Josh Sherman
89e2c3db19 Cleaned up stray whitespace. 2010-12-09 20:12:05 -05:00
Josh Sherman
1cd61dda42 Updated licensing to use the [better suited] MIT License. 2010-10-14 20:12:40 -04:00
Josh Sherman
9b4763dd23 Removed whitespace. 2010-10-03 15:16:01 -04:00
Josh Sherman
d2966c7345 Created a Singleton parent class and implemented some common Object method. 2010-10-02 16:36:54 -04:00
Josh Sherman
4307594ab5 Expanding error handling with a custom handler. All errors are converted to exceptions for easier handling and to help save time because you won't have to type out a bunch of crazy sanity checks, just try/catch FTW. 2010-09-19 12:27:55 -04:00
Josh Sherman
ea6930bc23 Moved fatalError() from Controller to Error class.
* Renamed the method to fatal().

 * Added Error class, but I may be factoring it out and replacing it with strong dependency of PHP built-in Exceptions.

 * Cleaned up some other stuff too.
2010-03-30 22:28:20 -04:00
Josh Sherman
af63f84cd0 Removed some indecisiveness from the Log class. 2010-03-26 22:04:39 -04:00
Josh Sherman
9efdc08496 Updated log path to use the log path constant 2010-03-24 18:48:13 -04:00
Josh Sherman
cda9c7d28e Implementing the Database class.
* Updated the Database class to work like a Singleton with a getInstance() method.

 * The Database class does not have a private constructor so it can still be instantiated in case someone needs to do so.

 * Replaced Logger class with Log class.

 * Updated Module to have an instance of the Database object as well as the Model class.

 * In my perfect vision for usage, the Module classes should never talk directly to the database, but do so via Models, but I know that's asking a lot, so I'm leaving in some options for folks.

 * Updated documentation.
2010-03-16 22:54:21 -04:00