Pot Php Object Template 1.2 review
DownloadThe goal of Pot (PHP Object Template) is to totally divide the logic of a Web site from the design.
|
|
The goal of Pot (PHP Object Template) is to totally divide the logic of a Web site from the design. Pot can be used by "common" people just by writing some XML tags in the HTML code. It supports technologies like Cascading Style Sheets, JavaScript, animated objects, and form data checking.
Using your favourite WYSIWYG editor (like Dreamweaver or GoLive), you can create HTML pages where you place a tag wherever you need and write the required Pot parameter and value tags. There are 41 objects ready to be used.
What's New:
pot.inc.php - added a path pot/pot/.. and error management in case do not found any Pot
pot.inc.php - when an object is finished to be processed clear label prefs variable
pot.inc.php - added the hook command to execute one your's function before processing an object
object.inc.php - fixed some wrong assumptions to use local variables that are variables inside the object
object.class.inc.php - do not work at all clrArray() - fixed.
object File - now manage correctly the error:message in case on wrong file format submitted
object File - upload multiple files fixed, and added the function ifUpload()
object table - not manage correctly the table:border:style , always was solid.
object syntax/variables added the 'ifnot' option to do conditional objects
object syntax fixed the ${varname} conversion that add an extra space at start. fixed
object Image - added image:link for images with the filename taken from field
object Image - fixed show + infos that didn't work
object htmlarea - removed the 1024 chars limit of the size of the text, now depends on the browser limits
object htmlarea - fixed in view mode a bug when the field is empty goes in edit mode
object htmlarea - change the init code with a new one
object list - rewrite to make it compatible with AdoDB and other Pot objects
object session - now handle errors using exception template, for not existent or expired sessions
object session - it was storing adodb objects. now do not do anymore
object window - added a new command window:code to open another html or Php page
object Link - if not given any separator for the rollover colors list use as default the comma
object Link - doView. When you call it sever times from programming the out parms where added each other each time
object Link - doView. Added the parms ( $link, $text )
object Link - doView. Added option link:no:parm to not append the get variables such ?id=122
object Link - fixed a class definition in one link mode
object Link - doView. always add text class to link, now use the class specified and not text css
object Link - doView. using sessions sometimes is set the back option and do not work anything. Fixed. Now do back only if no link is given
object Sql - added some useful documentation about manage errors of record not found
object Sql - minor fix on paginate results
object Sql - better documentation about to use local variables (a query that do not affect the others)
object Sql - store the foudn record (with limit) in the variable sql:result:rows:found that not change value when you get next record
object Box - fixed some cases that the top/bottom/left/right images fo not fill the entire area
object Record - fixed using 'localrecord' option (it was deleting anyway the global record!)
object Record - Added 3 functions to creare a new record in memory without get any data from any SQL queries
object Record - a case using adoDB in no record found give some errors, fixed
object css - fix a case that added > in the wrong place, and write if no span is declared
object variables - now use correctly the css to print data plus minor fixes about specified variables ()
object variables - if an out variables has 0 with value is skipped, fixed now it is added too
object form - not use given name, always used a random name, fixed if you give the form name use it
object form - moved the inclusion on all out variables just after the form tag (was at the end of the form before submit button)
object fold - fixed the text link to show/hide the palette works only with images and not with text
object class - fixed because do not print results immediately if no variable names to store are defined
object session - if some array are empty return an error, fixed
object session - forget to remove echo debug from the code that turn off the session
object session - fixed the code to avoid programmer mistake and write better documentation about
object session - fixed the parsing variables: commands that sometime do not work as expected (any global is done also on local too)
object exception - do not print the debug variables if set to dot so. fixed
object exception - auto jump mode taken the wrong get variables to the next page. fixed
object password - in edit mode with re-type active it didn't fill the re-type field
object query - in 'list' mode (without template) there was a wrong query reference. fixed.
object query - in 'list' mode added option to calculate totals on a specified row and print result at bottom
object query - in 'pages' mode did nothing! ops I forgot to write the code. added the code to do paginate
object calendar - fixed calendar+hidden field, there didn't set correctly the hidden field name
New objects:
object stop - created new - force to stop handling the rest of the page
object hints - created new - when the mouse is over the link display a box with a message.
Requirements:
Php version 4 or higher.
Pot Php Object Template 1.2 search tags