main software

PHPSimpl 0.8.6 Stability Release

It’s been a long time since I have updated PHPSimpl. It doesn’t mean changes have not been happening, it has just been at a comfortable place for me. Expanding it would mean committing myself to many more hours when other resources are already available. So for now I will continue to maintain the framework while adding stability and speed enhancements. I don’t have any new features in the queue.

A rundown of the complete changes include:

  • Updated example
  • Fixed an issue where the Insert() function does not work if there is a primary key that is not auto_increment
  • Fixed an issue with the radio form multi select to validate
  • Added a h() function to output right from the DB, it does htmlspecialchars(stripslashes($text))
  • Fixed the XML Output to include a “raw” parameter which only takes array options
  • Added the ability to send $options[‘fields’] to the DbTemplate->Save() function to only save certain fields in the DB
  • Updated the SetValues() to urldecode hidden form fields because they were not in the past
  • Fixed issue #58 where SetValue() time was stripping the seconds off
  • Made some changes to the regex for php5 latest
  • Made some changes to help with php5.3 deprecations
  • Fixed most of the Notices in PHPSimpl
  • Fixed the Email validation in the Mail() class. It now allows .’s and -‘s in the address
  • Now allow the ability to change the encoding of an Email when setting the Body(). Basically for base64 content
  • A few other minor bug fixes

This is a Recommended Update

Questions or Comments? Feel free to leave them in the PHPSimpl Group. There is always someone to help available. By the way we love feature requests, keep them coming.


PHPSimpl 0.8.5 Feature Release

Long awaited features now implemented. Main highlights include cross database join’s. Functions on DisplayList() fields and a way to change where the required indicator (*) is on forms and the character that is displayed after the label.

A rundown of the complete changes include:

  • Updated example
  • Completely rewritten Export class with CVS, JSON, XML and SQL support
  • Export() function on DbTemplate for seamless exporting
  • Removed the requirement to have DB_DEFAULT defined
  • DisplayList() now places a   for NULL table values for IE border support
  • GetList() and Join() now support cross database queries
  • Added the “required” class to the field items that are required
  • DisplayList() $options can now take a function name as a value for a field.
  • Added the DateTimeDiff() function to the global functions to produce a human readable “time ago” output.
  • Added a type of “settings” for forms to manipulate the Form::Form() function output.
  • A few bug fixes.

This is a Recommended Update

Questions or Comments? Feel free to leave them in the PHPSimpl Group. There is always someone to help available. By the way we love feature requests, keep them coming.


PHPSimpl matches download count in less than 2 weeks!

PHPSimpl Download CountPHPSimpl 0.8.4 has caught up to the 0.8.3 download count in just two weeks! By no means did we expect this release to be so popular. It took 8.3 ~3 months to get to 157 downloads while 8.4 took only 2 weeks.

We never designed the framework to compete with the “big guys” like Zend or PEAR but a lightweight alternative for all those average size sites out there with moderate amounts of traffic. More or less a bolt on set of proven and optimized functions to get a web site up and running quickly.

We feverishly wanted to avoid having to install anything on the server or have to include a script that included 30 files deep just to render a simple page. We also did not want to be tied down to a single file structure or output syntax. With PHPSimpl we can use plain old php to output or Smarty or what ever, the nice thing is we still control our data and the flow of the site.

We are fearlessly working on the next release which we hope to have out by the end of January. The update will include a complete overhaul of the export class, a DbTemplate export function, expanded example and full update to the documentation. But you never know what else we will throw in.

Good luck everyone on your PHPSimpl endeavors.


PHPSimpl 0.8.4 Feature Release

Jumping into the lakeYay! New Year, New Release. Its been a while since our last release and we apologize, all of us have been pretty busy and we were down two full time developers in the department. This release is a mix of additional features and bug fixes. We hope to release more often this year since we will have filled one and will fill the other position shortly. The updated below are all to the PHPSimpl core there has been no updates to the examples or the wiki API documentation. 0.8.5 will bring a massive update to documentation and optimization, hold tight we hope to have it out within the next two months.

  • Removed all dependency on a Primary Key except for the Move() function
  • Added the IsConnected() function for the DB object
  • Added the Insert() and Update() functions for tables without primary key
  • Added the ID attribute to the hidden form fields
  • Fixed issue with double quotes being in hidden fields, the would close the HTML tag
  • Fix for 12/31/1969 problem in DbTemplate:SetValue()
  • Fixed problem with IE-7 and popup-calendar location
  • Fix for invalid date input on Form::SetValues()
  • Fixed an issue with the export when there is no display passed

This is a Recommended Update

Questions or Comments? Feel free to leave them in the PHPSimpl Group. There is always someone to help available. By the way we love feature requests, keep them coming.


Shrinking a Big World.

Working on a promotions add-onTaking something large and packaging it into something short, sweet and understandable is a designers passion. Taking a step back it is also a programmer and teachers passion.

Yesterday I had the honor to give a top down talk and tutorial of a web site manager to my Senior Seminar group. This included all the logic behind a site managers functionality down to the implementation using PHPSimpl

It was really great to be able to explain my passion for the web and visualize it on a whiteboard to people who initially could not grasp even a part of the process, to in the end being so excited about the system they wanted to run to a computer and start coding.

My first attempt to get the group involved was to trace through a web manager and go into detail about how everything connected, this failed miserably. So taking a step back I reverted back to my love for design and took a high level approach and then lead down to the actual code.

A whiteboard is the best teaching tool in my opinion, you can sit at a computer all day and look at code and understand but without seeing the relationships between everything coding can only go so far. Understanding the whole system only breeds better system development, less chance of code clash and fewer bugs.

What it comes down to is the ability to take the huge world of a program, a site, or a collection of sites and package it up to give relevance to the actual user. We do this when creating navigation for a site all the way to creating features for the content management system which houses over 200 sites.

The best programmers, designers and educators can take the massive amounts of data and sum it up, package it and deliver it directly to the brain to influence excitement and energy into the students and process.

My hat goes to all those teachers out there who get to practice this passion to inspire, keep up the good work.