Year: 2014

  • Salesforce REST API Playground

    What is REST API ? In my words, Getting data from Other System or Same System using HTTP request is known as REST API. If you know, how website works, you know REST API. Before REST API, there was SOAP request which needed lots of configuration and very tightly coupled. If you make any modification…

  • Pagination, Searching and Sorting of Data Table using AngularJS

    We have already discussed “Basics of AngularJS” and “Simple Searching and Sorting“. In this article, we will add Pagination feature also to our previous example. What makes difficult is Sorting result when values are returned from Search and pagination is enabled. Unlike previous post we cannot use standard “OrderBy” filter provided by AngularJs framework, this…

  • Dependency Injection in AngularJs

    In this series, we have gone through many articles on AngularJs. This time I will discuss about Dependency Injection in AngularJs . Dependency injection is a software design pattern that allows the removal of hard-coded dependencies and makes it possible to change them, whether at run-time or compile-time. Before going to DI first we have…

  • Table with Sorting and Searching using AngularJS

    I hope, from last article you got basic information about AngularJS. This time, I will demonstrate how to add basic Searching and Sorting capability to data table using AngularJs. Output will look something like this : Prerequisite Libraries : UnderscoreJs Bootstrap CSS AngularJs

  • IndexedDB – Client Side Database

    One of many features of HTML5 is capability to store data on client machine with the help of “Indexed Database API“. Using this technique web developers can add offline capabilities to their application. Currently almost every modern browser supports “IndexedDB”. Unlike traditional RDBMS, IndexedDB doesn’t have table or columns which supports SQL. In RDBMS, it…

  • Visualforce Remote Objects

    One of the exciting feature of Spring14 release is introduction of “Visualforce Remote Objects”. You can say its actually replacement of JavaScript Remoting. Why do we need “Visualforce Remote Objects” when we already have “JavaScript Remoting” ? Well, here are few advantages of “Visualforce Remote Objects” : No need to write Controllers, Everything can be…

  • FAQ and Best Practices of Test Classes in Apex

    Here I am going to share few answers related to Test Classes, which is being asked many times to me by novice Programmers. Please feel free to post Comments if your question is not answered here. I will try my best to add those Questions in this article. If you want to learn Test Class…

  • Getting Started with AngularJs

    AngularJs is most accepted MVC framework in Javascript developed by Google. In my point of view, If its developed by Google then there must be something new and unique about this library. It can be used to provide MVC architect to your web application. It has great developers community, so if you are stucked somewhere while using…

  • Chatter – Collaboration in Cloud

    Few Years back, When Chatter was introduced in Salesforce there were many critics on this product. Many Experienced analyst suggested that why do we need Social application inside enterprise application ? Today, I can’t even imagine Salesforce without Chatter. Its more than just Social, Its all about Communication in Team, Visibility, Collaboration. Success of any…

  • Client side Templating using Underscore.js and JQuery

    Recently, I ran into requirement where I was getting JSON response and needed to render it on my Mobile application. I had two Options, Server side processing and Client side Templating. I studied and checked both way ; came to conclusion on using Client side Templating. There are many plugins and libraries available however there…