I am officially a Google Developer Expert in Angular and Web Technologies. I take this opportunity to thank the Angular global community and all my students who come to my training, meetups, and workshops. This recognition was never possible without you. I am humbled to be one of the few professionals who are awarded asContinueContinue reading “Recognized as a Google Developer Expert by Google”
Author Archives: Dhananjay Kumar
How to use Interceptor in Angular
Interceptors are used to intercepts HTTP requests and responses from the application. You can handle them or transform them before passing it on. For example, you can use an interceptor to add authorization token before passing the HTTP request or cache the HTTP response. Some of the usages of interceptors are as follows, Caching ofContinueContinue reading “How to use Interceptor in Angular”
When to use the subscribe method or async pipe in Angular?
This post explains when to use subscribe method or async pipe in working with observable data in an Angular application
Delivering two talks at Devfest Gandhinagar 2019
Ahmadabad is always very close to me as I did my first public speaking in this city back on 24 July 2010. Since then I have been trying to do at least one workshop or talk each year here, so continuing the ritual, I am again coming to Ahmadabad/Gandhinagar on 13th October to speak inContinueContinue reading “Delivering two talks at Devfest Gandhinagar 2019”
Simplifying Maps in the JavaScript
Maps is a data structure, which stores the key/value pair in an ordered way. Since the inception of the JavaScript, objects are primarily used for the map. Consider the below code listing: To store two key/value pairs, we have created an object foo and using the keys such as id and color to retrieveContinueContinue reading “Simplifying Maps in the JavaScript”
Announced- geek97 step by step Angular Bootcamp on 5-6 October in Gurgaon
To attend register here: https://forms.gle/JSbp3yknZ7scr9BP7 Many of you asked me to host a Bootcamp in Delhi/NCR. I got motivated by your constant request, hence decided to give a try. For geek97, I am hosting the next Bootcamp in Gurgaon on 5-6 October. Details To attend register here: https://forms.gle/JSbp3yknZ7scr9BP7 and for any clarification send me aContinueContinue reading “Announced- geek97 step by step Angular Bootcamp on 5-6 October in Gurgaon”
Hosted Angular Bootcamp in Jabalpur for Taritas software
Angular is becoming more popular with each passing day in India. Companies of different sizes are using it to deliver the project for their customers. One such company Taritas . They have offices at multiple locations and with clients all across the world. They invited me on 21-22 September to host a 16 hrs longContinueContinue reading “Hosted Angular Bootcamp in Jabalpur for Taritas software”
Why you need Proxy objects in JavaScript
JavaScript is not truly Object Oriented language, hence implementing requirements as stated below could be challenging. For example, Throw an error if the setting value of a property does not satisfy a particular condition If the property does not exist on set some default value instead of undefined If the property does not exist onContinueContinue reading “Why you need Proxy objects in JavaScript”
Step by Step implementing Two-Way Data Binding in Vanilla JavaScript
Data Binding is one of the most important features of all the frameworks. It ensures that the data model and the views are in sync with each other. It is very fundamental feature of any MV* frameworks such that Model-View-Controller, Mode-View-ViewModel, and Model-View-Presenter, etc. Popular JavaScript based frameworks such that React, Angular have their wayContinueContinue reading “Step by Step implementing Two-Way Data Binding in Vanilla JavaScript”
All about types of Action Results in the Web API
A Web API controller action can return the following types:
void
HttpResponseMessage
IHttpActionResult
Other types, such as IEnumerable, object, collections, etc.