PHP Cache Class is a PHP class that caches output generated by PHP files and uses the cached version instead of generating the content again and again. Cache files expire after a specified amount of time. The developer must remember not to cache files that have portions that change dynamically, such as search results, comments, news, files that show the user's name after the user has logged in, etc. Also, as a measure of protection, the directory containing the cache files should be outside the Web root directory or otherwise protected from access by Web clients.
PHP Data Grid Class can be used to display MySQL query results in HTML tables. It executes a given SQL SELECT query and generates an HTML table defined by a template to display the query results. The results table also shows links to navigate between query result pages. The number of result rows to display per page is configurable. The results can be sorted by columns that the user may choose by clicking on column links. The list of sortable columns may be restricted.
PHP Date Picker Class will automatically generate the required HTML and JavaScript code that will make a pop-up window appear to let the user choose a date from a calendar. The selected date will be passed to a user-specified control from the calling page. Every aspect is customizable by modifying a template and a related CSS file. The format in which the date is returned, the default date and time period, and the first day of the week can be selected.
PHP HTML Graph Class is a class for drawing vertical bar graphs using only HTML and CSS. Simple and grouped bars can be created. You can change everything regarding the looks as the output is template-driven. On the fly, you can change the size of graph, the color of all or individual bars, add labels, a title, and footnotes, or customize the CSS style of all elements. The width and height of bars can be specified in pixels or percentages. The code is heavily documented.
PHP JavaScript Tooltip Generator Class is a PHP class that can generate JavaScript tooltips. It works on all major browsers, but transparency is not supported on Opera. In Internet Explorer, the tooltips show above HTML SELECT elements as they should. The appearance of the tooltips is template driven. Only onmouseover/onmousemove events need to be sepcified, not onmouseout.
PHP Printer Friendly Pages Generator Class is a PHP class that helps you create printer-friendly versions of your page very easily. All you need to do is to insert some custom tags in your pages, which will tell the script what needs to be printed from that specific page. An unlimited number of areas can be set for printing, allowing you a flexible way of setting up the content to be printed. The output is template driven. The script can be instructed to transform links to a readable format or to remove img tags and replace them with a string.
RSS/ATOM Feeds Processing API is a PHP API that provides functionality for fetching RSS and ATOM feeds and displaying them using templates in an easy way. It uses SimplePie to fetch the feeds and the XTemplate templating engine for output. It can automatically detect and correctly interpret RSS 0.91, RSS 1.0, RSS 2.0, as well as ATOM 0.3 and ATOM 1.0.
Zebra_Accordion is a tiny (2KB minified) accordion plugin for jQuery. It transforms a basic definition list, without requiring any other specific markup, into a small-footprint, easily configurable, fully customizable, cross-browser accordion widget, useful for better organizing larger groups of content. It is easily customizable through CSS, can be configured to work so that only a single can be expanded at a time or so that all tabs may be expanded/collapsed, and can be configured to work so tabs expand on mouse-over. When, after expanding a tab, part of its content is outside the viewport, it automatically scrolls the browser’s window so that the tab’s content is visible. Callback functions can be used for further customizations. Zebra_Accordion works in all major browsers.
Zebra_Cookie is an extremely small (~500 bytes minified) jQuery plugin for writing, reading, and deleting cookies. Handling cookies can be a daunting task using plain JavaScript, and because jQuery doesn’t natively include functions for handling cookies and one must rely on plug-ins.