auLib
From auWiki
The auLib package is meant to give me a common set of functions to use when working on multiple websites, and also avoid having multiple copies of essentially the same code.
The auLib package is available for download as new layout classes from the track7 scripts page. It requires PHP 5, but could be modified to use PHP 4 if you know some php.
The first site up on the auLib classes was track7 in January 2007. That ordeal was both the first test of the library as well as a lot of tuning to the functions they contain. They will likely continue to be changed as they are used for more and more sites.
Files Included
- auDB.base.php: auDB, auDBResult
- auDB.mysql.php: MySQL implementation of auDB.
- auDB.mysqli-obj.php: MySQL improved object implementation of auDB.
- auDB.mysqli-proc.php: MySQL improved procedural implementation of auDB.
- auFeed.php: auFeed
- auFile.php: auFile
- auForm.css
- auForm.php: auFormElement, auFormContainer, auFormField, auForm, auFormFieldSet, auFormData, auFormText, auFormHTML, auFormString, auFormMultiString, auFormPassword, auFormNumber, auFormInteger, auFormInstant, auFormCheckbox, auFormFile, auFormSelect, auFormMultiSelect, auFormButtons
- auPage.php: auPage
- auText.php: auText
- auTimer.php: auTimer
- auUser.php: auUser
Sites Using auLib
Releases
0.3.0
released 18 Feb 2009
- auForm add support for arrays as field names.
- auText add PhoneFormat.
- auForm add defaultonly option.
- auText handle one-line code samples better.
- auText add assumeP option to BB2HTML.
- auLib switch comments to phpdoc format.
- auForm add some abstract classes for common functions.
- auForm add generic Add function.
- auForm support multiple fields on the same row.
- auText use htmlspecialchars to convert to html and html_entity_decode to convert back.
- auDB fixed mysqli implementations for queries other than select.
- auFeed handle special characters.
- auFeed include atom:link tag.
- auFile check file uploads for errors (images only).
- auText add Diff.
- auUser add $homepage protected variable.
0.2.0
released 01 Oct 2007
- auDB now has 3 more files:
- auDB.base.php - base class that actual auDB classes (including the one in auDB.mysql.php) extend.
- auDB.mysqli-obj.php - implementation using object interface to PHP's MySQL improved functions.
- auDB.mysqli-proc.php - implementation using procedural interface to PHP's MySQL improved functions.
- auFile fix to resizing in SaveUploadImage.
- auPage fix Show404 to not show a blank page.
- auTimer fix possible rounding errors.
- auText, auFeed support UTF-8 by default instead of ISO-8859-1.
- auPage add Scripts.
0.1.0
- auDB public variables are now declared public instead of var.
- auFeed added.
- auFile fixes in SaveUploadImage.
- auForm various typos fixed.
- auPage charset changed from iso-8859-1 to utf-8.
- auText now uses htmlentities instead of htmlspecialchars; fix handling of [head] and [subhead] in BB2HTML; allow links to #id in FixLink.
0.0.0
- Initial release.

