March 2013 8
Couchdb : Adding Document Using Java Couchdb4j
Couchdb4j is a library for Couch Database for manipulating document in database. The jar file :- http://code.google.com/p/couchdb4j/downloads/list In this Demo ,“A new Student document is created with properties nad added to the student database”. Project structure:- The Java code CouchDBTest.java is , package com.sandeep.couchdb.util;import java.util.HashMap;import java.util.Map;import com.fourspaces.couchdb.Database;import com.fourspaces.couchdb.Document;import com.fourspaces.couchdb.Session;public class […]
Sizzle Javascript Library : Public API Use
“SIZZLE” is another library from Jquery for DOM Element selections. Sizzle can be downloaded from:- http://sizzlejs.com/ The demo project structure, It has 3 type of API , public , internal and external API. “Sizzle” object output for console.log(Sizzle) is below, In this Demo, “We will check some of the methods from […]
Jquery CallBack Object
Jquery provides a special type of objects called callbacks . This object can store method and fire this methods to a specific events. In this demo, “callbackMethod1 and callbackMethod2 is added two Jquery callback objects and fired on mouse enter and leave method”. The Jquery code for this is, $(document).ready(function () { var callbacks = […]
Jquery Slick Grid : Java Integration
“Slick Grid” is another Jquery plugin for showing data in table/grids. The feature it includes are “DIV” structured based table. It can handle millions of rows.responsiveness is awesome. We can get more information and download the library from the link:- https://github.com/mleibman/SlickGrid/wiki The files required by this plugin are :- jquery-1.8.3.min.js, […]