FLEX + PHP + Open Source

Practical Rapid Development

A Screenshot of Figaro

Kinda quiet

Monday, September 17

Sorry for the quietude around here lately, been working hard on finishing up the Figaro Framework e-commerce package.

posted by: Brit Gardner | email the author

Performance Issues addressed

Wednesday, July 25

Addressed some performance issues with building your schema on the fly. Short of caching the result for re-use, the runtime schema configuration is as fast as it's going to get.

posted by: Brit Gardner | email the author

Figaro 0.2!

Lots of upgrades

Friday, July 20

Ok, made a ton of upgrades to the framework that amount to a 0.2 release.


  1. figaro_start.php has been upgraded to improve performance and to bootstrap the framework more efficiently. It’s also been written such that a developer should never touch it, only the settings file.
  2. the settings file has a couple of new definitions that control how the framework boots – for instance, if you don’t want to use the .htaccess file with the framework, you just change one line in config.Settings.php and voila, you’re good to go.
  3. the functions.php file no longer exists. To get rid of any potential namespace issues like we ran into with debug(), I made the functions file into a class: class.Figaro.php.

the Figaro class is static, meaning you don’t have to call


$Figaro = new Figaro;

If you want to use a function in the figaro class, simply do


Figaro::myFunction();

Figaro::debug($Mysql->log);


This alleviates any issues with other apps, like Mantis, have the same function definitions as Figaro.

The static functions inside class.Figaro.php are not meant to be touched and should be generic to any application.

posted by: Brit Gardner | email the author

Fixed a small issue with Element object

Thursday, July 19

The element object is now a little smarter - if you pass it a file location that already includes the Constant ROOT (the full php path the the web root), it will not prepend the file path with ROOT again.

posted by: Brit Gardner | email the author

Element::getContentFromFile()

Get the contents from a file without creating a ne

Wednesday, July 18

Added a new method to the element object - getContentFromFile()
$Page = new Page(); $Page->defineElement($Body, '/pages/mycontent.htm'); $fileLocation = '/pages/mystaticfile.htm'; $Page->$Body->getContentFromFile("MY_POINTER", $fileLocation);
This will read the contents of the file using file_get_contents() and fill the pointer with the contents. How is this different from Element::getContent()?? getContent($ptr, $content); only accepts strings for the $content argument, so one would have to either read the contents of the file manually into a string, or create a new element with that file.

posted by: Brit Gardner | email the author

view the archives

Get Figaro

Download the latest stable build now!

Download Figaro Box

RSS FeedFigaro Update RSS Feed

  • Wednesday, July 25 - Made a lot of performance gains in on-the-fly schema building
  • Friday, July 20 - 0.2 released! Lots of upgrades.
  • Friday, July 20 - Fixed an issue with the save() method not performing an UPDATE correctly
  • Thursday, July 19 - Lots of new changes and upgrades
  • Wednesday, July 18 - Added the Element::getContentFromFile() function