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.
PHP Array to Object converter is a PHP class that can be used to turn any array into an object. It takes an array and assigns the variables of the class with the values of the array entries with the same name. Array entries with array values are also converted to objects recursively.
ClassPublic.java is a Java .class file converter which makes a Java class public and non-final, its fields public, and its methods public and non-final. ClassPublic.java has a compact implementation, depending only on J2SE 1.5.0 or newer. ClassPublic.java can be used to increase interoperability and code reusability of a .class file whose .java source is not available or is not feasible to recompile.
RayHttp is a PHP class that provides an HTTP client for sending requests to Web servers. It can configure and send HTTP GET and POST requests using the Curl extension or PHP file access functions. When using the Curl extension, all Curl options may be set changing a class array variable.
PicasaWeb class is a PHP class that can be used to display galleries of photos from PicasaWeb albums. It can access the PicasaWeb Web services API server and retrieve information about albums or photos in order to generate HTML to display photos in the current site. The class can display listings of albums in a given PicasaWeb account and display the photos of a given album.
Videopian is a PHP class that allows you to get any kind of information (such as title, description, author, duration, or flash player URL) about a video hosted on a video sharing service, just by its URL. The currently supported services are Blip, Dailymotion, Flickr (API key required), Google Video, Metacafe, MySpace, Veoh (API key required), Vimeo, and YouTube.
Class Manager can be used to load classes based on classpath definitions read from XML files. Source files are loaded automatically and transparently to the application. It checks if source files exist, detects class name collisions, includes all source files to find compilation errors, and more.
PunyURL is a class that can be used to create short URLs using the Puny sapo.pt Web services API. It can send an HTTP request to the services.sapo.pt Web services API to create a short URL for another given URL. The class can also do the opposite, i.e. get the original URL associated to a previously created short URL.
Simulated annealing is a computational algorithm for optimization. It mimics the physical process of thermal annealing in which a metal is heated and then slowly cooled to settle into a highly ordered crystal structure. For common metals, the lowest energy state is already known. But the method is useful for other problems where the best state is not known and exhaustively searching all possible states is impractical. The method is applied by modeling the problem as a physical system with structure, energy, and temperature. This Python module implements simulated annealing so that it can be easily applied to a variety of problems. An example program is include to perform simulated annealing of the traveling salesman problem.