bellancora.com was a site that facilitated the re-selling of designer wedding dresses. Working closely with the web designer, Derek Durivage of xlcrdesigns.com, using common software development best practices and design patterns, an object oriented database abstraction library was written in php. The classes written for this project model the database schema using a "Data Mapper" or "Integrated Mapper" design pattern to provide a DAO interface, and provides an interface for object creation through factory methods. The project was developed with test driven design; expected behavior was known first, test cases were built around those results, and code was written to satisfy the test cases. The code uses a simple Exception model , based on PHP 5's exception model, to handle errors, and provides a configurable logging system to easily increase or decrease the verbosity of the library. There is no longer active development on this project, but the most recent svn log entries and a link to the browse able repository are kept for archival sake.

r258

r256

r255

r254

r252

r251

r250

  • 2006-12-22,
  • we wer eloading the config file in a way that would only work if the lib was
  • called from DOCUMENT_ROOT when on a webserver. Fixed this so that it could be
  • called from different directories. Additionally the log directory that holds
  • the log file was chosen relative to the path in which this lib was called
  • from. Changed it to be relative to document root.
  • M /bellancora.com/trunk/inc/BellancoraLog.php

r249

  • 20060-12-22,
  • when creating a product from a productid that does not exist via
  • getProductById($id), we were trying to print debugging information from a
  • mysql resource that did not exist ... fixed
  • M /bellancora.com/trunk/inc/Product.php

r248

r245

  • modified the debug level for the critical sections from
  • 7 to 3, because they should be logged even when the logging system is ignoring
  • debug messages.
  • M /bellancora.com/trunk/inc/confirm.php

r244

r242

r172

r171

r170

r169

r168

r167

  • 1) merged dereks image upload code
  • 2) addeded addiotn of setLabelSize()
  • 3) fixed a few syntax errors
  • 4) set default for setGownDetailsClean() => 'y' till derek gets back to me
  • M /bellancora.com/trunk/inc/confirm.php

r165

r164

  • deleted commented out code
  • added a few comments
  • matched form to db input for condition
  • added logic around modifying returns, rdays, and rfees to match the business
  • logic of the application
  • made sure that description is getting added to the db
  • M /bellancora.com/trunk/inc/confirm.php

r163

r162

r160

r159

r158

r157

r155

  • this is a initial check in for this file ... note the directory structure that
  • this file will be used in has not been preserved
  • A /bellancora.com/confirm.php

r152

r150

r147

r146

r145

r144

r142

r140

r139

r137

r136

r135

r134

r133

r131

r130

r128

  • added some constants for max sizes
  • added function getCurDate()
  • started working on some generic select and prepare/execute functions. These
  • hav't been fully tested yet
  • M /bellancora.com/include/BellancoraDB.php

r127

r126

r125

r124

  • added support for "has-a user"
  • removed some uneeded attributes
  • renamed the gown detail attributes
  • added some const definitions used for constraint checking in setters
  • fixed up the sql statements to only deal with the product table
  • added a static functions getProductsByUser(), getAllProducts(), compare()
  • finished functions update(), _update(), _insert(), delete(), toString()
  • added, renamed, and deleted a few setters and getters
  • various bug fixes, and debug statements
  • M /bellancora.com/include/Product.php

r123

r122

r121

r120

r118

r117

r116

Skills: 
Project: 
Start: 
2006
End: 
2006