Monthly Archives: June 2011

27
Jun
2011
Comments disabled

List of world countries with national flags, version 1.1 now available

A list of world’s countries as an SQL file containing the official short names in English as given in ISO 3166-1, the ISO 3166-1-alpha-2 code provided by the International Organization for Standardization and the ISO alpha-3 code provided by the United Nations Statistics Division . The package also contains the national flags of each country as a 16×11 GIF image. The files are named using the ISO 3166-1-alpha-2 code of the country they represent, so you should have no problems in pairing flags and countries

read more »

25
Jun
2011
Comments disabled

Zebra_Dialog, version 1.0 now available

Zebra_Dialog is a small (4KB minified), compact (one JS file, no dependencies other than jQuery 1.5.2+) and highly configurable dialog box plugin for jQuery, meant to replace JavaScript's "alert" and "confirmation" dialog boxes and built using the jQuery Plugin Boilerplate.

Can also be used as a notification widget – when configured to show no buttons and to close automatically – for updates or errors, without distracting users from their browser experience by displaying obtrusive alerts.

read more »

24
Jun
2011
Comments disabled

Zebra_Form, version 2.6 now available

In version 2.6 a bug was fixed that broke the resize rule - thanks to Jose for reporting. Also, an extra example was added in the documentation on how to create multiple sizes of an uploaded image by using the resize rule.

read more »

21
Jun
2011
Comments disabled

Zebra_Form, version 2.5 now available

In version 2.5 a bug was fixed where the labels inside controls were not working in Internet Explorer prior to 9. Also some corrections were made in the documentation, regarding how to access the JavaScript object (thanks to Jonathan Kratzke for reporting)

Visit Zebra_Form's page

read more »

20
Jun
2011
Comments disabled

Zebra_Form, version 2.4 now available

In version 2.4 a bug was fixed where the regexp rule was not working if the regular expression contained parentheses. Thanks to Sebi Popa and Dragos Oancea for reporting.

read more »

20
Jun
2011
Comments disabled

Zebra_Database version 2.4 now available

Zebra_Database it is an advanced, compact (one-file only), lightweight, object-oriented MySQL database wrapper built upon PHP’s MySQL extension. It provides methods for interacting with MySQL databases that are more intuitive and fun to use than PHP’s default ones.

In version 2.4 a bug was fixes in the insert_bulk method; a new method was added called table_exists which checks to see if a table with the name given as argument exists in the database; the select method now also accepts limit and order arguments; due to this change, this method is not compatible with previous versions; some documentation refinements.

read more »

19
Jun
2011
Comments disabled

Zebra_Form, version 2.3 now available

Zebra_Form is a PHP class that simplifies the process of creating and validating HTML forms. Its object-oriented structure promotes rapid HTML forms development and encourages developers to write clean and easily maintainable code. It frees the developers from the repetitive task of writing the code for validating forms by offering powerful built-in client-side and server-side validation.

In version 2.3 a bug related the "date" control was fixed and also a bug affecting file upload validation was fixed.

read more »

15
Jun
2011
Comments disabled

Zebra_Mptt, version 2.1 now available

Zebra_Mptt is a PHP class that provides an implementation of the modified preorder tree traversal algorithm making it easy for you to use MPTT in your PHP applications. It provides methods for adding nodes anywhere in the tree, deleting nodes, moving and copying nodes around the tree and methods for retrieving various information about the nodes. Zebra_Mptt uses table locks making sure that database integrity is always preserved and that concurrent MySQL sessions don’t compromise data integrity and uses also a caching mechanism which has as result the fact that regardless of the type, or the number of retrieval operations, the database is read only once per script execution.

In version 2.1 a bug was fixed were the script was not working if custom column names were used in the MySQL table.

read more »

11
Jun
2011
Comments disabled

Zebra_Form, version 2.2 now available

Zebra_Form is a PHP class that simplifies the process of creating and validating HTML forms. Its object-oriented structure promotes rapid HTML forms development and encourages developers to write clean and easily maintainable code. It frees the developers from the repetitive task of writing the code for validating forms by offering powerful built-in client-side and server-side validation.

In version 2.2 a bug was fixed where, for custom validations, the JavaScript function was not getting any additional arguments except the element's value; a bug was fixed where the "date" control would add an invalid attribute to the element that would cause the generated output not to pass the W3C validation; a bug was fixed where in the newest versions of PHP 5 the script would generate "PHP Strict Standards" notices because of how mktime() (with no arguments) and array_shift() is treated in these versions; also, there are some documentation updates and clarifications.

read more »

11
Jun
2011
Comments disabled

Zebra_Mptt, version 2.0 now available

Zebra_Mptt is a PHP class that provides an implementation of the modified preorder tree traversal algorithm making it easy for you to use MPTT in your PHP applications. It provides methods for adding nodes anywhere in the tree, deleting nodes, moving and copying nodes around the tree and methods for retrieving various information about the nodes. Zebra_Mptt uses table locks making sure that database integrity is always preserved and that concurrent MySQL sessions don’t compromise data integrity and uses also a caching mechanism which has as result the fact that regardless of the type, or the number of retrieval operations, the database is read only once per script execution.

In version 2.0 entire code was audited and improved, new methods were added and documentation was refined.

read more »

02
Jun
2011
Comments disabled

Zebra_Form, version 2.1 now available

Zebra_Form is a PHP class that simplifies the process of creating and validating HTML forms. Its object-oriented structure promotes rapid HTML forms development and encourages developers to write clean and easily maintainable code. It frees the developers from the repetitive task of writing the code for validating forms by offering powerful built-in client-side and server-side validation.

In version 2.1 the client-side validation has been ported to jQuery; the "date" control has some new methods thanks to the integration with the Zebra_Datepicker jQuery plugin; regardless of the format used for a date, the submitted date can now easily be retrieved in YYYY-MM-DD format for use with a database or with PHP's strtotime function by using the newly added get_date() method; Zebra_Form was not working if the jQuery was loaded at the end of the page; fixed a bug with custom validation rules; fixed a bug with "selects" having the "other" option set.

read more »