Posts

Showing posts from May, 2014

Getting Started With Elasticsearch

Image
Elasticsearch is open source search system based of Apache Lucene. this is a brief introduction, you can find more information on Elasticsearch Official Site or  Wiki. What are features of Elasticsearch?Here are list of features of Elasticsearch.
Real Time Search and Analytic.Distributed Data (Scales Horizontally) Based on Apache LuceneHigh AvailabilityFull Text SearchJSON Based DocumentsRESTful APIMulti FacetsGeo Location SearchOpen Source
How to install ElasticSearch?
Download the latest version from elasticsearch.org/download. Then unzip it or use following command in console to download Elasticsearch.

curl -L -O http://download.elasticsearch.org/PATH/TO/LATEST/$VERSION.zip unzip elasticsearch-$VERSION.zip cd elasticsearch-$VERSION
Now move to unzip folder and run following command
{elasticsearch unzip folder path}/bin/elasticsearch
It will start Elasticsearch
How to use ElasticSearch?To interactive with data using Elasticsearch we will use head plugin of Elasticsearch.

To install head plug…

AngularJs Tutorial: Getting Started

Image
This tutorial will help you to create a dynamic web application using power of AngularJs.
·   What is AngularJsAngularJs is javascript MVC framework (maintained by Google) which molds static HTML application to dynamic web application. That was a brief introduction, you can find more information on Wiki and AngularJS Site.

AngularJs follows MVC pattern to separate out model from view and manage it by controller. See this image Goal of using AngularJs is to convert static HTML template to dynamic (Angular) template. ·   How to convert static template to dynamic (Angular) Template Now consider the following static HTML template which contain list of movies title.
<html>
<head></head>
<body>
  <h1>Upcoming Movies</h1>
<ul>
    <li>
      <span>Godzilla</span>
    </li>
<li>
      <span>Batman vs Superman</span>
    </li>
<li>
      <span>Star Wars Episode VII</span>
    </li>
</ul>
</bo…