Comparing Window Load And Document Ready
Jquery provides Document Ready function which gets trigger once the DOM(Document Object Model). Java Script has native load event which gets triggered when everything is loaded in browser including images. “WINDOW” is one of the browser object. “this” operator generally refers to window object.The other objects of browser are :- In this Demo, “We are […]
Working With Futon : Creating Reduce Function
In Couch database a view is a combination of map and reduce function. In my previous post(link) we have seen how to create a custom map function.In this post we will see about reduce function. reduce function is used on each unique key of the result set of map function .It summarizes the result of […]
Working With Futon : Creating Custom Map Function
“FUTON” is a web interface for couch db. It can be viewed in “5984” port of the system. In the my previous post(link) we have seen how to install and create a database in couch db. In another previous post(link) we have seen how to access the content of a database (“student”) in java using […]
Couch DB Java Integration : Couchdb4j
COUCHDB4J API is library for accessing Documents from couch database. This Library is downloaded from the link:- http://code.google.com/p/couchdb4j/downloads/list In this Demo , “Using FUTON Web Interface a student database is created and 4 student documents are created.The java program is written for accessing these documents and displaying the details in […]