6 projects tagged "JavaScript"
JavaScript::Squish provides methods to compact Javascript source down to only what is needed. It can remove all comments, put everything on one line (semi-)safely, and remove extra whitespace. It breaks the process down into individual steps, and one can pick and choose what parts to complete to get a custom amount of compactness. It is distributed as a Perl module and a handy bin script (so you don't need to know Perl to use it, but you can do a lot more custom things if you do).
Data.FormValidator's aim is to bring all the benefits of the Perl module Data::FormValidator over to JavaScript, using the same input profiles. They can be dumped into JavaScript objects using the Perl module Data::JavaScript. Profiles declare the required and optional fields and any constraints they might have. They may be shared between your backend Perl code. Frontend JavaScript validation may be done, allowing for consistent and thorough validation on both the backend and frontend. The results are provided as an object, which makes it easy to handle missing and invalid results, return error messages about which constraints failed, or process the resulting valid data.
ajax-cross-browser-using-iframes uses Iframes, an empty div, and innerHTML, allowing you to create AJAX calls. It is a little bit confusing at first, but once you understand it and place the necessary nested PHP files, it will allow you to create unimaginable things. It is cross-browser.
Local Data is a PHP class which can store multiple values in a single cookie. It can set and get multiple values which use cookies to be shared between different server-side scripts. The values are stored in cookies encoded in the JSON format so they can be easily accessed with browser-side JavaScript code, preserving the original value data types. A JavaScript library is provided to set and get values stored this way in cookies.
A combined scanner and LR(1) parser generator for C++ and Java code generation.