Liferay MongoDB CRUD Application

Vishal Panchal
Data Modeling & Business Logic
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 protected] in case of any further queries/concerns.

Thank You,
Vishal Panchal
Skype: vishalpanchal22
Linked In: http://in.linkedin.com/pub/vishal-panchal/19/12/787
Liferay is trademark of Liferay, Inc., Liferay International Limited and/or Liferay Affiliate, registered in the United States and/or other countries.
    All prices displayed are in USD. For pricing specific to your country/currency, please follow the installation instructions below for accessing and purchasing this app through your Control Panel.
    Release Summary and Release Notes
    Version Change Log Supported Framework Versions Date Added
    Liferay Portal 6.2 CE GA1+
    Liferay Portal 6.2 EE GA1+
    Vishal Panchal
    Published Date
    July 28, 2015
    Supported Versions
    EE, CE
    Help & Support
    Terms & Conditions

    Installation Instructions

    This is a Legacy App that is no longer available in the new App Marketplace. You are able to acquire it from your installed DXP or CE instance and install it by following the instructions below.

    Acquiring this App through the legacy Liferay Portal Store

    1. Review app documentation for any specific installation instructions.
    2. Login to your Liferay Portal instance with administrative permissions.
    3. Navigate to the Control Panel, Marketplace (or Apps for 7.3 and prior), then Store.
    4. If needed, login to your Liferay.com account by choosing Sign In.
    5. Search for the app name in the Search dialog.
    6. Once the app is found, click on the app in the search results.
    7. On the app details page, choose to acquire the app by selecting the Free, Buy, or Trial button.
    8. Follow the instructions on the screen to complete the acquisition.

    Installing this App through legacy Liferay Portal Purchased Apps

    1. After acquiring the app, login to your Liferay Portal instance with administrative permissions.
    2. Navigate to the Control Panel, Marketplace (or Apps for 7.3 and prior), then Purchased.
    3. If needed, login to your Liferay.com account by choosing Sign In.
    4. Click the Install button to install your app on your Liferay Portal instance.

    See the legacy App Marketplace help documentation for more information.