Wednesday, October 10, 2018

Git Basics - Clone ,Init , Add , Commit , Reset ,Rm ,Status


Git is a version-control system for tracking changes in computer files and coordinating work on those files among multiple people. It is primarily used for source-code management in software development, but it can be used to keep track of changes in any set of files.

Monday, October 8, 2018

Creating custom directives in AngularJS


What are custom directives in AngularJS and how to use them ?

Wednesday, July 18, 2018

Installation and Project Setup - Angular 6


This is my first post on Angular 6 . In this post, we will install all the required tools and then  see how to create a sample Angular 6 project using npm and Angular CLI .

Monday, June 25, 2018

Encoding and Decoding in Web Development


In this post , we will see how to handle encoding and decoding of data in javascript . Recently , I worked on a project where I had to read paragraphs of data stored in a database column which can be of type VARCHAR2 or CLOB .  This data needs to be transmitted as JSON and then after some processing , should be displayed on a web page . This data had some special  characters like à  stored in the database .When i rendered this content in a browser  surprisingly I saw some weird characters  instead of the character à . Debugging this issue seemed like a nightmare before understanding the encoding and decoding concepts . So let’s understand these concepts first and then see a solution to such problems .

Monday, June 11, 2018

Generate a downloadable CSV File from JSON - AngularJS



In this tutorial we will see how to generate a csv from json (client-side) and then be able to download the file in all modern browsers. The solution provided below in this post is tested in chrome , firefox  and  safari .