What is Angular Service Factory? Why and Where should we use it?

page In our previous article we have discussed about Angular service. We have created service using .service() method. In this article we will discuss about angular service factory. So, first things first, we need to know what is factory in Angular. We can create our own services by registering the service factory function. The service factory […]

Learn More

What is Angular Service? Why and where should we use it?

http://www.hotelsb.eu/essay-paragraph-maker/ By definition services in AngularJS are Javascript functions that are responsible to do only specific tasks. Services can be used to organize and share code across an application. Here sharing refers to sharing of data and functions. It keeps data across the lifetime of an Angular app. Controller communication can be done using services in […]

Learn More

What is Angular Controller? Why and where should we use it ?

http://pghgrp.com/computer-engineering-resume-cover-letter-3l/ computer engineering resume cover letter 3l In MVC format application a controller is responsible for interacting between model and view. It facilitates to chage the state of the model. The main business operations in an MVC application is written inside a controller. In Angular, a Controller is a JavaScript constructor function that is used to augment the Angular Scope. It is […]

Learn More

What is Angular router? Why and where should we use it?

help writing scientific papers Routing helps us to divide our application in parts logically, making it more manageable. Whenever an app grows by adding logic into it it becomes hard to control and manage. Using routing we can easily divide our application in logical views. Routing also helps to bind different views to the controllers. The above picture shows […]

Learn More

Handling AngularJs and CSS3

go here We know how CSS helps a web page to boost up and beautify its appearence. Thinking of a attractive UI without CSS is impossible. On the other hand we know we can make rich data bound applications with AngularJS. Now what if we can use and handle css through AngularJS? This is what we are […]

Learn More

How do we use $scope.$apply() in Angular 1.4

Help With Managerial Accounting Homework $apply() is a core aspect of AngularJS. This is sometimes confusing to understand. This article describes what is $apply() and how do we use $scope.apply() in Angular 1.4. First things first, we will learn what is $apply(). We know there is an awesome feature called data binding in AngularJS which tells that whenever a model […]

Learn More

Bind, Call and Apply in JavaScript

page Functions in JavaScript are object. As objects functions have several methods. Some of them are powerful like Bind, Call, Apply etc. In this article we will discuss about these three methods in detail. In brief, Bind is used to set this value in methods and currying functions. On the other hand Call and Apply are […]

Learn More

AngularJS Features and How It works with MVVM

go to link AngularJS is a powerful JavaScript framework to create rich web application. It provides options to write client side application in Model View Controller format. Application written in AngularJS is cross-browser compliant. It has capability to create Single Page Application in a very clean way and also provides reusable components. It is open source framework and […]

Learn More

Javascript Basic Functionalities like classes and how we take it forward in Angular.js

enter site This article describes about JavaScript basic functionalities like classes and how we take it forward in Angular.js.Class can create objects which can have properties and methods. We can facilitate program by instantiating the classes(objects) and using them in a proper way i.e. making use of it’s methods and properties. It increases the code re-usability. In […]

Learn More

What is a Single Page Application and How we can make it with Javascript framework like AngularJS

view Single Page Application or SPA is a web application that fits on a single webpage. This article is a proof of concept about What is a Single Page Application and How we can make it with JavaScript framework like AngularJS. Features and advantages of single page applications are Once the site is loaded then it […]

Learn More

Single Page Application with Angular.js, Node.js and NeDB (NeDB Module) – updated for Express 4

master thesis page setup This post is a proof of concept towards make web application with Javascript based Web Server with light-weight database NeDB.It shows how to create a single page application in Node.js and NeDB (NeDB Module) with Express4. To make this possible, we have selected – 1> Angular.js for client side development – Single Page Application 2> […]

Learn More

ECMAScript 6 Fat Arrow Function – a discussion

http://navnidhiinfra.com/?q=customessaywritingservices-info ECMAScript 6 Fat Arrow Functions – As we have understood from Mozilla Documentation, An fat arrow function is having shorter syntax compared to traditional function expressions and binds the return value inline. These Arrow functions are always anonymous. According to MDN, The function definition will look like – [javascript] ([param] [, param]) => { statements […]

Learn More

Set up Apache Kafka and working with Java Client

next Apache Kafka Apache Kafka is a publish/subscribe messaging system, which is fast, distributed and having persisting data store over multiple clusters. In our work, we needed to up Apache kafka for continuous data streaming. Here we have shown the basic work to setup Kafka and building a java client (producer) to send message and get […]

Learn More

Set up a SVN repository in AMAZON EC2 Ubuntu 14.04

enter Setting up a SVN Server for Small to Mid Size Project handling in Amazon EC2 Server with Operating System Ubuntu Server is an general process. But this is an non trivial process, when we look it from a programmer perspective. I have recently configured such one and hence making documentation of the same. May be […]

Learn More

Basic Introduction to React.js

The aim of this article is to make a basic introduction to react.js. Today React.js is gaining much more popularity in Front-end Web Developer world. As we understand, React.js is a front-end developement framework, created and maintained by facebook for their production application. The framework focuses on UI and expect to handle the backend by WEB […]

Learn More

Develop Web Application with Node.js, Express.js REST Service and Neo4j (neo4j-js module) – Updated for Express 4

We have posted Develop Web Application with Node.js, Express.js REST Service and Neo4j (neo4j-js module) .This article is a proof of concept towards make a web application with Javascript based Web Server with Node.js and Neo4j and this time the same is updated with Express 4 To make this possible, we have selected – 1> […]

Learn More

Real-time Data update with Angular.js, Node.js and Express.io

We have posted Real-time Data update with Angular.js, Node.js and Socket.io previously.This article is a proof of concept towards make a real time web application with Javascript based Web Server Node.js and Express.IO with Angular.js.The application is same as the previous one ,but this time it is build up with Express.IO. We have simulated a […]

Learn More

Web Application with Highchart.js, Node.js, Express.js and MongoDB(Mongo-JS Module) – Updated for Express 4

We previously posted an aricle on Web Application with Highchart.js, Node.js, Express.js (version 3) and MongoDB(Mongo-JS Module).This time we updated that same for Express 4.This application is a of concept towards make a web application for graph generation  with Javascript based Web Server. In this application we have used following tools and technologies – 1> […]

Learn More

Single Page Application with Angular.js, Node.js and CouchDB (Cradle Module) – (Updated for Express 4)

We posted the article on Single Page Application with Angular.js, Node.js and CouchDB (Cradle Module) with Express 3. Current post is a way to migrate the same with Express 4. This article describes a way to make a web application with Javascript based Web Server with CouchDB with Angular.js and Node.js. Here we have selected […]

Learn More

A quick guide to MongoDB to work with

We have used some useful commands of MongoDB in our project work.Here we would like to discuss most of them so that they can be used for quick reference or quick guide.These commands can be executed from MongoDB shell. Before we jump in You can download MongoDB from here. We are skipping the installation part […]

Learn More

Single page Application with Angularjs, Minimalweb Node MVC and MongoDB

In this post, we have made a Single Page Application with Angularjs, Minimalweb Node MVC and MongoDB. Brief Background Lot of tutorial are already there in web regarding the MEAN (MongoDb,Expressjs,Angularjs and Nodejs) stack. Here we have followed the same path, except for the Express.js framework. We have used minimalweb framework for the server MVC. […]

Learn More

Execute Redis Commands with Node.js without Driver

We had written about redis commands through node.js previously. Below is a code snippet, where we have connected and executed redis commands from node.js without using any driver. Steps taken – 1> First we have started Redis in our machine. 2> We have written a bare minimum socket program to connect the redis host and […]

Learn More

Use of process.nextick in node.js

This is a post for a quick go through of node.js process.nextTick method implementation. As we have searched around web, we found that any code snippet within node.js process.nextTick ensures that the mentioned code snippet will execute in next event loop of node.js before doing any I/O bound work. Also we found that process.nextTick function […]

Learn More

Implement Caching Server with Express.js custom middleware

In this article, we explored the capability of expressjs custom middleware. We have made a minimal cache server implementation in expressjs middleware, which will serve as cache for GET web requests. So below is the main server code implementation with inline documentation. Server.js var express = require(‘express’); var app = express(); var cache = require(‘./cacheServer’); […]

Learn More

Nginx Caching Functionality

In this post we will explore some of the caching capabilities of nginx. Previously we have explored some functionality of nginx as load balancer. Below are the articles – 1> Configure node.js application server with nginx 2> Configuring Load Balancer with Nginx and Node.js 3> Nginx as a Load Balancer – some details as we […]

Learn More

Haproxy as Load Balancer – some details as we have explored

We had written about load balancing with nginx in our previous article. Now in this article we will try to discuss some of the load balancing schemes in haproxy and their configuration in web applications. Haproxy server can be used to distribute the load balancing of web request to different web/ application servers. The main 2 […]

Learn More

Configuring Load Balancer with Haproxy and Node.js

Load Balancing is needed to distribute load of work across multiple resources – in computer science terminology, these multiple resources can be pieces of software or hardware, where same work processes are waiting to be executed on processing request. So in web application, we will need to do load balance to control user requests to […]

Learn More

Nginx as a Load Balancer – some details as we explored

A complex web application will consist Load Balancer at front web request handling. A picture of a typication web application deployment environment can be drawn as below – We had written about round-robin load balancing of nginx with node.js in our previous article. Now in this article we will try to discuss some of the […]

Learn More

Configuring Load Balancer with Nginx and Node.js

Load Balancing is needed to distribute load of work across multiple resources – in computer science terminology, these multiple resources can be pieces of software or hardware, where same work processes are waiting to be executed on processing request. So in web application, we will need to do load balance to control user requests to […]

Learn More

Configure node.js application server with nginx

Generally we want to integrate any web application to run as fast as possible. To make this case viable as much as possible, our solution approach should be in web front end and back end. For front end there are multiple optimization elements like – A> Load Balancing B> Caching C> Serving Static Resources from […]

Learn More

Server side testing with Mocha for Node.js

This article is a continuation of our previous articles about Single Page Application with Angular.js, Node.js and MongoDB part 1 and part 2. In general, we appreciate unit testing in application, because at the time of delivery, we have much confidence about our piece of software regarding non-breaking of the code-base in production. There are […]

Learn More

Single Page Application with Angular.js, Node.js and MongoDB (MongoJS Module) – (Updated for Express 4) – Part 2

We had posted article for Single Page Application with Angular.js, Node.js and MongoDB (MongoJS Module) – (Updated for Express 4) – Part 1 where we mainly discussed the node.js server side section of the article. In this post we will describe about the Angularjs client part of the application. As this article is a continuation of the […]

Learn More

Angular.js Server Side

In the previous articles we have went through many features in angular.js. If you observe them, you can see that in those articles we have never used server side scripting. All of them were based on client side scripting. Why we are in need of server side scripting? Every SPA framework out there relies on […]

Learn More

Single Page Application with Angular.js, Node.js and MongoDB (MongoJS Module) – (Updated for Express 4) – Part 1

We had posted article for Developing Web Application with Node.js, Express.js and MongoDB (MongoJS module) . Here we have updated the application with Express 4, added testing for both Angular.js and node.js related methods. We will cover all the testing related works in our other posts, which will come eventually. So our application is now as […]

Learn More

An introduction with winkfame.com

Recently we have launched a social networking platform winkfame.com. Here we are trying to build the platform to Connect Future Friends, Partners and Collaborators – who do not know each other today, but have one or more common interests. We require that the parties see or meet each other (in physical space, not cyberspace) to […]

Learn More

Discussing about Pipeline Expression in MongoDB

In the previous article we scratched the surface of the expression in pipeline. In this article we are going to discuss it in detail. What is the pipeline expression in mongodb? As the mongodb.org states pipeline expression in mongodb is Some pipeline stages takes a pipeline expression as its operand. Pipeline expressions specify the transformation […]

Learn More

Working with Pipeline Concept in MongoDB

In the previous article we have discussed about aggregation framework. In the aggregation framework a certain concept named pipeline concept has a very important role to play. In this article we are going to discuss about that same pipeline concept in mongodb. What is pipeline concept in mongodb? In the UNIX command shell, pipeline means […]

Learn More

How to Work with Aggregation Framework in MongoDB?

In the previous article we have discussed about aggregation method in mongodb. In this article we are going to discuss about aggregation framework. Mongodb ver 2.2.0 supports aggregation framework. What is aggregation framework in mongodb? The aggregation framework in mongodb calculates aggregate values without the need for complex map-reduce operations. The aggregation framework is designed […]

Learn More

Working with Aggregation in MongoDB

In this article we will be discussing about aggregation in mongodb. What is aggregation in mongodb? As it states in mongodb.org “Aggregations are operations that process data records and return computed results.” So, in simple terms aggregation uses multiple documents together to group values. With those values aggregration can perform multiple operations and return only […]

Learn More

Working with Index in MongoDB

In every database management system indexing is an essential attribute. Without indexing the system has to search the whole database in case of every queries. Which can prove very problematic. And in case of mongodb where we use blob data, can be disastrous with that much data. So, in this article we are going to […]

Learn More

Working with Sharding in MongoDB

Mongodb is a data management system for blob data. So that means we can manage huge amounts of data through mongodb. So,storing this vast amount of data is the most challenging thing to do. When a single machine is unable to store this data or unable to provide an acceptable read and write throughput, problems […]

Learn More

Replica Set Members in Mongodb

In the previous articles we have discussed many aspects of replica set in mongodb. And in those articles we have talked many things about members. So, what are these members? What is their purpose? Let us discuss about this things in this article. What are members in mongodb? In short terms the members in mongodb […]

Learn More

Discussing Replication Lag in MongoDB

In the previous article we have read about deployment of replica sets in mongodb. In the deployment process there is some complications that we did not discuss in the previous article. In this article we will get acknowledged with those complications and try to make them less complicated. So, in this article we are going […]

Learn More

Deploying a Replica Set in MongoDB

In this article we are going to discuss about how to deploy a replica set in mongo db. Deploying a replica set: Replica set can be deployed from single instances as well as from multiple instances. To get there we have to figure out how replica set function. As stated in mongodb.org replica set is […]

Learn More

Short introduction on Express.js 4 New Features

In this post we have tried to explain express.js 4 with some of it’s APIs. First of all, the new features of Express.js V4 – All the middlewares from connect are removed from Express. We have to bind all the middlewares in the project configuration file – package.json. A typical package.json file will look like […]

Learn More

How to Promote Your Online Business

There is more than one way to skin a cat – and definitely more than one way to promote an online business. If you want to be sure your business and website are seen by as many people as possible, this article may help you achieve that aim. Every business needs to be promoted on […]

Learn More

Introduction to Replication in MongoDB

Mongodb has another feature called replication. In this article we will be going through the introduction and basics of replication. What is replication in mongodb? In simple terms replication is a process to synchronize data in multiple servers. This process provides us with redundancy and increases data availability with multiple copies of data on different […]

Learn More

Map-Reduce in MongoDB

In this article we will try to understand the function of mapreduce in mongodb. At first we need to know what is map reduce? Let us see below. What is map reduce in mongodb? As per mongodb.org map-reduce in mongodb is a data processing paradigm for condensing large volumes of data into useful aggregated results. […]

Learn More

Using sort method in mongodb

In each database we maintain data in many ways. Regarding those ways we also have to consider the possibilities of sorting data in many ways regarding of many criteria. In this article we are going to understand different ways of sorting in mongodb. Using sort method: sort() method accepts a document containing list of fields […]

Learn More

How to Use Projection in MongoDB?

In mongodb projection, it means  selecting only necessary data rather than selecting whole of the data of a document. If a document has 5 fields and you need to show only 3, then select only 3 fields from them. There are a few projection operators that mongodb provides helps us to reach that goal. Let […]

Learn More

How to Import and Export Through Mongodb?

Introduction: Although while using mongodb we can create database and manipulate that same database. In real time we might have to import database from an external resource. That external database may be of json, csv or tsv file. And in other hand we might have to export mongodb database as Json format. In this article […]

Learn More

How to Get Started with MongoDB?

In the previous article we have learned about mongodb as well as we have learnt how to install them in different OS. In this article we will learn how to run in different OS and many other things. How to get started with mongodb? To begin with mongodb we need to connect to a server […]

Learn More

How to Get Started With Node?

The face of web development today is dramatically different. The things that we can do on the web nowadays with JavaScript running on the server, as well as in the browser, were hard to imagine just several years ago, or were encapsulated within sandboxed environments like Flash or Java Applets. What is node.js? As Wikipedia […]

Learn More

How to Get Started with MongoDB Database?

What is MongoDB? Mongodb is a cross-platform, document oriented database that provides, high performance, high availability and easy scalability. It works on concept of collections and documents. If the load increases, by adding more nodes the performance can be retained. It can be used to store data for very high performance applications. What is document […]

Learn More

Making a Stacked Bar Chart in D3

Wherever we see data visualization we can see a bar chart. Weather it is a management issue or a project planning, even normal data visualization are also done by bar charts. For this reason bar charts have been modified in various type along the way. Previously we talked about basic and grouped chart. In this […]

Learn More

D3 Scatter Plot

So far, we’ve drawn only bar charts with simple data — just one-dimensional sets of numbers. But when you have two sets of values to plot against each other, you need a second dimension. What is scatter plot? The scatter plot is a common type of visualization that represents two sets of corresponding values on […]

Learn More

Drawing Pie Chart in D3

D3.js is a JavaScript library that is widely used in data visualization and animation. The power of d3.js and its flexibility comes at the expense of its steep learning curve. There are some libraries built on top of it that provide numerous off-the-shelf charts in order to make the users’ life easier. Its power comes […]

Learn More

How to Create a Group Chart in D3

A bar chart is a simple yet perceptually-accurate way to visualize such data. This introductory tutorial covers how to make a bar chart using the D3 JavaScript library. Now we’ll integrate everything we’ve learned so far to generate a simple bar chart with D3. We’ll start by reviewing the bar chart we made earlier using […]

Learn More

D3 Multiline Chart

In the previous article we have talked about line charts. The example we worked on was a single line chart. We have worked with only single line . But there will be circumstances where we will be in need of draw chart with more than one set of data. So, what it will look like? […]

Learn More

Introducing Line Chart Through D3

One of the most common visualizations is a line chart. D3 is not a charting framework, but instead allows you to manipulate the document based on data. That’s what you’re actually doing with D3: adding elements to a document, removing them, updating them, etc. The advantage is that you are much more flexible in creating […]

Learn More

Working Through Angular.js With Transclude

Once you dive into Angular, creating custom directives is a daily chore and having good understanding of transclusion becomes imperative. To explain it in one sentence, transclusion consists of plucking out the content of a custom directive, processing it against right scope and then placing it at a marked position in the template of that […]

Learn More

Introduction to Chart in D3

A bar chart is a visual representation using either horizontal or vertical bars to show comparisons between discrete categories. There are a number of variations of bar charts including stacked, grouped, horizontal and vertical.We will work through a simple vertical bar chart that uses a value on the y axis and date values on the […]

Learn More

WHY SHOULD WE USE SERVER SIDE IN BACKBONE.JS?

One of the challenges when building nontrivial Web applications is that JavaScript’s non-directive nature can initially lead to a lack of structure in your code. JavaScript is often written as a free-hanging and unrelated blocks of code, and it doesn’t take long before it becomes hard to make sense of the logic and organization of […]

Learn More

Multi-Select Custom ListView with Contextual Actionbar Using ActionBarSherlock for Android API 2.1(Froyo) Later

Recently I was developing an application in Android where I required to show a custom list with multi-select facility along with contextual actionbar. Since there was also a requirement to support the old Android devices I chose ActionBarSherlock library to deal with the actionbar related functionality. The problem that I was facing was that there […]

Learn More

MongoDB Windows Installation

How to install and start MongoDB PC? MongoDB is an open resource available on the internet. If MongoDB is not installed in computer, we have to download and install it from MongoDB official website http://downloads.mongodb.org. Guidance for Windows We typed in command prompt >wmic os get osarcitecture Result of this command showed the architecture of […]

Learn More

Making Tree Diagram from Data (part II)

In the previous we talked about generating tree diagram in the basis of flat data. We have also talked about data that will be provided externally. In this article we will learn how to use externally provided data to generate a tree diagram. Tree diagram based upon external data: We have used data that we […]

Learn More

Making Tree Diagram from Data (part I)

In the previous articles we have seen the different aspects of a tree diagram in D3.js. By now you know that tree diagram is a data visualization feature. We have talked a lot about visualization in the previous artiles. But the data also holds an important part in it. The example which we are using […]

Learn More

Interactive Tree in D3

In the previous articles we have learnt many things about the tree diagrams of d3. In this article we are going to discuss another feature called interactive diagram. As the first thing to do we have to know what is interactive diagram? Interactive diagram: As per wikipedia we can say that the interaction diagrams, a […]

Learn More

Creating Vertical Tree with D3

In the previous article i have showed you a simple example of a tree structure. In this article we will understand the codes and tweak a little bit here and there to see some difference. Then let us begin with the previous code. As we have seen in the previous code it was a horizontal […]

Learn More

Angularjs with Server Side Interaction

Why we are in need of server side scripting with Angular.js? Every SPA framework out there relies on some type of service (RESTful or otherwise) to serve and process data. That’s the obvious role that servers can play with SPAs. What’s not quite as obvious are the other roles that the server can play as […]

Learn More

Introduction to Tree Diagram in D3.js

What is a Tree Diagram? The ‘Tree layout’ is not only a distinct type of diagram. It also representates of D3’s family of hierarchical layouts. It’s designed to produce a ‘node-link’ diagram that lays out the connection between nodes in a method that displays the relationship of one node to another in a parent-child fashion. The data required […]

Learn More

Using Controllers in Angular.Js

What is a controller? Controller is a JavaScript constructor function that is used to augment the Angular Scope. What does it mean? It means Controllers are essentially the entry-point into our front-end business logic. They should contain all the methods that our page should call. Controllers also allow us to initialize the scope with the […]

Learn More

Bootstrap Buttons

In every website to trigger an event we always take help of abutton or a huperlink. So, we can say that button is an essential element to websites. Keeping that in mind bootstrap also usese buttons , but somewhat a liitle different than others. This article will discuss about how to use Bootstrap button with […]

Learn More

The Life of a Transition

In the previous article we have discussed about transitions and it’s uses. We have also seen that transition also work as animation. So, how much difference can we make in the visualization of the information using trasition? This will be the topic for this article. So, let us go through the different features in the […]

Learn More

Using Transitions in D3

In this article we are going to discuss another interesting feature of D3. That is Transiton. To make the view appealing to the user, we have used animations. Transition is also a form of application which we can use in D3. So, what is this transition? What is Transitions? A transition is a special type […]

Learn More

How to Use Selection in D3

In the previous article we have gone through the introduction of D3. Here we are going to discuss about a certain feature of D3 called selection. What is selection? A selection is an array of elements pulled from the current document. D3 uses CSS3 to select elements. For example, we can select by tag (“div”), […]

Learn More

Introduction To The World Of D3

Introduction: Data-Driven Documents, or D3 for short, is a new visualization library to build visualizations in SVG. D3’s emphasis on web standards gives us the full capabilities of modern browsers without tying ourself to a proprietary framework, combining powerful visualization components and a data-driven approach to DOM manipulation. D3 allows us to bind arbitrary data […]

Learn More

Bootstrap Tooltip(Part 2)

There are certain options which can be added via the Bootstrap Data API or invoked via JavaScript. Following lists the options: Animation: Applies a CSS fade transition to the tooltip. Default boolean value is true. Html: Inserts HTML into the tooltip. If false, jQuery’s text method will be used to insert content into the dom. […]

Learn More

Angular.js Event Handling

It is event handlers that make everything move and change. They help attach functions to the objects to change their properties, to make them respond to user actions, etc. To run any script when the event triggers on a certain page element, we need to attach event handler to this page element by calling an […]

Learn More

Bootstrap Tooltip

Bootstrap Tooltips are useful when We need to describe a link. The plugin was inspired by jQuery.tipsy plugin written by Jason Frame. Bootstrap Tooltips have since been updated to work without images, animate with a CSS animation, and data-attributes for local title storage. Creating Bootstrap Tooltip: A bootstrap tooltip is a small pop-up that appears when user places […]

Learn More

Backbone.js at a glance

Introduction: In the recent years web-technology has revolutionized in many ways, made our life much easier. As we all know websites mean a lot of pages containing specific information in each page. But nowadays this concept is changing. As the time moving forward we are able to access internet via many devices except pc. Many […]

Learn More

Bootstrap Modal

A bootstrap modal is a child window that is layered over its parent window. Typically, the purpose is to display content from a separate source that can have some interaction without leaving the parent window. Child windows can provide information, interaction, or more. Usage We can toggle the modal plugin’s hidden content: Via data attributes: […]

Learn More

Bootstrap Carousel

The Bootstrap carousel is a flexible, responsive way to add a slider to your site. In addition to being responsive, the content is flexible enough to allow images, iframes, videos, or just about any type of content. OPTIONAL CAPTIONS You can add captions to your slides easily with the .carousel-caption element within any .item. Place […]

Learn More

Bootstrap Popover

Popover is a small overlay of content that is used to display secondary information of any element when it is clicked by a user. Triggering the Popovers: Popovers can be triggered via JavaScript — just call the popover() Bootstrap method with the “id” or “class” selector of the required element in JavaScript code. Let us […]

Learn More

Bootstrap layout

In this article we will learn to use bootstrap layout to create Fixed as well as fluid Layouts. In version 2.0 Bootstrap has added a responsive feature for phone, tablet portrait, table landscape and small desktops, and large wide screen desktops. We may make a layout responsive by adding bootstrap-responsive.css file in to the page. […]

Learn More

Angular Templates

In Angular, templates are written with HTML that contains Angular-specific elements and attributes. Angular combines the template with information from the model and controller to render the dynamic view that a user sees in the browser. These are the types of Angular elements and attributes we can use: Directive — An attribute or element that […]

Learn More

Bootstrap helper classes

This article discusses some of the helper classes in Bootstrap that might come in handy. Close icon Use the generic close icon for dismissing content like modals and alerts. Use the class close to get the close icon. <!DOCTYPE html> <html> <head> <link rel=”stylesheet” href=”style.css”> <script src=”script.js”></script> </head> <body> <p>Close Icon Example <button type=”button” class=”close” […]

Learn More

How To Use Filter In Angular.js

When we see an e-shopping or e-tutorial sites, we see a detailed search mechanism in the left in maximum scenario. Where we can put the exact credentials and get the product very fast and easy. So, what is it? It is a filter. A very unique and easy feature. Angular.js also supports this feature. Then, […]

Learn More

How do we use navigation in bootstrap

In a website we always are in need of navigation throughout the page. So, how do we do it? How do we use navigation in bootstrap? Let us discuss about the stylish navigations that bootstrap has to offer. All of them share the same markup and base class, .nav. Bootstrap also provides a helper class, […]

Learn More

Templates In Backbone.js

One of the more important components of Backbone.js is templates. Templates are essentially pieces of markup that can be use to create a bunch of different reusable copies of that same markup. But populating each component with different data. Used in combination with views, they are great for doing such as iterating over a collection […]

Learn More

Bootstrap Input Groups

This article explains about one more feature Bootstrap supports, the Input Groups. Input groups are extended Form Controls. Using input groups we can easily prepend and append text or buttons to text-based inputs. By adding prepended and appended content to an input field, we can add common elements to the user’s input. To prepend or […]

Learn More

Bootstrap Form (Part 2)

In the previous article we have discussed about bootstrap forms and their implementation. But as we know that every html form has many controls. Alike those forms bootstrap forms also have some unique and useful control to work with. Bootstrap form natively supports the most common form controls mainly input, textarea, checkbox, radio, and select […]

Learn More

Bootstrap Form (Part 1)

FORM LAYOUT: Bootstrap form provides you with following types of form layouts: Vertical (default) form Inline form Horizontal form BASIC FORM: The basic form structure comes with Bootstrap; individual form controls automatically receive some global styling. To create a basic form do the following: Add a role form to the parent <form> element. Wrap labels […]

Learn More

Bootstrap pagination

This article discusses about bootstrap pagination. Pagination, an unordered list is handled by Bootstrap like a lot of other interface elements. Pagination: The following classes are provided by Bootstrap to handle pagination. .pagination: Add this class to get the pagination on your page.as an example <ul class=”pagination”> <li><a href=”#”>«</a></li> <li><a href=”#”>1</a></li> </ul> .disabled, .active: For […]

Learn More

Bootstrap panels

This article will discuss about Bootstrap panels. Panel component are used when we want to put your DOM component in a box. To get a basic panel, just add class .panel to the <div> element. Also add class .panel-default to this element. Panel with heading: There are two ways to add panel heading. Use .panel-heading […]

Learn More

Angular.js Two Way Data Binding

What is two way data binding? Angular template engine binding the data in two way, which means data-binding in Angular apps is automatic synchronization of data between the model and view components. The way that Angular implements data-binding lets treat the model as the single-source-of-truth in application. The view is a projection of the model […]

Learn More

Bootstrap Alerts

In the following we will discuss about alerts and the classes Bootstrap provides for alerts. Alerts provide a way to style messages to the user. They provide contextual feedback messages for typical user actions. We can add an optional close icon to alert. For inline dismissal use the Alerts jQuery plugin.We can add an basic […]

Learn More

Angular.js Promise

Promises are a core feature of AngularJS.A promise implementation inspired by Kris Kowal’s Q.A promise represents the eventual result of an operation. We can use a promise to specify what to do when an operation eventually succeeds or fails. The CommonJS Promise describes a promise as an interface for interacting with an object. Which represents […]

Learn More

Bootstrap tables

Bootstrap provides a clean layout for building tables. To create a nice, basic table style with just some light padding and horizontal dividers, add the base class of .table to any table as shown in the following example. Along with the base table markup and the .table class, there are a few additional classes that […]

Learn More

Bootstrap Dropdown Menu

Bootstrap dropdown menus are toggleable, contextual menus for displaying links in a list format. To use dropdown, just wrap the dropdown menu within the class .dropdown. Following example demonstrates a basic dropdown menu. In this set of code we are trying to make a dropdown where we have several options under project menu. Below all […]

Learn More

Dropdown buttons in Bootstrap

We all need dropdown menu in a website.Sometimes we use it as a hyperlink or in menu bar. Using this in a button is also what we need. Now with bootstrap including a dropdown menu in button is very easy.This article will discuss about how to add dropdown menu to buttons using Bootstrap classes. To […]

Learn More

Angularjs and Services

Angular services are substitutable objects that are wired together using dependency injection (DI).Angular services are: Lazily instantiated – Angular only instantiates a service when an application component depends on it. Singletons – Each component dependent on a service gets a reference to the single instance generated by the service factory. Angular offers several useful services […]

Learn More

Bootstrap list-group

Purpose of list group component is to render complex and customized content in lists. To get a basic list group: We have to add the class .list-group to element <ul>.Also have to add class .list-group-item to <li>. Following example demonstrates this: <!DOCTYPE html> <html> <head> <script data-require=”jquery@*” data-semver=”2.0.3″ src=”http://code.jquery.com/jquery-2.0.3.min.js”></script> <script data-require=”bootstrap@*” data-semver=”3.1.1″ src=”//netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js”></script> <link data-require=”bootstrap-css@3.1.1″ […]

Learn More

Working with scrollspy in bootstrap

The Scrollspy plugin let us target sections of the page based on scroll position. It is perhaps a little similar to using an elevator, except we are navigation up and down a web page, instead of going from floor to floor in a building. By adding an ‘.active’ class to our navigation menu we can […]

Learn More

Bootstrap Grid System

What is Bootstrap Grid System? Bootstrap includes a responsive, mobile first fluid grid system that appropriately scales up to 12 columns as the device or viewport size increases. It includes predefined classes for easy layout options, as well as powerful mixins for generating more semantic layouts. Let us understand the above statement. Bootstrap 3 is […]

Learn More

Angular Router and UI-Router

In this article we will go through the next useful feature of AngularJS called Routing.Routing helps dividing our application in logical views and bind different views to Controllers. What is $routeProvider? Routing is taken care by a service provider that Angular provides out of the box called $routeProvider. An Angular service is a singleton object […]

Learn More

Bootstrap Nav-bar

The navbar is a nice prominent feature of Bootstrap. Navbars are responsive meta components that serve as navigation headers. Navbars collapse in mobile views and become horizontal as the available viewport width increases. At its core, the navbar includes styling for site names and basic navigation. Creating a default navbar: As we all know how […]

Learn More

Working with Modules in Angular.js

What are Modules in Angular.js ? We can think of a module as a container for the different parts of our app – controllers, services, filters, directives, etc. Angular JS supports modules, using which we can divide the JavaScript code involved in our application. Creating modules not only helps separating the code into individual concerns […]

Learn More

Directive in Angular.js – Part 2

This article is the continuation of the previous article on Angualr.js Directive. Here we will be getting to accustom ourselves with few of the ng directives in angularjs. In this article we have shown how to use some of the directives in angularjs. ngSelected – The HTML specification does not require browsers to preserve the […]

Learn More

Directive in Angular.js – Part 1

Introduction: The web, when it first came out was really just designed to display static pages. As we all know it has become very dynamic and we have dealt with that pretty well. jQuery came out many years ago and it provided a way to do it. Angular takes it up a whole notch and allows […]

Learn More

Underscore Methods in Backbone.js

Underscore is a JavaScript library that provides a whole mess of useful functional programming helpers without extending any built-in objects.Underscore methods in backbone.js provides 80 different functions that support both the usual functional suspects, as well as more specialized helpers. It delegates to built-in functions, so modern browsers will use the native implementations of foreach, […]

Learn More

Backbone Routes and History

Backbone Routes – As backbone being a platform which supports the client side, we also in need for a traditional Request/Response website. outesWe fully expect the back and forward history navigation to work. With the stateless nature of the traditional website, this was very easy to implement. The browser needed only to keep track of […]

Learn More

Collections in Backbone.js

Backbone collections are simply an ordered set of models. By using Models and Collections we can avoid putting data manipulation logic into our Views. Plus, Models and Collections provide convenience methods for working with a back end, and can automatically signal Backbone Views when the data changes. Such that it can be used in situations […]

Learn More

Understanding view in Backbone.js

A view in backbone.js represents a DOM element, as well as the child elements within that element.Backbone views are used to reflect applications’ data models front-end. They are also used to listen to events and react accordingly.Backbone views are almost more convention than they are code.They don’t determine anything about HTML or CSS,it can be […]

Learn More

Models in Backbone.js

Introduction: working on a web application involves a lot of JavaScript.in backbone we use models as representative of the information. as we can create, update, delete,validate and also store the data/information in server. we are able to do the same things with a model in backbone.an UI action causes an attribute of a model to […]

Learn More

Introduction to Backbone.js

Introduction: The web application development process has been evolving over the years. In the beginning web applications were just static HTML pages, which required programmers to change the code in order to change the content. Later, in web 2.0, server side programming languages were added to generate HTML pages dynamically based on user input and […]

Learn More

JavaScript and Cookies

Web Browser and Servers use HTTP protocol to communicate. HTTP is a stateless protocol. But for a commercial website it is required to maintain session information among different pages. Cookies are bits of data that a browser stores in visitor’s computer. When a web server has sent a web page to a browser, the connection […]

Learn More

Calling NEO4J Rest API from node.js without any Library

As we can call and get results from REST API for any server, following is a test where we have called and got result from Neo4j REST Api using node.js. Here our call is a raw NEO4J Api call from node.js for a GET method which returns a particular node.  May be we will make […]

Learn More

String Object in JavaScript

The String object is used to manipulate characters and wraps Javascript’s string primitive data type with a number of helper methods. Because Javascript automatically converts between string primitives and String objects, we are able to call any of the helper methods of the String object on a string primitive. String objects are created with new […]

Learn More

Polymorphism in JavaScript

Polymorphism is the ability to create a variable, a function, or an object that has more than one form. In object oriented programing polymorphism is used to call the same method on different objects to have them respond in their own way. Polymorphism also supports late binding or dynamic binding which determines exact type of […]

Learn More

Encapsulation In JavaScript

Introduction : Encapsulation is an important feature in object oriented programing (OOP). It is also very important to any developers, that they can secure their technology from others. A class is a template or prototype for each object instances made to the class design. The class specifies the properties and methods that objects can work […]

Learn More

Understanding “this” keyword in JavaScript

Whether it is JavaScript or java we have been using “this” in many places. This “this” is quite interesting. “this” is actually a reserved keyword. Although it acts differently in JavaScript than all other languages. In java we know that “this” refers to the same object in which ”this” resides. But in javascript we will […]

Learn More

Object in JavaScript

JavaScript is an object oriented language, but JavaScript does not use classes. JavaScript is prototype based, not class based. In JavaScript objects play a very important role. With the help of object oriented programing we can use 1. Encapsulation – A language mechanism for restricting access to some of the object’s components. 2. Abstraction – […]

Learn More

Some Redis commands with Node.js

In this post, we have tried to discuss some Redis Commands with node.js – redis node.js driver – (node-redis). Here we have discussed the coding with node-redis library which are used in our projects. Here are the commands which are discussed below – 1> SET and GET – To put some value in key and […]

Learn More

Form Validation Using JavaScript

This tutorial discusses how to create a JavaScript-enabled form that checks if there is any vacant section which user have to fill up before it is sent to server. This process is called form validation. Introduction: Form validation is the process to check weather the user have given all the necessary important information before it […]

Learn More

Redis -a key-value based datastore

Redis is a key-value based in-memory datastore and data structured server, which also offers several other data structures to save and retrieve the data. It is an open sources project written in ANSI-C. It is having persistence capability and it support several other data structures except only key-value pair. We are exploring redis for some […]

Learn More

Regular Expression In JavaScript

In this tutorial we are going to focus on using regular expression in javascript. Introduction: Regular expressions are patterns used to match character combinations in strings. In javascript we can use regular expression as an object too. With the exec and test method of RegExp we can invoke regular expression. Creating Regular Expression: The easiest […]

Learn More

Object Oriented Programing in javascript featuring inheritance (prototypal model)

In object oriented programing (oop) one of the most interesting feature is inheritance. In this feature, information will pass down to the child class from parent class without changing any information in child class. In javascript classes are represented in form of functions. Functions in javascript will work as classes. In JavaScript, objects are pairs […]

Learn More

Node.js Unit Testing with Should.js

One of node.js unit testing javascript library is should.js. After having node.js in machine, we have to install should.js through npm(node package manager). To install should.js we need to run in terminal – npm install should To enable should.js in any given javascript file, we have to include – require(‘should’); Some of the testing which […]

Learn More

Node.js Synchronous and Asynchronous Functions

In node.js platform, as the non-blocking programming model is followed as practice, all most all of the functions in the node.js modules are primarily asynchronous in nature. It means, the code block within the function will be mostly non-blocking to the end user and user will not ne prevented to perform different actions for various […]

Learn More

Node.js Non-Blocking IO Model

Now-a-days developers know about Node.js as a server -side javascript execution platform. According to nodejs.org,- “Node.js is a platform built on Chrome’s JavaScript runtime for easily building fast, scalable network applications. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices.” Now node.js opens […]

Learn More

POST requests with Google DART, Node.js and MongoDB

Previously we have posted the article for Handling GET requests with Google DART, Node.js and MongoDB. Current post is an extension of the above post – now this time it is a POST request handling. We have posted in an separate article because we have found some of the critical things (which we will explain here) […]

Learn More

Handling GET requests with Google DART, Node.js and MongoDB

Previously we have posted the article for Single Page Application with Angular.js, Node.js and MongoDB (MongoJS Module). Also we have written about some initial concepts about Google DART in HTML Handling with Google Dart Google Dart – language of Structural Web Applications Handling Asynchronous HTTP Requests in Google DART Currently we are learning Google DART and […]

Learn More

Handling Asynchronous HTTP Requests in Google DART

We have previously written a start-up tutorial in Google Dart – which is – Google Dart – language of Structural Web Applications. In Current Post we will try to explain the handling of Asynchronous HTTP Requests in Google Dart. In Google Dart, handling of HTTP Request (Asynchronous Web Request Handling) s fairly easy. If the reader has […]

Learn More

HTML Handling with Google Dart

We have previously written a start-up tutorial in Google Dart – which is – Google Dart – language of Structural Web Applications. In Current Post we will try to explain the basic handling of HTML DOM Elements with Google Dart. To do DART programming, we are having a very nice editor – Dart Editor . By Starting […]

Learn More

Google Dart – language of Structural Web Applications

Recently we are exploring Google Dart as a choice for web applications in our projects. We have explored previously different concepts of Angular.js for client side development which is Javascript based MV* framework. When we first looked at Google Dart to explore the ways of development, we have seen Dart as a full featured language. According to […]

Learn More

HTML 5 Audio

In this article we are going to discuss about the html5 audio element. As like other media elements like video, audio is also an element of html5 media family. So it is quite easy to add JavaScript code, CSS etc with this. We will start this tutorial with a simple example of audio element. By […]

Learn More

How to draw paths using Quadratic Curve & Bezier Curve in HTML5

In this html5 canvas tutorial we will discuss about some shapes & also some additional features of canvas. To draw quadratic curve, html5 has a function named quadraticCurveTo(). The implemetation looks like, <!DOCTYPE HTML> <html> <head> </head> <body> <canvas id=”myCanvas” width=”578″ height=”200″></canvas> <script> var canvas = document.getElementById(‘myCanvas’); var context = canvas.getContext(‘2d’); context.beginPath(); context.moveTo(188, 150); context.quadraticCurveTo(258, […]

Learn More

Using local storage in HTML5 with IndexedDB

What is HTML5 IndexedDB? IndexedDB is not same as other relational databases which has tables with a collection of columns & rows. It is an ObjectStore, which creates an objectStore for a set of data & persist JavaScript objects to that store. IndexedDb uses a cursor which is used to iterate across the result set. […]

Learn More

How To Integrate Font Options In Your WordPress Theme

Once I was looking for change my font style  through while going through WordPress theme customization for one of our client, but I haven’t found the font options in my admin panel. I have found many plugin regarding on this but I would like to have this time in our WordPress Theme dashboard without using […]

Learn More

How To Show Your Schedule Blogs On Your Blog Home Page

In our last post we have discussed about ‘How to Schedule Your Post in WordPress’. But it could be better if we show our future upcoming posts in our website. So, all of our readers will know what they will have in future posts. We can’t find this feature more in WordPress premium themes. So, we […]

Learn More

How to Schedule Your Post in WordPress

Are you a dedicated blogger? If yes, then you don’t abandon your blog while you are going for a one week vacation. Or you may stay abroad for one year and your blog peek time is 1.00 a.m. as per new time zone when most of visitor sees your blog. No problem, WordPress template has […]

Learn More

TURNING YOUR HTML TEMPLATE INTO A WORDPRESS THEME

Current post is about converting HTML template to WordPress Theme. First decide your custom theme name and create a new folder with this name. Copy image folder from your old website folder and paste it into the new folder.  Always create a backup of all the files that currently make up your static website Now […]

Learn More

Pie Chart using HTML5 canvas

In current post, we will see how to create pie chart using html5 canvas. What is pie chart? A pie chart (or a circle graph) is a circular chart divided into sectors, illustrating numerical proportion. In a pie chart, the arc length of each sector (and consequently its central angle and area), is proportional to the […]

Learn More

Search Engine Ranking Factors Revealed

Be an individual or a business entity, it is pretty obvious twenty first century demands more. In fact, the other way round if you consider to build a web presence for yourself which has the vigor to establish your reputation in a steady manner. This can only be achieved through the search engine ranking of your blog/website. Return […]

Learn More

Draw Bar Graph using HTML5 Canvas

What is bar graph? A bar graph is a chart that uses either horizontal or vertical bars to show comparisons among categories. One axis of the chart shows the specific categories being compared, and the other axis represents a discrete value. Now the technicals –  how to draw the bar graph in Canvas? In the […]

Learn More

Android Custom Loader to Load Data Directly from SQLite Database for Android Donut (Version 1.6) and Later

Today we’ll discuss about custom loaders in Android. Loaders have been introduced from Android 3.0 but we can also use loaders in prior versions of Android starting from Android 1.6 with the help of Android compatibility library. In this tutorial we won’t discuss the basics of loader which is vastly available in the Internet. A […]

Learn More

d3.js and Angular.js Directive Collections

This week we have created a collection of different d3.js basic Graph and Charts with Angular.js Directives. Reader can go through our previous posts – 1> D3.js in Angular.js Directive – a relief from D3 svg code in HTML Page 2> Simple Bar Graph with d3.js and Prototype.js – a Javascript Class based Approach 3> […]

Learn More

14 ways to Spot Bad SEO Agency

Hope you are in safe hands! Do not know if that is true or not? Did you make the mistake to select SEO agency based on nothing but their loud words? Web presence could be at stake no matter how much you invested toward your website’s steady ranking in Search Engine. So before burning your […]

Learn More

Single Page Application with Angular.js, Node.js and NeDB (NeDB Module)

This article has been updated with Express 4. Click here to see the updated article. Previously we have posted the communication for Developing Angulat.js Web Application with Node.js, Express.js and MongoDB (MongoJS module). Current post is a proof of concept towards make web application with Javascript based Web Server with light-weight database NeDB. To make this […]

Learn More

Real-time Data update with Angular.js, Node.js and Socket.io

Current post is a proof of concept towards make a real time web application with Javascript based Web Server with Socket.IO with Angular.js and Node.js. We have simulated a situation with 4 Product with their Best Buy Price, Best Sell Price and Last Trade Price. To make this possible, we have selected – 1> Angular.js […]

Learn More

Angular.js Tests with Jasmine

We have previously written about javascript based testing framework – JavaScript Testing Framework – Jasmine – a quick study.  In current post we are trying to discuss the Angular.js client side testing with Jasmine Testing Framework. We have covered the testing of Client side Controller and Angular Mock Service with Jasmine Framework. Codes are commented […]

Learn More

How ( Bad ) Spiders and Bots inflate Google Analytics

Did you ever try to dig into the unavoidable factors affecting your website/ blog ‘s position in web? Now when Google is gearing up its arms day by day, it becomes vital to consider the techniques involved in Search Engine Optimization. Grass root level association with Spiders and Bots are still out of ordinary people’s […]

Learn More

Angular.js Service and Dependency Injection

In the current post, we will try to explain the Angular.js Service Definitions with some of the ways with our coding. Previously we have written – Concepts in Angular.js Application Development. First is the example of declaring service within Angular Factory and access it in Angular Controller – // Below is the Controller app.controller(‘StockListCtrl’, function($scope,stockService) […]

Learn More

JavaScript Testing Framework – Jasmine – a quick study

Now-a-days various JavaScript based applications are being increasingly popular. So there are requirements to test JavaScript code in automated way are being evident in all aspects of development work. Below is a short study on JavaScript Testing Framework – Jasmine Installation and Running Section – Install the Jasmine Standalone framework from here. Unzip the folder. Put […]

Learn More

Concepts in Angular.js Application Development

In this post we will discuss some of the well-known concepts in Angular.js Application Development one-be-one. 1> ng-app – It is an angular directive, which defines a html body or a portion of html body to be defined as Angular.js Application. 2> Angular Expression – Some code like {{ some_angular_variable }} will evaluate the variable value. It […]

Learn More

Angular.js Promise and Deferred Api – Implementation Explained

Angular.js Promise – A promise in Angular.js act as an placeholder from where a javascript object returns some result as data which is done in an asynchronous way and it does not guarantee any fixed response time. A combination of deffered and promise API in Angular.js ensure the success and reject callback handling in client […]

Learn More

Angular.js $watch and $observe – a brief look

Angular.js $watch – Angular.js $watch event is fired every time, when it detects change on a DOM attribute variable value. For a $watch expression, the listener fire every time when it detect that the current value in context is not same as the previous value. To undetstand the $watch expression we put below a simple […]

Learn More

Single Page Application with Angular.js, Node.js and CouchDB (Cradle Module)

This article has been updated with Express 4. Click here to see the updated article. Previously we have posted the article for Single Page Application with Angular.js, Node.js and MongoDB (MongoJS Module). Current post is a proof of concept towards make a web application with Javascript based Web Server with CouchDB with Angular.js and Node.js. The […]

Learn More

Simple Bar Graph in Angular Directive with d3.js and Prototype.js – Element based Directive Definition

We are recently working to convert our client side javascript code to  convert in Object Oriented approach. So we have gone through learning process of javascript OOP and written our previous article – Javascript in OOP Way – some interesting study and while learning the d3.js graph creation, we have posted D3.js in Angular.js Directive – […]

Learn More

Calling Remote Rest API from Node.js to integrate PostGreSQL

This Post is an odd requirement which evolved during our work. Actually we had started to explore the way to integrate Node.js and PostgreSql based in our Applications. After a little bit of googling, we found the node-postgres module on github. I tried to install the npm in mu windows 7 machine. Unfortunately the module […]

Learn More

Simple Bar Graph in Angular Directive with d3.js and Prototype.js – a Javascript Class based Approach

We are recently working to convert our client side javascript code to  convert in Object Oriented approach. So we have gone through learning process of javascript OOP and written our previous article – Javascript in OOP Way – some interesting study and while learning the d3.js graph creation, we have posted D3.js in Angular.js Directive – […]

Learn More

Simple Bar Graph with d3.js and Prototype.js – a Javascript Class based Approach

We are recently working to convert our client side javascript code to  convert in Object Oriented approach. So we have gone through learning process of javascript OOP and written our previous article – Javascript in OOP Way – some interesting study and while learning the d3.js graph creation, we have posted D3.js in Angular.js Directive – […]

Learn More

Javascript in OOP Way – some interesting study

As we are moving towards a world of client side MVC, new frameworks of javascript are becoming extremely important. We have posted here the Object Oriented Programming and other interesting facts  in Javascript with feature examples. So below are the codes with Comments – // Some interesting facts about Javascript // // Javascript Object Definitions […]

Learn More

D3.js in Angular.js Directive – a relief from D3 svg code in HTML Page

We have came through D3.js coding for Graph generation in our projects. To me personally, this coding is somewhat complex for startup programmers. Recently I am going through learning Angular.js and Angular Directive.  So I had a thought to introduce an angular directive which will wrap the complex functionality of D3.js. So here is the result […]

Learn More

jQuery Plugin under Angular.js Directive – a more clean html approach

In previous article, we have described about building a jQuery Plugin from scratch. We will describe a clean approach to make clean html with Angular.js Directive which will wrap the functionality of the above JQuery plugin. This plugin is already configurable for the image moving direction – left, right, up and down. What is Angular.js […]

Learn More

A Simple jQuery Image Slider Plugin with minimal effects

We have tried to make a simple jQuery Image Slider Plugin to understand the jQuery Animation and Plugin functionality in more Details. This Image Slider Plugin is having feature to slide whole content from UP, Down, Left and Right, which are configurable from HTML Page. As this is our first attempt, the effects are not […]

Learn More

Writing a simple JQyery Plugin

Currently we are working on some UI based projects, where we had to write JQuery Plugin from scratch. Following is an example of preliminary jQuery Plugin, by which we can understand the implementation of this particular approach of jQuery. We have described the work in the comment section in HTML and Javascript pages. The HTML […]

Learn More

Single Page Application with Angular.js, Node.js and MongoDB (MongoJS Module)

Previously we have posted the communication for Developing Web Application with Node.js, Express.js and MongoDB (MongoJS module). Current post is a proof of concept towards make a web application with Javascript based Web Server. This technological stack is popularly known as MEAN  Stack. To make this possible, we have selected – 1> Angular.js for client side […]

Learn More

Task List with Angular.js, HTML5 Local Storage and Decorate with Bootstrap in Google Chrome Extension

We had an idea to add a Daily Task List as Google Chrome Extension with News Feed Reader related to daily interested news to us. So here is a Chrome Extension made with following integrated tools – 1> Angular.js to make the Task List and Task Adding Functionalities. 2> HTML5 Localstorage to keep the task […]

Learn More

Creating Google Chrome Extension to add a Custom RSS Feed Reader

In our previous post Creating RSS Feed Reader and Decorating with Bootstrap.js we had made a RSS Feed reader which is capable to read multiple RSS Feed in same page using a tab navigation. We had used Bootstrap.js and CSS to end the Application with a standard UI from developer perspective. Next we have tried to […]

Learn More

Creating RSS Feed Reader and Decorating with Bootstrap.js and CSS

In this post we will describe our experience of creating a RSS feed reader and showing the RSS content from a local html file. To show the content standardised, we have integrated twitter bootstrap.js in our RSS fead reader content showing page. We have integrated following technologies here – 1> Simple PHP XML file parsing […]

Learn More

HTML5 LocalStorage and Json Object – Some Operations

In this post, we will put some coding ideas about Json Object manipulation within HTML5 Localstorage. We have tried to structure the Operations on Json Objects – such as – Adding element to Json, Updating particular Json object, Deleting element from Json object and printing the Json Object within coding. So let us directly go […]

Learn More

Some Map-Reduce Application Examples and Ideas

Recently we have studied and applied map-reduce framework to solve different types of problem of selecting and grouping of data for analysis in different directions. We have posted some of our posts to understand Big Data and Map-Reduce programming – How Big Data Can Help Small Organisations? Map Reduce Programming – Concise Definition Map Reduce […]

Learn More

Map Reduce Programming – Concise Definition

Above is a visual representation of map – reduce framework. Map-reduce is a programming technique to solve any aggregation-grouping-summation related problem, where we have huge amount of data and try to do the above operation in parallel in no of distributed machines. In map function/s, we will collect the frequency of data after processing on […]

Learn More

Map Reduce Programming in MongoDB Shell

Here we will give a simple example of executing Map Reduce Job in MongoDB Shell. For beginners we have a quick start-up guide in MongoDB. We expect – readers of this post have knowledge in 1> Map Reduce Framework 2> MongoDB Primary Concepts In MongoDB, different scenarios can be represented as Map Reduce Job. Our […]

Learn More

Web Application with Highchart.js, Node.js, Express.js and MongoDB(Mongo-JS Module)

This article has been updated with Express 4. Click here to see the updated article. This application is another proof of concept towards make a web application for graph generation  with Javascript based Web Server. In this application we have used following tools and technologies – 1> Node.js for server side development 2> Rest based […]

Learn More

MySql to MongoDB conversion – A Quick Approach

In our  work we had a need to convert dataset from MySql to MongoDB. Below is the quick coding for this conversion. We should use some framework approach to convert data from RDBMS to NoSql. So there are ways of optimisation for the below code. But as we have used JDBC and Java-MongoDB Api here […]

Learn More

Running Map-Reduce Job in Apache Hadoop (Multinode Cluster)

We will describe here the process to run MapReduce Job in Apache Hadoop in multinode cluster. To set up Apache Hadoop in Multinode Cluster, one can read Setting up Apache Hadoop Multi – Node Cluster.  For setting up we have to configure the hadoop with the following in each machine: Add the following property in […]

Learn More

Setting up Apache Hadoop Multi – Node Cluster

We are sharing our experience about Apache Hadoop Installation in Linux based machines (Multi-node). Here we will also share our experience about different troubleshooting also and make update in future. User creation and other configurations step – We start by adding a dedicated Hadoop system user in each cluster. $ sudo addgroup hadoop $ sudo adduser […]

Learn More

Develop Web Application with Node.js, Express.js REST Service and Neo4j (neo4j-js module) – Updated

This article has been updated with Express 4. Click here to see the updated article. This article is a proof of concept towards make a web application with Javascript based Web Server with Node.js and Neo4j. To make this possible, we have selected – 1> Node.js for server side development 2> Rest based web service […]

Learn More

Quick Glance at Neo4j Cypher Queries for Sample Graph Database

We have tried to show different Neo4j Cypher Queries to show different capabilities of graph database. To start with graph database preliminary concepts, read Preliminary Concepts of Graph Database. .We have given below the cypher queries, which are based on a model – which is described in Case Study in Graph Database in Context of Neo4j Cypher […]

Learn More

Expandable List in Android

Today we are going to discuss ExpandableListView in Android. Here I’ve used Eclipse with ADT plugin to build this example. The example is straightforward. Create a new Android Application Project in your workspace. Extend your main Activity from ExpandableListActivity. For your reference please find the following code : package com.example.expandablelistviewdemo; import android.app.ExpandableListActivity; import android.content.Context; import android.os.Bundle; […]

Learn More

Case Study in Graph Database in Context of Neo4j Cypher Query

We have presented here a typical case study related to graph database model. Previously we have written Preliminary concepts in Graph Database. In this post, we will try to describe a Case Study for a typical Graph Database Model and show the Diagrammatic representation. Case Study for Graph Database – Nodes – Entity – User […]

Learn More

Preliminary Concepts of Graph Database

We will try to clarify the Concepts of  Graph Database in context of neo4j – a graph database in our posts one-by-one. So below is our first post which describes the quick start up concepts of Graph Database. Graph – A graph consists of information in Nodes which are interconnected. A Graph can consists of […]

Learn More

Keyword Selection – backbone of SEO

SEO is the abbreviation of Search Engine Optimization.Overall SEO process is described in Search Engine Optimisation – A Small Brief. Here we will discuss about the relevancy of KEYWORD in SEO. Keyword is the one of the important property of SEO. The search string/term entered by the net surfers, is called KEYWORD. Most of the […]

Learn More

Search Engine Optimisation – A Small Brief

  What is SEO? SEO stands for Search Engine Optimization. A search engine is a very common thing every net surfer faces now a days. By using search engine one can find some article or topic by using a word or more than one word in a Search Engine Interface. In SEO, the searching terms […]

Learn More

Developing Web Application with Node.js, Express.js and MongoDB (MongoJS module)

This is our second proof of concept towards make a web application with Javascript based Web Server. To make this possible, we have selected – 1> Node.js for server side development 2> Rest based web service creation with express.js 3> Database – MongoDb 4> Node.js MongoDb Module Extention (mongojs) We have created a Proof of […]

Learn More

A Quick Primer on MongoDB

We have used some of useful commands in MongoDB in our project work. Below is the quick reference of MongoDB commands which can be executed from MongoDB shell. We have tested all the commands from mongodb shell with test data examples. We can download mongodb from here. To start mongodb we should use – mongod […]

Learn More

Installation and running Apache Nutch and Apache Solr for crawling and indexing Web Content

In our work, we needed to use open source web crawler for unstructured data gathering. Here we have used A> Apache Nutch for web crawling and B> Apache Solr for unstructured web data indexing Steps, that we have used to set up the complete environment are – 1> Downloaded Apache Solr (3.X) 2> Downloaded Apache […]

Learn More

Developing Web Application with Node.js, Express.js and MySql

This is our first effort towards make a web application with Javascript based Web Server. To make this possible, we have selected – 1> Node.js for server side development 2> Rest based web service creation with express.js 3> Database – MySql We have created a Proof of Concept with Javascript based web server, where we […]

Learn More

Backbone.js View in Client Side Javascript MVC – with Java based Web Project – Part 3

This article is extension of Backbone.js based Application with Java based web project. The project code can be downloaded here. Backbone.js views are used to render client side application data model. They are used to listen events and work as per that. We will explain view functionality with JavaScript template library within our application for […]

Learn More

Creating ListView with Multiple Selection in Android

Today we’ll discuss how to create a simple list view with multiple item selection facility in Android. I assume that you have already installed Android SDK and Eclipse and your development environment is set up properly. Create a new project in Eclipse and extend your launcher activity from ListActivity. Please refer to the code below […]

Learn More

Backbone.js Router in Client Side Javascript MVC – with Java based Web Project – Part 2

This article is extension of Backbone.js based Application with Java based web project. The project code can be downloaded here. In Backbone.js Javascript MVC Frameworks, router are used to navigate web site URL’s by using hash tags(#). All routers in Backbone.js contain route and function to map to that route. In our case, the route […]

Learn More

Backbone.js in Client Side Javascript MVC – with Java based Web Project

This article is extension of Backbone.js based Application with Java based web project. The project code can be downloaded here. In Backbone.js Javascript MVC Frameworks, The Model is referred to the intermediate data holding objects in client side which is required for data manipulation, validation on client side, fetching data from server side and finally […]

Learn More

Developing Java REST web applications with Backbone.js

Recently in our J2ee based web application development, we had explored Javascript MVC frameworks to develop structured User Interface Development. Within javascript frameworks, we have found sufficient documentation for Backbone.js to develop sample Proof of Concept with J2ee based Application Back End. We are writing post as we have not found a full-fledged Java based […]

Learn More

A Complete J2ee Project UML

I have created UML for Different Projects in my earlier works.  I thought that it is worth to share a complete Project UML which is based on some imaginary scenario on a flight system. I had created it earlier for my Sun Certified Enterprise Architect Examination. Below are the Content links – Project Introduction Class Diagram Component […]

Learn More

How to insert data from wordpress page using wordpress api

We are trying to discuss here about Insert data in WordPress site, using WordPress API . Steps for creating such a functionality will be – 1.  Goto WordPress theme root folder of your choice. 2. Create a PHP page with your choice. 3. Create the WordPress Page Template code at beginning of the Page (need to do […]

Learn More

How to insert data from wordpress page without using wordpress api

We are trying to discuss here about Insert data in WordPress site, without using WordPress API . Steps for creating such a functionality will be – 1.  Goto WordPress theme root folder of your choice. 2. Create a PHP page with your choice. 3. Create the WordPress Page Template code at beginning of the Page (need to […]

Learn More

How to add Shortcode in WordPress

Sometimes in work there are some common html block which are needed to be placed in all pages. In this case we have a option – SHORTCODE  in wordpress, which is quite useful. Now below is an working example, by which we can add footer section to all of pages in wordpress. First – We […]

Learn More

Programs to Extract the Annotations from Raw Documents – Part 2

We have previously written – Programs to Extract the Annotations from Raw Documents – Part 1. Here is the program to get the annotated value from XML File and put into the Database. AnnotationImplementationPosTaggerDB.java  a> Logical stop words for GATE annotation processing –  static String stop_words[] = {“few days”,“Some people”,“toes”,“or run”,“There”,“weeks”,“the pain”,“Both the pain”,“It”,“the body”,“the […]

Learn More

Programs to Extract the Annotations from Raw Documents – Part 1

In our work, after writing the jape files and populating gazatteer files(*.lst) files, we have used two program files to process all the annotations to db, from which we actually served in web application (Symptom Search).  We will describe those two files line-by-line and attach other files in the project with broad description of the […]

Learn More

Gate Ontology Update

Instuction for making Ontology in Gate Developer – (1) Creole Plugins to be configured – Tools Ontology Ontology_Based_Gazetteer Ontology_Tools ANNIE Place the attached disease_symptom.owl in “<<Gate Installation>>\plugins\Ontology_Tools\resources” Click on Language Resource and add OWLIM Ontology – Follow picture – OI-01.jpg Double Click the DiseaseSymptom Ontology and see the OI-02.jpg How to create classes there – Follow the P-01, P-02 and P-03 jpg files and […]

Learn More

An medical application made with GATE

An work which we have done with GATE – Steps what we have taken – 1> Extracted all the symptom information from our disease database application and parsed and extracted clean text without html tags from there. 2> We have made a sample gazetteer from disease names. 3> We have made a sample gazetteer with […]

Learn More

Text Analysis with GATE – Part 7

JAPE: Regular Expressions over Annotations JAPE is a Java Annotation Patterns Engine. JAPE provides finite state transduction over annotations based on regular expressions. JAPE is a version of Common Pattern Specification Language. JAPE allows to recognise regular expressions in annotations on documents. A regular language can only describe sets of strings, not graphs, and GATE’s […]

Learn More

Creating and Running Application file in GATE

Running GATE on based of gazetteer – Working logic to run the GATE Application was – 1>Take the lst files in gazetter 2>Map the lists.def file with updated gazetters. 3>Then put the PRs for processings in the Gate Application File. 4> Write Jape rules for taking the gazetter values and add some words to it. 5> Write […]

Learn More

Text Analysis with GATE – Part 6

Components of GATE GATE Documents Documents are modelled as content, annotations and features . The content of a document can be any form in GATE. The features are <attribute, value> pairs stored a Feature Map. Attributes are String values while the values can be any Java object. The annotations are grouped in sets . A […]

Learn More

Text Analysis with GATE – Part 5

GATE Embedded Integrating GATE-based language processing in applications using GATE Embedded (the GATE API) : add $GATE_HOME/bin/gate.jar and the JAR files in $GATE_HOME/lib to the Java CLASSPATH ($GATE_HOME is the GATE root directory which is stored in Environment variables in OS) To initialise GATE with gate.Gate.init(); We have worked with GATE in following areas (We […]

Learn More

Text Analysis with GATE – Part 4

GATE comes with various built-in components: Language Resources modelling Documents and Corpora, and various types of Annotation Schema. Processing Resources that are part of the ANNIE system. Gazetteers. Ontologies. Machine Learning resources. Parsers and taggers. Other miscellaneous resources. ANNIE: a Nearly-New Information Extraction System ANNIE components are  1 Document Reset PR  The document reset resource […]

Learn More

Text Analysis with GATE – Part 3

The basic business of GATE is annotating documents.Core concepts are; the documents to be annotated corpora comprising sets of documents, grouping documents for the purpose of running uniform processes across them annotations that are created on documents,annotation types such as ‘Name’ or ‘Date’ annotation sets comprising groups of annotations processing resources that manipulate and create […]

Learn More

Text Analysis with GATE – Part 2

Collectively, the set of resources integrated with GATE is known as CREOLE – a Collection of REusable Objects for Language Engineering. While using GATE to develop language processing on some collection of documents, the developer uses GATE Developer and GATE Embedded to construct resources. This may involve programming, or the development of Language Resources such […]

Learn More

Text Analysis with GATE – Part 1

In our work environment, we have done some of  the projects which are related to Text Engineering. Apart from the theoretical aspects, we have used GATE (General Architechture of Text Engineering) Most of the contents of this series of posts are in line with GATE Documentation. In this series, current post is a simple introduction […]

Learn More

Running Google Android Map V2 on Android Froyo and later

In this tutorial I’ll discuss that how to create a basic Android application which uses the Google Android Map V2. This application will run on any Android device running Android version 2.2 and later. Install/Update Android SDK with Google Play services : I am assuming that you already have installed Android SDK and Eclipse. Please […]

Learn More

Jasper Report Server – Architecture as we revealed in our work

In previous projects we have worked with Jasper Reports Server Community Edition. From our experience, we have revealed that, it is a standalone report server i.e. a reporting container bundled in a Web Server. We can design the reports using IReport Designer and can deploy those reports in JasperReports Server. We can have out-of-the box […]

Learn More

J2ee Web Project Guidelines – some points that should not be ignored

In earlier J2ee Web Projects, we have made some standards, which may be followed in future projects with required modifications and alterations in approach. We are pointing those as below – General Points – The underlying technical architecture will follow N-tier Architecture. The System will be designed with Windows web application interface. (Modern Projects should […]

Learn More

Search mechanism and Keyword Search

// // <![CDATA[ // ]]> Image courtesy of internet / FreeDigitalPhotos.net Search is http://tadalafilonline-best4ed.com/ a broad term to deal with and it is even female viagra free sample broader from SEO perspective. Key words occupy a mere fraction of the whole idea known as Search Mechanism. Google, Yahoo, Bing – the spy app for iphone […]

Learn More

Content Marketing and it’s importance in Social Media Presence

With majority of companies integrating social media in their marketing strategies, the biggest playing field today in content marketing sure has something to say. Of course there are the numerous methods in promoting a brand but when it comes to Social Media, marketers all over the world have realised that content is the absolute king. […]

Learn More

In depth Keyword Mechanism in SEO

// // <![CDATA[ // ]]> In my previous post , I gave short introductions for all the types In greasy orange it’s. Reading canadian pharmacy wichita ks am me get on also will feel. MY it viagra cialis cocktail hair in produced the for, color an of levitra online get it no "anti-bacterial gives viagra […]

Learn More

Liferay Portal – Practical Introduction – Updated for Liferay 6.1

Though I am working in Open Souce Technologies for last 7-8 years, Development with Liferay Protal is relatively new to us. What we see from our little experience in Liferay, (working with version 6.1),  it is a portal development framework with Web Content Management – Content Management System and also having a framework to develop […]

Learn More

Inter Portlet Communication in Liferay Portlets

We have shown below a way of IPC in Liferay using public render parameter – 1> Made first portlet AaginIPCSend (from where the parmaters are to be shared) – here I have overridden two methods – public void doView(RenderRequest renderRequest, RenderResponse renderResponse)throws IOException, PortletException { try { PortletURL addName = renderResponse.createActionURL(); renderRequest.setAttribute(“addNameUrl”, addName.toString()); System.out.println(“Are we […]

Learn More

BerkleyDB XML Database Manipulation with Java

As I have made experience with XML Database manipulation with BerkleyDB in J2ee Projects, I am mentioning some of the Jist Code example for BerkleyDB XML Database manipulation with the respective API – …. private XmlManager mgr = null; //BerkleyDB XML Data Manager …. //Prepare XML Database configuration public void prepareXMLManager() throws Exception { try{ […]

Learn More

Liferay Portal Development with Responsive CSS

In today’s complex development world, we need responsive design in almost every project. So we are not in exception with Liferay Projects also, which is mainly portlet based development. From developer perspective, we are not very good designer, but we need to know some of te HTML5, CSS tricks in our work. I have customised […]

Learn More

Keyword mechanism in SEO

// // <![CDATA[ // ]]> Keyword mechanism is buy generic cialis phone spy app sildenafil citrate cialis and valium a more than what It! I’m it shadow the hair BECAUSE. Is http://canadianpharmacy2treated.com/ Go soles the black. Have hair cialis extended release suprised types a. I the. Packaged cialis viagra taken together generic cialis The that […]

Learn More

Search Engine Optimization – An Introduction

// how does cialis work // <![CDATA[ // ]]> Image Credit cialispharmacy-onlinetop.com – topseonews.in Search Engine Optimization as it is popularly known as SEO is a detailed process to make your web presence visible in search engines. taking nitroglycerin and viagra Search Engines such as Google, Yahoo and Bing take major chunk of attention in […]

Learn More

Quotes about Technology – Again

Those parts of the system that you can hit with a hammer are called hardware; those program instructions that you can only curse at are called software. – Levitating Trains and Kamikaze Genes Beware of computer programmers that carry screwdrivers. – Leonard Brandwein The machine does not isolate man from the great problems of nature […]

Learn More

Apache Solr Installation and Confiuguration

Apache Solr is a serach engine build on top of Apache Lucene as a product and it has a full functional web server based search engine in it. We can use this as Search Engine for our requirement in Applications. Apache Solr is a open-source search server which can be hosted in Web. Solr give […]

Learn More

Highchart in Liferay Portlet

We have experienced some work related to Liferay Portlet and Highchart.js in our recent development. The output in Portlet is  – I am sharing the coding requirement here. It is a price comparison data for years. In the Portlet, I have made use of java collection framework to facilitate Highchart Data Structure. Portlet Coding – [code language=”java”]<br […]

Learn More

Some Problems and Work-Around in Liferay 6.0

We have faced some general problem in Liferay 6.0 and found some workaround from google. I thought about those problems-workaround are worth to mention as a list in a separate article. Also to mention, as the I will be more familier with liferay development, I will update the list also. The problems I faced in […]

Learn More

Liferay Layout Template Creation

To create fresh template for Liferay, We suggest new  Project for Template Creation. In Eclipse (bundled with Liferay) 1> Create new Liferay Project 2> Select New -> Liferay Layout Template for the Selected Project. 3> We can even select an initial template for this template creattion. 4> Design in Template is purely drag and drop […]

Learn More

Liferay Theme Creation

In Liferay Theme creation, the main process is same as the Layout Template Creation Process. Here in Liferay-Eclipse IDE 1> Create a new Liferay Project. 2> Select “Theme” radio button for this. 3> On clicking finish we will have the Default Theme project 4> When we build the “all” target in the Ant Build file, […]

Learn More

Liferay Service builder – Step by Step

Liferay Service Builder is a specific feature in Lifray 6.0 which facilitate us database centric Development. In Liferay Eclipse IDE, 1> Select a new Service Builder Option 2> Create package path and namespace for the service builder 3> Clicking on finish, it will make a Service.xml file for which the Structure will be – <entityname=“Foo”local-service=“true”remote-service=“true”> […]

Learn More

Liferay Portlet Session – an example

In Liferay, when we need two or more portlets to be communicated and change on one portlet value will change another portlet value, we may use the portlet session variable in Liferay Portal Development Lifecycle. We have used such application scenario in our recent development in Liferay portal. So how have we done this? Below is […]

Learn More

Ajax with JQuery in Liferay Portlet

We have experienced with Ajax Support in Liferay in our development recently. Now we are sharing the same experience with our audience. Here straight to code – In Portlet we should override the method – @Override public void serveResource(ResourceRequest request, ResourceResponse response) throws PortletException, IOException { // Data capture from service layer and and write the data format to […]

Learn More

Liferay MVC Portlet Development – a Startup

After setup of Liferay, Ecllipse and Tomcat–    In Liferay Portal Development,    We should start experiencing our development with Liferay Portlet Development.    The Steps for Portlet Development will be  –    In Eclipse-Liferay IDE –    1> Create a Liferay project with selected Portlet Radio Button    2> Select Liferay MVC Radio Button […]

Learn More

Liferay Development – Setup with Eclipse and Tomcat

To begin development  with Liferay Portal, what should we have are – 1> Liferay Eclipse Development IDE 2> Liferay-plugins-sdk 3> liferay portal bundled with Tomcat Though we have not given any version name for the above bundles, we have used Liferay 6.0 bundles for all of these. The first thing we should create is a […]

Learn More

Quotes for Techies and Non-Techies

Albert Einstein Logic will get you from A to B. Imagination will take you everywhere. There are two ways to live: you can live as if nothing is a miracle; you can live as if everything is a miracle. Science without religion is lame, religion without science is blind. The only real valuable thing is […]

Learn More

Writing a Lucene Analyser

In my work I have written a Lucene Analyser by extending it’s Default functionalities. We needed a N-Gram Analyser for Lucene which will help us for many combination of words in search term. I have read the Book – Lucene in Action to get help from it and also googled for the solution. Below is […]

Learn More

Apache Solr Server integration with Solr4j – Adding Documents with Multivalued Field

When we want to integrate Apache Solr Server within Java Application, we need to use Solr4j Api. For Adding the Solr Documents programmatically, We will code step by step – Adding the Solr Server in Code – public static String url = “http://localhost:8983/solr”; … CommonsHttpSolrServer server = new CommonsHttpSolrServer(url); … Adding Single Document to Solr […]

Learn More

Divert Requests to Multiple Solr Server through Apache HttpClient

In Development Work, we have encountered a requirement of diverting web request to multiple Appache Solr Server,hosted on different machines, which are not exposed to Web.e So I did a simple solution with our old Servlet. What I did is, I have written a servlet which will capture the web request and extract some semantic […]

Learn More

Searching in Apache Solr with Solr4j

We will describe a function for searching in Apache Solr – public static Map searchIndexSolr(String searchString) throws Exception { //Instantiate the Apache Solr Server SolrServer solr = new CommonsHttpSolrServer(“http://localhost:8983/solr”); ModifiableSolrParams params = new ModifiableSolrParams(); //Setting the Search Parameter params.set(“q”, searchString); //Response from Solr Server QueryResponse response = solr.query(params); //Convert response to Solr Documents SolrDocumentList docs […]

Learn More

Concepts in JBoss Drools

Business rule is any real world knowledge or exception that can be explained in when this happens do this. These rules should be explained in as simple as possible in expressive language. Business Systems generally do the following things – Take information via User Interface. Process these information with pre-exsiting knowledge. Store the information in […]

Learn More

Liferay Tables – A brief Description – will be filled up as we experience further

Table Name Description account_ Main Account Information is stored here. address Nothing comes default announcementsdelivery announcementsentry announcementsflag assetcategory all the categrories are stored here, which are entered from Liferay Admin Panel assetcategoryproperty Properties for the Asset Category are saved in Key-Value Pair. assetentries_assetcategories assetentries_assettags assetentry assetlink assettag Tagging of Assests – WCM Journal Articles are […]

Learn More

Be Social, Go Local

Think global act local. It maybe an old adage in marketing but it is as applicable today as a newly minted coin. Does social media marketing truly need to go local? The answer is a very big YES. For all the very big brands with very big commercial stores, study shows this new year will […]

Learn More

The Social Influencer

Well, the image above is extremely self explanatory and gives a very good break up of the range of influencers that inhabit the social media. What really needs to be assessed is how important are they? With millions of people logging in every second to the social media sites worldwide, it is quite obvious that […]

Learn More

Java Jersey – REST based Web Service Example

We are describing a simple REST based web service example with Java jersey. This project is a Dynamic Web Project in Eclipse and was tested in Tomcat 7. You can have a view of the Libraries for this Project in below Image – We are giving souce code of the Web Service Class and showing […]

Learn More

JBoss Drool based Project – an Example

I have previously written JBoss Drools – an Initial Study. Now as I thought of showing an example of drool project, I am directing showing coding related to this. As I thought, the related libraries are necessary for the project, I am showing the image for this in a Dynamic Web Project in eclipse. Please take […]

Learn More

Jericho HTML Parser – Simple way of HTML Parsing

We had chance to extract the HTML and get the cleared text as input of further data processing. Here we have used jericho html parser. Parsing with this open source library was very useful in our previous projects. So I am giving a code base straight for the ease of work. Some lines here are […]

Learn More

What is Asterisk?

We have described Asterisk Installation and configuration process in our previous article. Today we will try to explain Asterisk in a nutshell. Asterisk is an open source software PBX created by Mark Spencer in the year 1999. Asterisk   allows attached telephones to make calls to one another and it also can connect different telephone networks like the traditional […]

Learn More

JBoss Drools – an Initial Study

As we have faced ever-changing business rules environment of organisations, we were in search of some sort of code base, by which we can atleast resist the every week deployment scenario of Application in Organisations. So, here we have found JBoss Drools – an rule engine offered by Jboss. Well structured Java web/enterprise applications are mainly separated […]

Learn More

Creating a simple Widget in WordPress

As I have written in my Previous Post, Here is an example of creating a widget in WordPress – I have created a simple widget with Title and Message field. It has no practical use as such. But if you place this simple widget to sidbar of your wordpress theme, you can see the effect […]

Learn More

Asterisk Installation & Basic Configuration

For this install I am using Asterisk 11.0.1 and will be compiling from source on Ubuntu 11.04. Before you begin the install process you will want to be sure that your server OS is up to date. When the update completes the server will reboot or reboot the server manually. apt-get update && apt-get upgrade […]

Learn More

Indexing PDF Documents with Lucene

I have written articles previously about Lucene Search which are here in the site. You can read those here. But now, a real-world problem is how to index PDF Documents in Lucene? If we want to do this, we have to extract pdf documents through PDFBox Library. The site is pdfbox.org I have just taken […]

Learn More

How Big Data Can Help Small Organisations?

Now-a-days Big Data is a strong Technical Buzzword. More and more enterprise companies are using big data infrastructure to get trends of their business direction and also product direction. They are trying to predict the business uncertainty and changed consumer behavior with more reports in analytics. So the analytics are helping the big organisation in […]

Learn More

WordPress Widget Creation – An Introduction

I am sharing my experience in WordPress Widget creation, as I have learned for some client of mine. To create a widget, we only need to extend the standard WP_Widget class and some of its functions.  Open functions.php and add the lines below: class My_Widget extends WP_Widget {          public function __construct() {                // widget actual […]

Learn More

Preparing for Big Data Technologies

This is a preparation check-list for migration path of a beginner in Big Data Technologies from J2ee Application Area. The list can be – For windows OS users – learning Linux commands is a must. Using HDFS will need help of many Linux Commands One should acquire a in-depth knowledge of Map-Reduce Framework. Map-Reduce programming is […]

Learn More

Lucene Analysers

After a long gap in my writing, now I want to put some light on Lucene Analysers. So, What are Lucene Analysers? According to technical definition, an Analyser is some function or block of code, which take a stream of characters and break those to number of tokens, which are again useful to make index […]

Learn More

Big Data in Enterprise Applications

Before doing much digging in Hadoop, HBase and their application areas, today I will discuss some preliminary concepts here. For Searching Big Data in different enterprises, today Hadoop is a core part of the computing infrastructure for many content based organisations, such as Yahoo , Facebook , LinkedIn , and Twitter . Many more traditional […]

Learn More

Lucene Indexing Automation – Conceptual Idea

This time I want to describe some idea regarding Lucene Indexing Automation. If you have followed some of my previous posts in Lucene – Open Source Search Engine,  Lucene search – a workable example and Lucene Indexing and Searching in Multiple Tables (Conceptual Representaion) and also have gone through Lucenetutorial.com, you already got some idea in Lucene […]

Learn More

Hadoop understanding – Simple Derivation

So today we want to have some knowledge regarding basic understanding on evolve of apache hadoop. I am starting this post with great thanks to Mr. Doug Cutting. for his wonderful work towards making such a nice big data processing framework. Today industry is growing with big to bigger dataset. What that mean??? Industry is […]

Learn More

Lucene based Image Search – A Conceptual Idea

As we have some idea about Lucene Search Capabilities, We can mix up image related information search via lucene. So how we are going to do it? I am trying to give a conceptual idea here. We have the open source Tesseract OCR engine to be able to extract data from Images. So we are […]

Learn More

Lucene Indexing and Searching in Multiple Tables (Conceptual Representaion)

Now-a-days it is common in a content managed system, that many contents of diffrent category of informations are stored in different tables in database. Example of a site can be with – News, Articles, User Pages(Blogs) Etc. Problem Schenario – Now we want to search some term or specific set of words. Our Expectation is […]

Learn More

Lucene and Hibernate – Text searching within ORM wrapper

So we have one kind of searching application with lucene query in Lucene search – a workable example. Also let us assume, we have hibernate related knowledge in our previous works. If we do not have that much, we can google with Hibernate tutorial. Because again this post is not the place to elaborate hibernate […]

Learn More

Lucene search – a workable example

As we have already some idea regarding search techniques in Lucene – Open Source Search Engine or by search in google, we can now go straight to a search application with use of lucene. I will try to explain this problem and solution with bits and Pisces of code and explanation. First : The Problem […]

Learn More

Lucene – Open Source Search Engine Library

Now-a-days searching in applications are becoming more and more important feature. After all, Web is all about information and it is all about getting information at right time and at right hand. Today I will try to put some light on search technologies in J2ee open source software areas for beginners. Also I will go […]

Learn More

Web Application Testing with Selenium Part -2

I have written getting started post on Selenium RC  Testing previously and now I am trying to write this post related to eclipse setup with Selenium RC. I am trying to explain this with helping pictures. Selenium RC with Eclipse Eclipse is a multi-language software development platform comprising an IDE and a plug-in system to extend it. […]

Learn More

Web Application Testing with Selenium Part -1

Though from J2ee Background we are, my experience has shown me that, Testing in Web Application is a typical component for success for any scale of Web Projects. So I wanted to write some articles related to a much known Testing Framework – Selenium, which I have used in my projects. I will try to […]

Learn More

Publishing Personal Ambitions

In order to get Ayn Rand article contest, you have in the future up using an excellent anthem essay and for this objective, you’ve togo through the whole guide but imagine if you don’t like reading guides, if this is actually the circumstance compared to the subsequent article is simply for you. Undergo it and […]

Learn More

PhloxBlog

This is an example page. It's different from a blog post because it will stay in one place and will show up in your site navigation (in most themes). Most people start with an About page that introduces them to potential site visitors. It might say something like this: Hi there! I'm a bike messenger by day, aspiring actor by night, and this is my website. I live in Los Angeles, have a great dog named Jack, and I like…
CONTACT US


Recent Articles

PhloxBlog

What is Angular Service Factory? Why and Where should we use it?

In our previous article we have discussed about Angular service. We have created service using .service() method. In this article we will discuss about angular service factory. So, first things first, we need to know what is factory in Angular. We can create our own services by registering the service factory function. The service factory […]

PhloxBlog

What is Angular Service? Why and where should we use it?

By definition services in AngularJS are Javascript functions that are responsible to do only specific tasks. Services can be used to organize and share code across an application. Here sharing refers to sharing of data and functions. It keeps data across the lifetime of an Angular app. Controller communication can be done using services in […]

PhloxBlog

What is Angular Controller? Why and where should we use it ?

In MVC format application a controller is responsible for interacting between model and view. It facilitates to chage the state of the model. The main business operations in an MVC application is written inside a controller. In Angular, a Controller is a JavaScript constructor function that is used to augment the Angular Scope. It is […]

PhloxBlog

What is Angular router? Why and where should we use it?

Routing helps us to divide our application in parts logically, making it more manageable. Whenever an app grows by adding logic into it it becomes hard to control and manage. Using routing we can easily divide our application in logical views. Routing also helps to bind different views to the controllers. The above picture shows […]

PhloxBlog

Handling AngularJs and CSS3

We know how CSS helps a web page to boost up and beautify its appearence. Thinking of a attractive UI without CSS is impossible. On the other hand we know we can make rich data bound applications with AngularJS. Now what if we can use and handle css through AngularJS? This is what we are […]

PhloxBlog

How do we use $scope.$apply() in Angular 1.4

$apply() is a core aspect of AngularJS. This is sometimes confusing to understand. This article describes what is $apply() and how do we use $scope.apply() in Angular 1.4. First things first, we will learn what is $apply(). We know there is an awesome feature called data binding in AngularJS which tells that whenever a model […]

PhloxBlog

Bind, Call and Apply in JavaScript

Functions in JavaScript are object. As objects functions have several methods. Some of them are powerful like Bind, Call, Apply etc. In this article we will discuss about these three methods in detail. In brief, Bind is used to set this value in methods and currying functions. On the other hand Call and Apply are […]

PhloxBlog

AngularJS Features and How It works with MVVM

AngularJS is a powerful JavaScript framework to create rich web application. It provides options to write client side application in Model View Controller format. Application written in AngularJS is cross-browser compliant. It has capability to create Single Page Application in a very clean way and also provides reusable components. It is open source framework and […]

PhloxBlog

Javascript Basic Functionalities like classes and how we take it forward in Angular.js

This article describes about JavaScript basic functionalities like classes and how we take it forward in Angular.js.Class can create objects which can have properties and methods. We can facilitate program by instantiating the classes(objects) and using them in a proper way i.e. making use of it’s methods and properties. It increases the code re-usability. In […]

Portfolio

Team

Meet our team

  • Priyabrata Samanta

  • Parma De

  • Abhishek Pachal

  • Piyas De

Top