Liferay MongoDB CRUD Application
- Liferay Portal 6.2 CE GA1+
- Liferay Portal 6.2 EE GA1+
Dear Liferay Portal Users,
We all know what a portal is. Portal means a set of applications placed together on one platform which will used to play with large amount of data manipulations.
Here, when it comes to large amount of data manipulations [includes fetching/searching, updating, inserting, sorting] we made to think on NoSQL databases which helps us to make fast data manipulations.
Today is an era of NoSQL, by considering this fact I made a sample Liferay + MongoDB + Spring CRUD application. Main target of this application is to help programmers to learn how they are able to communicate with MongoDB(NoSQL) using Liferay with the help of Spring Data API.
For your reference below link explained the aspects of NoSQL.
No SQL Explained: https://www.mongodb.com/nosql-explained
About Application and Functionalities covered:
This is a Liferay + MongoDB CRUD application. Spring Data Template is an API which is used to communicate with MongoDB Database from Liferay.
This application has below features.
1. Insert New Record (in Collection/Table).
2 Update inserted records.
3. Delete Single/Multiple Record(s).
4. Sorting (Ascending/Descending)
5. Searching (AND search / OR search)
Database name and, host can be configured from applicationConfig.xml
To Run this Application:
You will need to make sure that the MongoDb is up and running on specified host. (The default host value I have placed is localhost). No need to create database and tables, As soon as you will run this application it will create database and table which is configured.
MongoDb Installation Steps:
Windows OS: http://docs.mongodb.org/manual/tutorial/install-mongodb-on-windows/
Linux OS: http://docs.mongodb.org/manual/administration/install-on-linux/
Mac OS: http://docs.mongodb.org/manual/tutorial/install-mongodb-on-os-x/
You can reach me at email@example.com in case of any further queries/concerns.
Linked In: http://in.linkedin.com/pub/vishal-panchal/19/12/787