The Edifice API is an interface for programmers who wish to write a secure web program. Written in PHP, the API has support for templates, configuration files, DSN based database management, and is fully language independent.
Be the first to post a text review of Edifice API. Rate and review a project by clicking thumbs up or thumbs down in the right column.
With the pending release of PHP 5.0, most of the reasons for having Edifice have evaporated. PHP now will natively handle destructors / try/catch error handling, etc. I will try to get a new version of Edifice uploaded which is just an addon for PEAR (overlapping areas will be removed from the new version).
A new release of Edifice is coming very soon. Edifice 2.0 should be available by the end of March, 2003. Look for greatly enhanced error handling, better template support robust database support and many other features.
For those of you that missed it, version 1.1.1-final was released. Version 1.1.1 contains a minor security fix from 1.1.0. The fix eliminated the remote possibility of a security bug in GetRelativePath().
* Minor security fix: GetRelativePath() would return with a path not below the serverroot if the serverroot was mentioned somewhere in the path. For example: serverroot is /var/www/html, you would be able to access /etc/var/www/html/<etc>. In theory this would not be a big problem (unless of course your server root was /passwd, then they could get /etc/passwd).
* Minor security fix: GetRelativePath() would return with a path not below the serverroot if the serverroot was mentioned somewhere in the path. For example: serverroot is /var/www/html, you would be able to access /etc/var/www/html/<etc>. In theory this would not be a big problem (unless of course your server root was /passwd, then they could get /etc/passwd).
SIGNIFICANT CHANGES SINCE 1.1.0 RC4 DatePersonDescription File: All 12/23/2001Ryan M HarrisAlmost all files changed their names for the release. This will not happen again. It was done to compensate for a criminally stupid layout decision done by the original author. (namely all include files in one class) Full documentation is now included. Whole API is fully documented. Bug Fixes and Feature additions here we come. This API was programmed with the future in mind. File: CwpApiConfig.php 12/26/2001Ryan M HarrisUpdate so it supports windows files on unix properly. 12/23/2001Ryan M HarrisChange filename/class to File_Config (File::Config for include purposes) 11/28/2001Ryan M HarrisSECURITY: Add support for GetRelativePath() - Changed constructor and SetFilename() (added parameter $GetRelative) File: CwpApiDB.php 12/26/2001Ryan M HarrisDSN name is converted to lower case all the time (<dsn>.cds) 12/23/2001Ryan M HarrisChange filename/class to DB (DB for include purposes) - DB_Recordset, DB::Recordset - DB_Connection, DB::Connection 11/29/2001Ryan M HarrisBUGFIX: Fix so Open() doesn't do two "GetRelativePath()"'s in a row. 11/28/2001Ryan M HarrisRemove support for $Username and $Password, unnecessary. - Changed constructor and Open() 11/28/2001Ryan M HarrisBUGFIX: Make Open() so it checks to see if the driver is was supplied. File: CwpApiDB_Driver_MYSQL.php 12/23/2001Ryan M HarrisChange filename/class to DB_Drivers_MYSQL (DB::Drivers::MYSQL for include purposes) 11/29/2001Ryan M HarrisFEATURE: Added support for ; in a query string (if it does not return data) 11/28/2001Ryan M HarrisBUGFIX: Make it so driver returns a value from Open() at all times. File: CwpApiFile.php 12/23/2001Ryan M HarrisChange filename/class to File (File for include purposes) 11/28/2001Ryan M HarrisSECURITY: Add support for GetRelativePath() - Changed constructor and SetFilename() (added parameter $GetRelative) File: CwpApiTemplate.php 12/26/2001Ryan M HarrisChange so templates always end in ".tpl" (lowercase) 12/23/2001Ryan M HarrisChange filename/class to File_Template (File::Template for include purposes) 12/04/2001Ryan M HarrisAdd support for just returning generated data (not printing it). 12/04/2001Ryan M HarrisChange default value for "CleanCode" to false. 12/02/2001Ryan M HarrisRemove check for append when handling arrays, Fix multidimension support (only supports 2 dimensions) 12/01/2001Ryan M HarrisBUGFIX: Fix header version number so it checks for the correct version. 11/28/2001Ryan M HarrisSECURITY: Add support for GetRelativePath() - Changed constructor and SetFilename() (added parameter $GetRelative) 11/28/2001Ryan M HarrisAdd support for arrays that are 2 dimensional (rows are repeated, cols are put out as is) 11/18/2001Ryan M HarrisAdd the support for passing a file at in the constructor. File: CwpApiError.php 12/23/2001Ryan M HarrisChange filename/class to Error (Error for include purposes) 11/28/2001Ryan M HarrisAdd support for severity being passed to constructor (CWAPI_ERROR_ERR by default). 11/27/2001Ryan M HarrisAdd support for a error severity (2 by default). File: _CwpApiErrors.php 11/27/2001Ryan M HarrisNow supports croaking when an error of a certain severity occurs.
Be the first person to add a text review.
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use
Thanks for your rating!
Would you also like to write a review?
Thanks for your review!
Get credit for your review by logging in via OpenID. Click your account provider: