Currently browsing

May 2015

GLUT-Tutorial

How to detect a Mouse Click and Mouse Motion

  Detecting Mouse Click GLUT provides a function glutMouseFunc which is responsible for detecting mouse click generated by a program. Its syntax is void glutMouseFunc(void (*func)(int button, int state, int x, int y)); Where, func –> Function that handles the mouse event i.e. when mouse click is detected, func is …

encryption1

5 Encryption Errors Developers Keep Making

If there is one technology that can alleviate the impact of security breaches, it’s encryption — but you have to do it right Encryption should be at the heart of every product or service that stores any kind of customer data. Several other security measures are necessary too, but when they …

StringConcat

String Vs StringBuilder

Most of the people use string everywhere in their code. Actually when doing string concatenation, do you know what exactly you are doing? It has a big drawback mainly in concatenation which can be overcome by StringBuilder. It will give a vast improvement in performance when you use concatenation of …

server-side

Pattern: Server-side service discovery

Context Services typically need to call one another. In a monolithic application, services invoke one another through language-level method or procedure calls. In a traditional distributed system deployment, services run at fixed, well known locations (hosts and ports) and so can easily call one another using HTTP/REST or some RPC …

serverclient

Pattern: Client-side service discovery

Context Services typically need to call one another. In a monolithic application, services invoke one another through language-level method or procedure calls. In a traditional distributed system deployment, services run at fixed, well known locations (hosts and ports) and so can easily call one another using HTTP/REST or some RPC …

EnterpriseAPIMgt_2tier-498x600

Pattern: API Gateway

Context Let’s imagine you building an online store that uses the Microservices pattern and that you are implementing the product details page. You need to develop multiple versions of the product details user interface: HTML5/JavaScript-based UI for desktop and mobile browsers – HTML is generated by a server-side web application …

decentralised-data

Pattern: Microservices Architecture

Context You are developing a server-side enterprise application. It must support a variety of different clients including desktop browsers, mobile browsers and native mobile applications. The application might also expose an API for 3rd parties to consume. It might also integrate with other applications via either web services or a …

single-tier

Pattern: Monolithic Architecture

Context You are developing a server-side enterprise application. It must support a variety of different clients including desktop browsers, mobile browsers and native mobile applications. The application might also expose an API for 3rd parties to consume. It might also integrate with other applications via either web services or a …