Datacorner Code Snippets and Demo area
Comments and questions via Datacorner Rants.
Plotting and charting demo | Demo plots odd harmonics to create a square wave. ADD to increase the number of harmonics, RESET to start with a sinusoid. Source Code the jsp source. You will need a server running a jsp container (tested with Tomcat 4.13) to execute this code. Post any questions, comments via Datacorner Rants. Click the helpRant button. |
|
Creating sliders programmatically | Demo
Create sliders using the Zapatec widgets programmatically. User can add sliders for conditions live while using the web page.
Source
CodeJust view source to see the javascript. Builds on the Zapatec widgets available from Zapatec You will need to download their framework to build the basic widgets. This demo adds the ability to include the widgets programmatically. Post any questions, comments
via Datacorner
Rants. Click the helpRant button. |
|
A typing tool using javascript | Demo
This typing game demonstrates some basic javascript techniques for DHTML including animation...and can even teach you how to type. Words are created using a typing distance metric, that's the key distance on the keyboard...how far your fingers have to move from the home key. Clck the run button to start, enter the letters in the falling orange block and then the spacebar to get to the next letter group.
Source
CodeJust view source to see the javascript. Uses many of the techniques used elsewhere in Datacorner.
Comments via Datacorner
Rants. Click the helpRant button. |
|
Encryption demo | Demo javascript-based AES encryption. Use as a browser-based encryption tool or store encrypted files on the server via JSP. Source Code the jsp source. For the associated html source, just go to the home page, click the pwProtect button and save the popup to your desktop. You will need a server running a jsp container (tested with Tomcat 4.13) to execute the login functionality. The javascript encryption works just fine without it. any questions, comments via Datacorner Rants. Click the helpRant button. |
|
tinyWriter editing environment | Demo wraps
the popular tinyMCE javascript-based editor into a complete content
management system via JSP. Includes a password protected login screen,
file manager and editor container Source Code the jsp source. Composed of three files:
You will need a server running a jsp container (tested with Tomcat 4.13) to execute the functionality. A minimal amount of tailoring is required to set up the file storage area on your server. comments via Datacorner Rants. Click the helpRant button. Would appreciate any enhancements you may make along the way. |
|
webmark service benchmark tool | Demo webmark benchmarking tool lets you answer the burning question, "should I entrust operation of my mission critical functions to a remote service?". Provides a stripchart display of ongoing latencies incurred by the service call. Next step, histogram the latencies. And after that, support true web services by uploading a message body as well as the call. And of course, cookie support. Have fun. View the source code. Makes use of 2 jsp's: doCallTime.jsp sets up the display and provides the controls. doCallTime calls doGetTime.jsp which actually makes the call to the remote service and measures the latency.
Source Code the jsp source. Composed of two files:
You will need a server running a jsp container (tested with Tomcat 4.13) to execute the functionality. comments via Datacorner Rants. Click the helpRant button. Would appreciate any enhancements you may make along the way. |
|
Terms and Conditions | Posted code is freeware. Use or abuse at your own risk. Datacorner assumes no responsibility for any outcome of using the posted code. Wouldn't mind a few links back to this site. Reciprocal links posted at our links page. Email to dcnCoding |