js
Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 81
js-search 1.0
js-search is a javascript indexing and searching. more>>
js-search is a javascript indexing and searching.
A client-side library for building a simple inverted index, and searching it.
You can download the source code from SVN with the following command:
svn checkout http://js-search.googlecode.com/svn/trunk/ js-search
<<lessA client-side library for building a simple inverted index, and searching it.
You can download the source code from SVN with the following command:
svn checkout http://js-search.googlecode.com/svn/trunk/ js-search
Download (MB)
Added: 2006-11-03 License: The Apache License 2.0 Price:
1093 downloads
php-js 0.1.2
php-js is an experimental PHP extension which embeds the Mozilla SpiderMonkey JavaScript engine into PHP. more>>
php-js application is an experimental PHP extension which embeds the Mozilla SpiderMonkey JavaScript engine into PHP.
Installation and Usage:
A simple ./configure; make; make install should do the trick. Make sure to add an extension=js.so line to your php.ini/php.d. Note: you need to install libjs first. If youre using a Redhat-esque system, you can use the SRPM provided above, else, use the TBZ.
Then, just use js_eval to evaluate your JavaScript. js_eval returns the value returned by the JavaScript interpreter to PHP.
For example:
js_eval("var a = 123;");
js_eval("var b = 456;");
$c = js_eval("[a, b];");
echo "a is ".$c[0]."n";
echo "b is ".$c[1]."n";
js_eval("var sum = function(x, y) { return x + y; }");
$d = js_eval("sum(a, b);");
echo "The sum of a and b is ".$d."n";
Would produce:
a is 123
b is 456
The sum of a and b is 579
js_eval takes an optional boolean argument, assoc, which returns objects as associative arrays instead of PHP objects.
The php-js execution environment provides two built-in JavaScript system functions:
print
gc
print outputs its argument to the php output stream.
gc forces garbage collection within the JavaScript environment.
Enhancements:
- A session shutdown issue has been fixed.
- There is better handling of null objects.
<<lessInstallation and Usage:
A simple ./configure; make; make install should do the trick. Make sure to add an extension=js.so line to your php.ini/php.d. Note: you need to install libjs first. If youre using a Redhat-esque system, you can use the SRPM provided above, else, use the TBZ.
Then, just use js_eval to evaluate your JavaScript. js_eval returns the value returned by the JavaScript interpreter to PHP.
For example:
js_eval("var a = 123;");
js_eval("var b = 456;");
$c = js_eval("[a, b];");
echo "a is ".$c[0]."n";
echo "b is ".$c[1]."n";
js_eval("var sum = function(x, y) { return x + y; }");
$d = js_eval("sum(a, b);");
echo "The sum of a and b is ".$d."n";
Would produce:
a is 123
b is 456
The sum of a and b is 579
js_eval takes an optional boolean argument, assoc, which returns objects as associative arrays instead of PHP objects.
The php-js execution environment provides two built-in JavaScript system functions:
gc
print outputs its argument to the php output stream.
gc forces garbage collection within the JavaScript environment.
Enhancements:
- A session shutdown issue has been fixed.
- There is better handling of null objects.
Download (0.13MB)
Added: 2006-04-17 License: The PHP License Price:
1285 downloads
jsSnow 0.4
jsSnow project is a port of XSnow for Web pages. more>>
jsSnow project is a port of XSnow for Web pages.
The framerate is auto-adjusted, and it works for Mozilla, Netscape (>=4), and IE (>=4).
Enhancements:
- code clearings
- santa moves with storm
- renamed jsSnow_ .js to jsSnow.js
<<lessThe framerate is auto-adjusted, and it works for Mozilla, Netscape (>=4), and IE (>=4).
Enhancements:
- code clearings
- santa moves with storm
- renamed jsSnow_ .js to jsSnow.js
Download (0.016MB)
Added: 2006-11-10 License: GPL (GNU General Public License) Price:
627 downloads
AspectJS 1.0.0
AspectJS is a Javascript AOP framework. more>>
AspectJS is a Javascript AOP framework.
Using:
Import
You MUST include the following aspect.js Javascript file :
< script src="aspectjs.js" >< /script >
Weaving
In order to weave the aspects, you SHOULD use this method :
Weaver.addAdvice ( aspect_name, aspect_method, joinpoint_type, pointcut_name, pointcut_method);
Todo
improve compatibility with more browser
complete documentation
<<lessUsing:
Import
You MUST include the following aspect.js Javascript file :
< script src="aspectjs.js" >< /script >
Weaving
In order to weave the aspects, you SHOULD use this method :
Weaver.addAdvice ( aspect_name, aspect_method, joinpoint_type, pointcut_name, pointcut_method);
Todo
improve compatibility with more browser
complete documentation
Download (0.004MB)
Added: 2006-02-22 License: LGPL (GNU Lesser General Public License) Price:
1339 downloads
OSSP js 1.6.20070208
OSSP js is a stand-alone distribution of the JavaScript (JS) programming language reference implementation from Mozilla. more>>
OSSP js is a stand-alone distribution of the JavaScript (JS) programming language reference implementation from Mozilla -- aka "JSRef" or "SpiderMonkey".
OSSP js provides a smart, stand-alone and portable distribution of Mozilla JavaScript through a build environment based on GNU autoconf, GNU libtool and GNU shtool, including support for easy JavaScript build-time feature set selection (ECMA-3, JS-1.5, JS-1.6), optional CLI line editing support, optional "stdio" based File object support and JS/Perl bindings.
Additionally, the C API in "libjs" contains both the JavaScript engine and the required Sun math library ("fdlibm") and with all internal symbols carefully protected under the "js" namespace. Finally, a js-config(1) utility and a pkg-config(1) specification is provided to allow applications to easily build with the JavaScript C API.
OSSP js was created because for OSSP and similar pedantic C coding projects a smart, stand-alone, portable, clean, powerful and robust scripting language engine is required. JavaScript is a great programming language and Mozilla JavaScript "SpiderMonkey" definitely is an acceptable clean, powerful and robust implementation.
Unfortunately there is just a stand-alone distribution released from time to time by Mozilla and it is far away from really being smart, stand-alone and portable. At least for OSSP it was not acceptable having to tell the community that for small and stand-alone C components like the OSSP components they either have to install the great but large Mozilla Firefox application (where Mozilla JavaScript is included) or have to fiddle around theirself with an older stand-alone JavaScript distribution and its weak build environment.
OSSP js combines the best from two worlds: the 1:1 repackaged JavaScript code base from Mozilla and the usual amount of GNU autoconf, GNU libtool and GNU shtool wrappers as always used by OSSP. Additionally, stand-alone ("stdio" instead of NSPR based) File object support was required.
Enhancements:
- The build environment was upgraded to GNU autoconf 2.61 and a jspack(1) command that is a CLI adaption of Dean Edwards JavaScript "packer" was added.
<<lessOSSP js provides a smart, stand-alone and portable distribution of Mozilla JavaScript through a build environment based on GNU autoconf, GNU libtool and GNU shtool, including support for easy JavaScript build-time feature set selection (ECMA-3, JS-1.5, JS-1.6), optional CLI line editing support, optional "stdio" based File object support and JS/Perl bindings.
Additionally, the C API in "libjs" contains both the JavaScript engine and the required Sun math library ("fdlibm") and with all internal symbols carefully protected under the "js" namespace. Finally, a js-config(1) utility and a pkg-config(1) specification is provided to allow applications to easily build with the JavaScript C API.
OSSP js was created because for OSSP and similar pedantic C coding projects a smart, stand-alone, portable, clean, powerful and robust scripting language engine is required. JavaScript is a great programming language and Mozilla JavaScript "SpiderMonkey" definitely is an acceptable clean, powerful and robust implementation.
Unfortunately there is just a stand-alone distribution released from time to time by Mozilla and it is far away from really being smart, stand-alone and portable. At least for OSSP it was not acceptable having to tell the community that for small and stand-alone C components like the OSSP components they either have to install the great but large Mozilla Firefox application (where Mozilla JavaScript is included) or have to fiddle around theirself with an older stand-alone JavaScript distribution and its weak build environment.
OSSP js combines the best from two worlds: the 1:1 repackaged JavaScript code base from Mozilla and the usual amount of GNU autoconf, GNU libtool and GNU shtool wrappers as always used by OSSP. Additionally, stand-alone ("stdio" instead of NSPR based) File object support was required.
Enhancements:
- The build environment was upgraded to GNU autoconf 2.61 and a jspack(1) command that is a CLI adaption of Dean Edwards JavaScript "packer" was added.
Download (1.0MB)
Added: 2007-02-08 License: MPL (Mozilla Public License) Price:
989 downloads
JSEclipse 1.5.2
JSEclipse is a freeware Javascript plug-in for the Eclipse environment. more>>
JSEclipse project is a Javascript plug-in for the Eclipse environment. Designed to help web developers edit JavaScript files with ease, it has built in support for:
- Code completion for JavaScript function and classes.
- Code completion for JavaDoc.
- Function and class names are displayed in the Outline panel for the currently open file.
- Open declaration
- Error reporting
- Warning reporting
- Code wrap
Enhancements:
- All prototype.js and script.aculo.us class extending idioms are now recognized.
- Full YAHOO framework support was added.
- Major performance improvement were made for content outline (smoother reparsing).
- A debugger keyword generates a line breakpoint marker in the editor, instead of an error.
- Ctrl+/ no longer toggles a comment, but instead will comment or uncomment all the lines.
- Pressing ENTER inside a single line comment preserves the comment.
- The state of content outline buttons is now persistent.
<<less- Code completion for JavaScript function and classes.
- Code completion for JavaDoc.
- Function and class names are displayed in the Outline panel for the currently open file.
- Open declaration
- Error reporting
- Warning reporting
- Code wrap
Enhancements:
- All prototype.js and script.aculo.us class extending idioms are now recognized.
- Full YAHOO framework support was added.
- Major performance improvement were made for content outline (smoother reparsing).
- A debugger keyword generates a line breakpoint marker in the editor, instead of an error.
- Ctrl+/ no longer toggles a comment, but instead will comment or uncomment all the lines.
- Pressing ENTER inside a single line comment preserves the comment.
- The state of content outline buttons is now persistent.
Download (1.4MB)
Added: 2006-05-22 License: GPL (GNU General Public License) Price:
1276 downloads
z3c.formjs 0.2.0
This provides a Python API to common Javascript features for forms written with the z3c.form packages. more>>
z3c.formjs 0.2.0 with its excellent features will surely support your work. It can actually provide a Python API to common Javascript features for forms written with the 'z3c.form' packages. While the reference backend-implementation is for the JQuery library, any other Javascript library can be hooked into the Python API.
In the 'z3c.form' package, buttons are most commonly rendered as "submit" input fields within a form, meaning that the form will always be submitted. When working with Javascript, on the other hand, a click on the button often simply executes a script. The 'jsaction' module of this package is designed to implement the latter kind.
Enhancements: 7/18/2007
- Feature: Registration of public AJAX server calls via a simple decorator. The calls are made available via a special 'ajax' view on the original view.
- Feature: Allow registering of JS subscriptions via a decorator within the presentation component.
- Feature: Added a new CSS selector.
- Feature: Implementation of AJAX-driven widget value validation.
- Restructure: Completely overhauled the entire API to be most easy to use and have the most minimal implementation.
- Bug: The package is now 100% tested.
- Feature: Implementation of AJAX request handlers in forms.
Added: 2007-07-26 License: ZPL Price: FREE
1 downloads
JsHttpRequest 5.0
JsHttpRequest project is an easy-to-use cross-browser AJAX library with AJAX file uploading support and many other features. more>>
JsHttpRequest project is an easy-to-use cross-browser AJAX library with AJAX file uploading support and many other features. JsHttpRequest first appeared as cross-browser analogue of XMLHttpRequest, and then became a very useful instrument to create dynamic web pages.
It uses JavaScript (ActiveX, DOM, XMLHttpRequest if available) in frontend and PHP in backend.
Main features:
- Excellent cross-browser compatibility (e.g. works with IE 5.0 with disabled ActiveX).
- Support and "transparent" work with any character encoding (including any national).
- AJAX file uploads.
- Full support of PHP debug features and coding traditions.
- Multi-dimensional data structures exchange (associative arrays).
- Automatic choice of the best AJAX realization (XMLHttpRequest, < SCRIPT >, < IFRAME >).
- XMLHttpRequest-compatible interface is available.
Enhancements:
- Fully automatic regression test suite (even better and guaranteed cross-browser compatibility).
- The library code is now module-based (e.g. JsHttpRequest-script.js is 8K only).
- Support and "transparent" work with any character encoding (including any national).
- The library code is now compressed using the dojomin utility (the size is lowered greatly).
- Automatic support for PHPs native JSON functions (if available; this speeds up performance by 3 times).
- The XML loader now returns valid JSON.
- New documentation: easy to understand tutorial and protocol specifications.
<<lessIt uses JavaScript (ActiveX, DOM, XMLHttpRequest if available) in frontend and PHP in backend.
Main features:
- Excellent cross-browser compatibility (e.g. works with IE 5.0 with disabled ActiveX).
- Support and "transparent" work with any character encoding (including any national).
- AJAX file uploads.
- Full support of PHP debug features and coding traditions.
- Multi-dimensional data structures exchange (associative arrays).
- Automatic choice of the best AJAX realization (XMLHttpRequest, < SCRIPT >, < IFRAME >).
- XMLHttpRequest-compatible interface is available.
Enhancements:
- Fully automatic regression test suite (even better and guaranteed cross-browser compatibility).
- The library code is now module-based (e.g. JsHttpRequest-script.js is 8K only).
- Support and "transparent" work with any character encoding (including any national).
- The library code is now compressed using the dojomin utility (the size is lowered greatly).
- Automatic support for PHPs native JSON functions (if available; this speeds up performance by 3 times).
- The XML loader now returns valid JSON.
- New documentation: easy to understand tutorial and protocol specifications.
Download (0.12MB)
Added: 2007-04-11 License: LGPL (GNU Lesser General Public License) Price:
928 downloads
Scheme2Js 20060718
Scheme2Js is a Scheme to Javascript compiler. more>>
Scheme2Js is a Scheme to Javascript compiler. While some effort has been spent on being as close as possible to R5rs, we concentrated mainly on efficiency.
Usually Scheme2Js produces Javascript code, that is comparable to hand-written code. In order to achieve this performance, Scheme2Js is not completely R5rs compliant. In particular it lacks support for continuations, exact numbers and it treats tail recursion only partially.
Scheme2Js provides several flags, that allow to modify the result:
- --no-js-dot-notation disallows access to JavaScript fields with the dot-notation. This flag disables accesses of the form x.y like in document.getElementById. It is however still possible to access the is a valid expression using the js-field function.
- --mutable-strings: in order to improve the performance of string-operations and to ease the interface between Scheme and JavaScript code, the default implementation maps Scheme strings to JavaScript strings. Contrary to Scheme strings, JavaScript strings are however immutable. This flag maps strings to a JavaScript class, that represents Scheme strings, that are mutable. The resulting code might be slightly slower, and it is more difficult to interface with Javascript code.
- --encapsulate-parts encapsulates the program into an anonymous function. Only global variables are outside of this anonymous function. On one hand this introduces one function call to the anonymous function. But on the other hand most Javascript implementations should run faster with this optimization: usually hashtables are used to represent scopes in JavaScript. By using an anonymous function the programs variables are separated into their own smaller hashtable which (in theory) accelerates accesses to these variables. More importantly the variables are stored in their own hashtable, and not in the global hashtable, which is accessible by the global variable. It is extremely easy to indirectly modify the contents of global variables. Inlining or other common optimizations are hence impossible to do on global variables. By storing the programs variables in an anonymous function these optimizations become again possible.
- --optimize-var-number reduces the number of variables used in the resulting JavaScript code. The code may run faster, but is more difficult to debug, as the variable names are lost and the same variable might be used several times.
- --optimize-while: with this flag Scheme2Js optimizes common while loops. The unoptimized while loops are often of the form:
while(true) {
if(test)
resVar = res;
else {
modify_loop_variable;
continue;
}
break;
}
This optimization looks for these patterns and moves the test into the while loop:
while(!test) {
modify_loop_variable;
}
resVar = res;
This optimization has been implemented only recently and is therefore not yet activated by default.
- --verbose prints some information.
- --no-inlining disables all function inlining (constants might still be inlined).
- --inline-globals lets Scheme2Js inline global functions and constants. This might have two unwanted side-effects: for one, global variables are often used to transfer data between different modules. Some inlined functions are lost if there is no reference to them anymore. If global functions are to be used outside a module, one should not use this flag. (This behavior is likely to change in future versions of Scheme2Js.)
- --unresolved-is-js: if a variable is unbound, the compiler will assume the variable comes from another module, or from JavaScript. See Section Scheme - Javascript for a more detailed discussion of the JavaScript Scheme interface.
- --js-this provides the this variable within Scheme functions. This way, Scheme procedures can be used as methods of JavaScript objects.
- --no-tailrec disables the tailrec to while-loop optimization. If you suspect a bug in the compilers way of translating tail-recs, you could try this flag.
- --no-optimize-calls disables Scheme2Js inlining of binary or unary operations. For instance sci_plus(3, 5) is optimized to (3+5). This optimization is quite important, and theres usually no reason to disable it.
- --no-optimize-consts disables the pre-constant calculation. Unless disabled (with this flag), compound constants are precalculated and their occurrences replaced by a reference to a variable holding the constant. This makes repeated accesses to these constants faster, but introduces new variables.
- --no-optimize-boolify disables the boolify optimization. JavaScripts and Schemes boolify are not equivalent: JavaScript considers false, 0, null and undefined to be false, whereas Scheme only has #f. The unoptimized boolify therefore always adds the test against false: if (test !== false) ... If Scheme2Js can see, that the test itself is a boolean, it can remove the unnecessary !== false test. This flag disables this optimization.
- --d STAGE prints a dot-file (see graphviz) of the AST after stage STAGE. Possible stages are: expand, tree, symbol, node-elim1, tail, inline, constant-propagation, rm-unused-vars, capture, node-elim2, while, (tt "statements"), node-elim3. Usually one doesnt need this flag, unless for debugging purposes.
- --print-locs prints the original locations as comments to the JavaScript file. These locations are currently the character-offset from the beginning of the file.
Enhancements:
- This release adds trampolines.
<<lessUsually Scheme2Js produces Javascript code, that is comparable to hand-written code. In order to achieve this performance, Scheme2Js is not completely R5rs compliant. In particular it lacks support for continuations, exact numbers and it treats tail recursion only partially.
Scheme2Js provides several flags, that allow to modify the result:
- --no-js-dot-notation disallows access to JavaScript fields with the dot-notation. This flag disables accesses of the form x.y like in document.getElementById. It is however still possible to access the is a valid expression using the js-field function.
- --mutable-strings: in order to improve the performance of string-operations and to ease the interface between Scheme and JavaScript code, the default implementation maps Scheme strings to JavaScript strings. Contrary to Scheme strings, JavaScript strings are however immutable. This flag maps strings to a JavaScript class, that represents Scheme strings, that are mutable. The resulting code might be slightly slower, and it is more difficult to interface with Javascript code.
- --encapsulate-parts encapsulates the program into an anonymous function. Only global variables are outside of this anonymous function. On one hand this introduces one function call to the anonymous function. But on the other hand most Javascript implementations should run faster with this optimization: usually hashtables are used to represent scopes in JavaScript. By using an anonymous function the programs variables are separated into their own smaller hashtable which (in theory) accelerates accesses to these variables. More importantly the variables are stored in their own hashtable, and not in the global hashtable, which is accessible by the global variable. It is extremely easy to indirectly modify the contents of global variables. Inlining or other common optimizations are hence impossible to do on global variables. By storing the programs variables in an anonymous function these optimizations become again possible.
- --optimize-var-number reduces the number of variables used in the resulting JavaScript code. The code may run faster, but is more difficult to debug, as the variable names are lost and the same variable might be used several times.
- --optimize-while: with this flag Scheme2Js optimizes common while loops. The unoptimized while loops are often of the form:
while(true) {
if(test)
resVar = res;
else {
modify_loop_variable;
continue;
}
break;
}
This optimization looks for these patterns and moves the test into the while loop:
while(!test) {
modify_loop_variable;
}
resVar = res;
This optimization has been implemented only recently and is therefore not yet activated by default.
- --verbose prints some information.
- --no-inlining disables all function inlining (constants might still be inlined).
- --inline-globals lets Scheme2Js inline global functions and constants. This might have two unwanted side-effects: for one, global variables are often used to transfer data between different modules. Some inlined functions are lost if there is no reference to them anymore. If global functions are to be used outside a module, one should not use this flag. (This behavior is likely to change in future versions of Scheme2Js.)
- --unresolved-is-js: if a variable is unbound, the compiler will assume the variable comes from another module, or from JavaScript. See Section Scheme - Javascript for a more detailed discussion of the JavaScript Scheme interface.
- --js-this provides the this variable within Scheme functions. This way, Scheme procedures can be used as methods of JavaScript objects.
- --no-tailrec disables the tailrec to while-loop optimization. If you suspect a bug in the compilers way of translating tail-recs, you could try this flag.
- --no-optimize-calls disables Scheme2Js inlining of binary or unary operations. For instance sci_plus(3, 5) is optimized to (3+5). This optimization is quite important, and theres usually no reason to disable it.
- --no-optimize-consts disables the pre-constant calculation. Unless disabled (with this flag), compound constants are precalculated and their occurrences replaced by a reference to a variable holding the constant. This makes repeated accesses to these constants faster, but introduces new variables.
- --no-optimize-boolify disables the boolify optimization. JavaScripts and Schemes boolify are not equivalent: JavaScript considers false, 0, null and undefined to be false, whereas Scheme only has #f. The unoptimized boolify therefore always adds the test against false: if (test !== false) ... If Scheme2Js can see, that the test itself is a boolean, it can remove the unnecessary !== false test. This flag disables this optimization.
- --d STAGE prints a dot-file (see graphviz) of the AST after stage STAGE. Possible stages are: expand, tree, symbol, node-elim1, tail, inline, constant-propagation, rm-unused-vars, capture, node-elim2, while, (tt "statements"), node-elim3. Usually one doesnt need this flag, unless for debugging purposes.
- --print-locs prints the original locations as comments to the JavaScript file. These locations are currently the character-offset from the beginning of the file.
Enhancements:
- This release adds trampolines.
Download (0.077MB)
Added: 2006-07-19 License: GPL (GNU General Public License) Price:
1192 downloads
Pyjamas 0.1
Pyjamas is a toolkit and library designed to enable writing AJAX applications in Python. more>>
Pyjamas is a toolkit and library designed to enable writing AJAX applications in Python. Pyjamas is based on Googles GWT, which does the same thing for Java.
ike GWT, pyjamas involves the translation of the application and libraries (including UI widgets and DOM classes) to Javascript and the packaging up of that Javascript code.
There are two core developer tools included with pyjamas. pyjs translates Python code to Javascript by walking the Python abstract syntax tree and generating Javascript.
In many cases, built-in Python types require a custom Javascript implementation. For example, even though Python lists are similar to Javascript arrays, Python lists are converted to custom objects that implement methods like append. These custom objects required for translation by pyjs are defined in a library called pyjslib.
Like GWT, pyjamas comes with a set of UI widgets as well as a library for DOM manipulation. These libraries are written in Python but are, like everything else, translated to Javascript for deployment.
The overall translation of individual components is managed by build which also creates the necessary boilerplate code. The result is a set of .html and .js files that can be served up by a Web server.
There are other components planned which have not been covered here such as server-side code for communication in client-server applications.
Enhancements:
- All the GWT examples have been ported and work in Firefox.
<<lessike GWT, pyjamas involves the translation of the application and libraries (including UI widgets and DOM classes) to Javascript and the packaging up of that Javascript code.
There are two core developer tools included with pyjamas. pyjs translates Python code to Javascript by walking the Python abstract syntax tree and generating Javascript.
In many cases, built-in Python types require a custom Javascript implementation. For example, even though Python lists are similar to Javascript arrays, Python lists are converted to custom objects that implement methods like append. These custom objects required for translation by pyjs are defined in a library called pyjslib.
Like GWT, pyjamas comes with a set of UI widgets as well as a library for DOM manipulation. These libraries are written in Python but are, like everything else, translated to Javascript for deployment.
The overall translation of individual components is managed by build which also creates the necessary boilerplate code. The result is a set of .html and .js files that can be served up by a Web server.
There are other components planned which have not been covered here such as server-side code for communication in client-server applications.
Enhancements:
- All the GWT examples have been ported and work in Firefox.
Download (0.60MB)
Added: 2006-11-08 License: GPL (GNU General Public License) Price:
1082 downloads
JavaScript::App 0.13
JavaScript::App is a Perl framework for building dynamic widgets or full applications in Javascript. more>>
JavaScript::App is a Perl framework for building dynamic widgets or full applications in Javascript.
SYNOPSIS
see the documentation for "js-app" ("man js-app" or "perldoc js-app")
"js-app" is a Javascript Application framework with which you can build rich web applications and widgets embeddable in web pages.
<<lessSYNOPSIS
see the documentation for "js-app" ("man js-app" or "perldoc js-app")
"js-app" is a Javascript Application framework with which you can build rich web applications and widgets embeddable in web pages.
Download (0.041MB)
Added: 2006-09-05 License: Perl Artistic License Price:
1154 downloads
RAJAX 1.5
RAJAX is an approach to remove the repetitive code that coders need to add for simple AJAX applications. more>>
RAJAX is an approach to remove the repetitive code that coders need to add for simple AJAX applications. RAJAXs main goal is to create a library that at runtime will generate a proxy JavaScript class to a server side Java class allowing the web programmer to invoke remote methods in the local JavaScript object.
The project is composed by an network abstraction layer and other sub components such as a Model-View-Controller Framework totally based in AJAX and JavaScript. Since this the project is quite dynamic other components will be added from research experiences or user requests.
Installation:
- Note: Requires Java Runtime Environment (JRE) 1.5 or higher. Requires a Servlet 2.4 compatible container, Tomcat 5.5.x/6.x recomended.
- Add rajaxlib.jar to your webapp WEB-INF/lib.
- Add js/* to your webapp web/js.
- Alternatively grab the sample webapp from the repository and start from it.
Enhancements:
- A Servlet dispatcher was added, so there is no need to declare each bean as a servlet in web.xml.
- RAJAX objects are POJOs and can be tested with JUnit without running a container.
- Nimble MVC now uses the concept of the Observer pattern for event attaching and detaching.
- The code for the XSLT processor on the server side when the browser cannot handle the action locally was started.
<<lessThe project is composed by an network abstraction layer and other sub components such as a Model-View-Controller Framework totally based in AJAX and JavaScript. Since this the project is quite dynamic other components will be added from research experiences or user requests.
Installation:
- Note: Requires Java Runtime Environment (JRE) 1.5 or higher. Requires a Servlet 2.4 compatible container, Tomcat 5.5.x/6.x recomended.
- Add rajaxlib.jar to your webapp WEB-INF/lib.
- Add js/* to your webapp web/js.
- Alternatively grab the sample webapp from the repository and start from it.
Enhancements:
- A Servlet dispatcher was added, so there is no need to declare each bean as a servlet in web.xml.
- RAJAX objects are POJOs and can be tested with JUnit without running a container.
- Nimble MVC now uses the concept of the Observer pattern for event attaching and detaching.
- The code for the XSLT processor on the server side when the browser cannot handle the action locally was started.
Download (0.025MB)
Added: 2007-06-18 License: GPL (GNU General Public License) Price:
859 downloads
Linux::Joystick 0.0.1
Linux::Joystick is an object-oriented, pure Perl API for accessing joystick devices under Linux-based operating systems. more>>
Linux::Joystick is an object-oriented, pure Perl API for accessing joystick devices under Linux-based operating systems. Linux::Joystick module is capable of using either blocking or non-blocking I/O, and represents each axis change or button press as a Linux::Joystick::Event object.
USAGE
If you want your application to be driven by joystick events, use blocking I/O and an event loop:
use Linux::Joystick;
my $js = new Linux::Joystick;
my $event;
print "Joystick has " . $js->buttonCount() . " buttons ".
"and " . $js->axisCount() . " axes.n";
# blocking reads:
while( $event = $js->nextEvent ) {
print "Event type: " . $event->type . ", ";
if($event->isButton) {
print "Button " . $event->button;
if($event->buttonDown) {
print " pressed";
} else {
print " released";
}
} elsif($event->isAxis) {
print "Axis " . $event->axis . ", value " . $event->axisValue . ", ";
print "UP" if $event->stickUp;
print "DOWN" if $event->stickDown;
print "LEFT" if $event->stickLeft;
print "RIGHT" if $event->stickRight;
} else { # should never happen
print "Unknown event " . $event->hexDump;
}
print "n";
}
# if the while loop terminates, we got a false (undefined) event:
die "Error reading joystick: " . $js->errorString;
You can also use non-blocking I/O, in which case nextEvent() returning undef just means there was no event to read:
my $js = Linux::Joystick->new(nonblocking => 1);
# use this to open 2nd joystick in nonblocking mode instead:
# my $js = Linux::Joystick->new(device => 1, nonblocking => 1);
while(1) {
my $event = $js->nextEvent;
if($event) {
print "Got a joystick eventn";
# process the event here
}
# Do other processing here (graphics, sound, I/O, calculation)
}
It is possible to switch between blocking and non-blocking I/O without reopening the device (see the setNonblocking() method, below).
<<lessUSAGE
If you want your application to be driven by joystick events, use blocking I/O and an event loop:
use Linux::Joystick;
my $js = new Linux::Joystick;
my $event;
print "Joystick has " . $js->buttonCount() . " buttons ".
"and " . $js->axisCount() . " axes.n";
# blocking reads:
while( $event = $js->nextEvent ) {
print "Event type: " . $event->type . ", ";
if($event->isButton) {
print "Button " . $event->button;
if($event->buttonDown) {
print " pressed";
} else {
print " released";
}
} elsif($event->isAxis) {
print "Axis " . $event->axis . ", value " . $event->axisValue . ", ";
print "UP" if $event->stickUp;
print "DOWN" if $event->stickDown;
print "LEFT" if $event->stickLeft;
print "RIGHT" if $event->stickRight;
} else { # should never happen
print "Unknown event " . $event->hexDump;
}
print "n";
}
# if the while loop terminates, we got a false (undefined) event:
die "Error reading joystick: " . $js->errorString;
You can also use non-blocking I/O, in which case nextEvent() returning undef just means there was no event to read:
my $js = Linux::Joystick->new(nonblocking => 1);
# use this to open 2nd joystick in nonblocking mode instead:
# my $js = Linux::Joystick->new(device => 1, nonblocking => 1);
while(1) {
my $event = $js->nextEvent;
if($event) {
print "Got a joystick eventn";
# process the event here
}
# Do other processing here (graphics, sound, I/O, calculation)
}
It is possible to switch between blocking and non-blocking I/O without reopening the device (see the setNonblocking() method, below).
Download (0.022MB)
Added: 2007-01-05 License: Perl Artistic License Price:
1022 downloads
Tacos 4.0.1
Tacos provides a component repository for the Tapestry Web application development framework. more>>
Tacos library project provides components and ajax behaviour for the Tapestry java web application framework.
Its intent is to provide a library of high quality components that may be used in your tapestry application, as well as provide a core infrastructure for using ajax related logic in these and your own components and pages.
The current alpha-4 release of tacos marks a very large milestone, in the form of full dojo integration/new effects parameters to link/form components/and general bug fixes and productionizing of new components.
Current development efforts are focused on the following items:
Dojo Integration: Most of the library now relies almost exclusively on dojo. Any parts not yet handled by dojo will be evaluated for alternatives, or patch submissions to eliminate most outside dependencies.
Ajax Libraries:
Tacos supports a variety of different client side javascript libraries focused around ajax. These are a few:
dojo - Serves as the basis for most of the tacos library functionality. The best js package available hands down.
Prototype - Currently seems to be one of the core library components that many other libraries are based on. Provides common fuctionality, like sending/recieving ajax requests, manipulating DOM structures and interacting with forms.
script.aculo.us - A library spun off of the prototype library that provides lots of common "Effects" and animation techniques. Also provides a few ajax components, like Autocomplete and in-place editing.
Rico - Yet another library based on the prototype package. Provides similar functionality to script.aculo.us, with the addition of more comprehensive components and animation techniques.
<<lessIts intent is to provide a library of high quality components that may be used in your tapestry application, as well as provide a core infrastructure for using ajax related logic in these and your own components and pages.
The current alpha-4 release of tacos marks a very large milestone, in the form of full dojo integration/new effects parameters to link/form components/and general bug fixes and productionizing of new components.
Current development efforts are focused on the following items:
Dojo Integration: Most of the library now relies almost exclusively on dojo. Any parts not yet handled by dojo will be evaluated for alternatives, or patch submissions to eliminate most outside dependencies.
Ajax Libraries:
Tacos supports a variety of different client side javascript libraries focused around ajax. These are a few:
dojo - Serves as the basis for most of the tacos library functionality. The best js package available hands down.
Prototype - Currently seems to be one of the core library components that many other libraries are based on. Provides common fuctionality, like sending/recieving ajax requests, manipulating DOM structures and interacting with forms.
script.aculo.us - A library spun off of the prototype library that provides lots of common "Effects" and animation techniques. Also provides a few ajax components, like Autocomplete and in-place editing.
Rico - Yet another library based on the prototype package. Provides similar functionality to script.aculo.us, with the addition of more comprehensive components and animation techniques.
Download (0.54MB)
Added: 2006-10-30 License: GPL (GNU General Public License) Price:
1095 downloads
nessquik 2.5
nessquik is a fast Web-based Nessus scanner that is intended to replace the Nessus stand alone client. more>>
nessquik is a fast Web-based Nessus scanner that is intended to replace the Nessus stand alone client.
nessquik project uses the prototype.js library to provide a responsive interface even when dealing with all of the available Nessus plugins.
Enhancements:
- A complete redesign of the interface has been done.
- Much more flexibility has been added to the interface as well.
- Scans can be stopped while they are running.
- All scan settings can be configured at creation time.
- An XML-RPC API has been added for third party developers.
- Numerous code fixes and performance enhancements have been made to every part of the system.
<<lessnessquik project uses the prototype.js library to provide a responsive interface even when dealing with all of the available Nessus plugins.
Enhancements:
- A complete redesign of the interface has been done.
- Much more flexibility has been added to the interface as well.
- Scans can be stopped while they are running.
- All scan settings can be configured at creation time.
- An XML-RPC API has been added for third party developers.
- Numerous code fixes and performance enhancements have been made to every part of the system.
Download (0.80MB)
Added: 2007-07-07 License: GPL (GNU General Public License) Price:
840 downloads
Secleted [ 0 ] software to compare
Copyright Notice:
Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future software development. The above js search only lists software in full, demo and trial versions for free download. Download links are directly from our mirror sites or publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed