Stefan Gabos web developer extraordinaire
Monthly Archives: May 2011
May
2011
Zebra_DatePicker, version 1.0 now available
Zebra_Datepicker is a small, compact and highly configurable date picker plugin for jQuery built using the fabulous jQuery Plugin Boilerplate.
May
2011
Zebra_Image, version 2.1.2 now available
Zebra_Image is a compact, lightweight, object-oriented image manipulation library written in and for PHP, that provides methods for performing several types of image manipulation operations. It doesn’t require any external libraries other than the GD2 extension (with which PHP usually comes pre-compiled with).
In this version, a bug was fixed when resizing images having height greater than width, and using the resize() method with only the height argument; thanks to Manuweb2 for reporting.
May
2011
jQuery Plugin Boilerplate, revisited
A template for jump-starting jQuery plugins development so you don't have to poke around the internet to look-up how it's done.
As pointed out in the comments, the previous version was rewriting everything every time $.pluginName() was called so, at the suggestions of users, I've taken the defaults and the settings variables out of $.fn.pluginName = function(method) {.
Also, a different approach for the jQuery Plugin Boilerplate is now available, an approach that does not adhere to the suggestions made by the jQuery documentation regarding Plugins/Authoring but one that is more object oriented and, well, more simple and more transparent.
For this new version of the jQuery Plugin Boilerplate, I took inspiration from Doug Neiner's Starter which I find to be a more appropriate way of writing a jQuery plugin.
May
2011
Zebra_Pagination version 1.1c now available
Zebra_Pagination is a generic pagination class that automatically generates navigation links given the total number of items and the number of items per page.
This is a *generic* pagination class, meaning that it does not display any records! It is up to developer to fetch the actual data and displaying it based on the information returned by this class. The advantage is that it can be used to paginate over records coming from any source (arrays, database, etc).
In version 1.1c a bug was fixed regarding the improper handling of the “next” link, when on first page; thanks to Jan for reporting.



I am a 32 year old web developer working from Bucharest, Romania. I am coding since I was 14 and I am extremely passionate about it. For the server side of things I use PHP/MySQL while on the front-end I write valid HTML 5, nice CSS and lots of JavaScript code using jQuery.