13 projects tagged "classes"
Zebra_Database 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 powerful and intuitive to use than PHP’s default ones. It supports transactions and provides ways for caching query results either by saving cached data on the disk, or by using memcache.The class provides a comprehensive debugging interface with detailed information about the executed queries: execution time, returned/affected rows, excerpts of the found rows, error messages, etc. It also automatically EXPLAIN‘s each SELECT query (so you don’t miss those keys again). It encourages developers to write maintainable code and provides a better default security layer by automatically escaping strings. Zebra_Database‘s code is heavily commented and generates no warnings, errors, or notices when PHP’s error reporting level is set to E_ALL.
Zebra_Session is a PHP class that acts as a wrapper for PHP’s default session handling functions. Instead of storing session data in flat files, it stores them in a MySQL database, thus providing both better security and better performance. The Zebra_Session class is also a solution for applications that are scaled across multiple Web servers (using a load balancer or a round-robin DNS) and where the user’s session data needs to be available, since storing sessions in a database makes them available to all of the servers. Zebra_Session‘s code is heavily commented and generates no warnings, errors, or notices when PHP’s error reporting level is set to E_ALL.
Zebra_Image is a compact (one file only), 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). The code is heavily commented and generates no warnings/errors/notices when PHP’s error reporting level is set to E_ALL. It can rescale, flip, rotate, and crop images. It supports loading and saving images in the GIF, JPEG, and PNG formats and preserves transparency for GIF, PNG, and PNG24. It can re-size images to an exact given width and height and still maintain aspect ratio.
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. Zebra_Form has an integrated cross-site scripting prevention mechanism that automatically strips out potentially malicious code from the submitted data. It also prevents automated SPAM posts, out of the box and without relying on CAPTCHA by using honey pots. Output can be generated either automatically or manually through templates (basic PHP files). When generated automatically, the generated output has the same look and feel across all major browsers. It provides all the controls you’d expect in an HTML form and, additionally, date/time pickers, captcha, and AJAX-like file upload controls.
NaturePHP is a classes wrapper using PHP's autoload to create a non-intrusive, simple, organized, and extensible library system. It is aimed at intermediate and advanced PHP developers, providing a lot of non-intrusive functionality for Web site and application development. Upcoming development will include internal library management and the ability to download/update libraries from the repository.
astateful is a unique approach to Web development. It incorporates a solid theoretical foundation based on Dynamic Programming in which a Web site is programmed in such in a way that it can be "solved" using a 'top down' or 'bottom up' approach. It is very scalable. Caching and encryption are included by default. It has a steep learning curve.
Components 4 Java is a development tool for Java. It provides a framework to organize and separate different parts of code, and fills the gap between the class level and the library level as provided by the Java SE architecture. Additionally, you can organize your classes in well-separated and loosely coupled components. Those can be stuck together graphically into larger compositions. Finally, components and compositions will be distributed among Java archives as specified in assemblies.
Zebra_Pagination is a generic pagination PHP library which automatically generates HTML navigation links (next, previous, specific pages) given the total number of records and the number of records to be displayed per page. It can generate links both in natural and in reverse order, can be easily localized, supports page propagation via GET or via URL rewriting, lets the appearance be easily customized through CSS, and is SEO-friendly (it uses rel="prev" and rel="next", and solves the problem of duplicate content on the first page without navigation and the first page having the page number in the URL). Please note that this is a *generic* pagination PHP library, meaning that it does not display any records. It is up to the developer to fetch the actual data and display it based on the information returned by this class. The advantage is that it can be used to paginate records coming from any source (arrays, database, etc). Zebra_Pagination's code is heavily commented and generates no warnings/errors/notices when PHP's error reporting level is set to E_ALL.