Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 1.58 KB

README.md

File metadata and controls

21 lines (16 loc) · 1.58 KB

CorbeauPerdu

DISCLAIMER: I've done these for a personal project of mine, and more specifically, as a means to a playground to re-familiarize myself with some of the basics in OOP. Most of these could be replaced by actual, better frameworks, such as Laravel, but if you find them useful, by all means use them to learn, or help you out in your projects.

PHP Classes:

  1. CorbeauPerdu\Database\DBWrapper: Database Wrapper (DBAL) class to wrap around PDO in order to reduce code and make it safer.
  2. CorbeauPerdu\i18n\Locale: Gettext'like Wrapper class to set locale environment and then either use *nix gettext(), or JSON files for translations. Also handles plurals!
  3. CorbeauPerdu\ErrorHandler\ErrorHandler: ErrorHandler Class to log errors, email admins and show proper error page
  4. CorbeauPerdu\ORM\ORMBase: ORM library to create objects out of database table rows.
  5. CorbeauPerdu\Calendar\Calendar: A simple multi-date picker calendar, with just enough functionnalities!

Javascript Classes:

  1. CorbeauPerdu.i18n.Locale: Gettext'like Wrapper class to load translations from a given JSON object and fetch translations from it. Also handles plurals!