Source Code

jObject.js v2.0
Description jObject.js is a Simple JavaScript API to help users develop web app clients much easier and faster . It provides CSS manipulation,supports get elements by Class includes Event handling,Form validation, simplified AJAX, graceful ModalWindow, Calendar, Timer and some System support functions such as Java like System.out.println(). Every thing in this API is encapsulated in objects.It is also a cross browser compatible API. jObject.js lets you sleep earlier Features Simple to useEasy to learnObject orientedCross browser compatibleModalWindow supportIntegrated Form Validation Calendar and Timer support
Read:1349  Download:4  Comment:0
jObject.js: A simple JavaScript API
jObject.js is a Simple JavaScript API to help users develop web app clients much easier . It provides CSS control,Event handling,Form validation, AJAX, ModalWindow and some System support functions. Every thing is encapsulated in objects and it is a Java like API.<br> It is also a cross browser compatible API.
Read:2380  Download:8  Comment:1
HTML5 Analog Clock v1.0
HTML5 Canvas Demo. The analog clock is created with pure HTML5 code and JavaScript.It uses canvas elements in HTML5. In this demo, many methods of canvas in HTML5 are used such as context.rect(), context.arc(), context.fill(), Text and animation and some other functions. Also some JavaScripts are used to draw the clock and update the clock every second. It uses requestAnimFrame() method to do animations of the canvas.
Read:5817  Download:79  Comment:1
MD5 Encryptor
The MD5 Message-Digest Algorithm is a widely used cryptographic hash function that produces a 128-bit (16-byte) hash value. Specified in RFC 1321, MD5 has been employed in a wide variety of security applications, and is also commonly used to check data integrity. MD5 was designed by Ron Rivest in 1991 to replace an earlier hash function, MD4. An MD5 hash is typically expressed as a 32-digit hexadecimal number.The implementation of MD5 is realized with many programming languages. Here we provide an implementation of MD5 encryption algorithm with Java. The implementation refers to RFC 1321.Hope this will help those who want to do algorithm research especially in security field.
Read:6276  Download:7  Comment:0
jObject.js v2.1
Description jObject.js is a Simple JavaScript API to help users develop web app clients much easier and faster . It provides CSS manipulation,supports get elements by Class includes Event handling,Form validation, simplified AJAX, graceful ModalWindow, Calendar, Timer and some System support functions such as Java like System.out.println(). Every thing in this API is encapsulated in objects.It is also a cross browser compatible API. jObject.js lets you sleep earlier Features Simple to useEasy to learnObject orientedCross browser compatibleModalWindow supportIntegrated Form Validation Calendar and Timer support
Read:2951  Download:3  Comment:1
Java Email Demo
Java Email library is provided by Oracle and you can download the library from the website http://www.oracle.com/technetwork/java/javamail/index.html . But to use this, we need to do some work. I hope that you can read the documentation on Oracle\\\'s website. This download is to provide you a demo project which uses the Oracle Java Mail library to send email. You can use some Email accounts such as Gmail. This project also includes a GUI which will simplifies the email sending process.The overview of the GUI is :
Read:872  Download:8  Comment:0
JS Permutation Algo
In secondary school, we have learned permutation. Basically, for n numbers, the number of permutations for these n numbers can be calculated to n! which is called \'n factorial\'. But to display all the permutations on the screen, we need to use a recursive function. The problem is how to write this function. Next I write a program to display the permutations for n numbers with JavaScript. First, we need to understand that from these n numbers, we can first take any one number from it, and the (n-1) numbers remaining has the similar property as the n numbers, we need to find the permutations for the (n-1) numbers, and from these (n-1) numbers, we take any one of them and there are (n-2) numbers which we need to find the permutations of them. So the whole process will stop when there is only one number left, we will can display the permutations. It is a recursive process. 
Read:6440  Download:15  Comment:1
JS Sort Algorithms
This source code is to implement five popular sorting algorithms with JavaScript. It will help us to understand not only different kinds of sorting algorithms but also the power of JavaScript.The five sorting algorithms implemented are :Quicksort : Quick sort algorithm. It is a very fast sorting algorithm for relative complex array but in small set of values, the advantage of quick sort will not be so obvious. The complexity is O(nlogn)Insertion Sort : Insertion sort algorithm. It is to sort a set of values by inserting unsorted  elements into a sorted array. It is much less efficient on large lists than more advanced algorithms such as quicksort. Complexity is in averageSelection sort : Selection sort algorithm. It is to sort a set of values by finding the minimum value first and put it in the appropriate position. Complexity is in averageMerge sort : Merge sort algorithm. It is to sort a set of values by diving and conquering the array and finally merge the sorted array into a single array. Complexity is in averageBubble sort : Bubble sort algorithm. It is to sort  a set of values by putting the max or  min value to one end in one loop. Complexity is in averageHope you can learn something from this code.
Read:4277  Download:18  Comment:1
PIR Editor v1.0
PIR(PHP+IFRAME+Rich text editor) v1.0 PIR is a web based Rich Text Editor which utilizes PHP and IFRAME and JavaScript. It includes all the necessary functions to edit WYSIWYG(What you see is what you get) contents. It uses an embeded iframe as the edit area. And all the commands such as bold,italic,copy and insert image are realized with JavaScript(Client-side) and PHP(Server-side). It can be used in many places where you want to edit web content as WYSIWYG. For example, news editors, bloggers and other professionals can all use this easy-use editor. Hope you can enjoy this editor a lot. If you find any bugs in this editor or if you have any suggestions. Please contact me here Author : Pi KeDate : 2011-04-23Organization : Nanyang Technological University (Singapore)
Read:6612  Download:10  Comment:1