Google’s reCAPTCHA is an industry standard when it comes to fighting bots. Integrating it in a regular web app has almost become a no-brainer, thanks to plugins available on almost every platform to do the job. With this expectation, I started integrating it in my latest app built on ReactJS but encountered many roadblocks. Without going into details, I’m sharing here fastest recipe for integrating it with your ReactJS app.
Continue reading How to setup Google reCAPTCHA in a ReactJS app?
So you are frustrated tackling BackboneJS and wondering why it isn’t solving your problems as you had expected it to, after hearing about its glorious penetration in many high profile projects. Well, join the club, you are not alone. Here I’ll share my expectations when I imported BackboneJS for the first time in my project and my learning that I gained after weeks of trial and error and frustration.
Continue reading The BackboneJS Way of Thinking
Apologies for being blunt, but this is what I truly feel after weeks of struggle with Backbone-Relational. Some of the features library boasts are great, but some other problems make its usage horrible. So if you are lured by the cool features this framework claims, here is my candid advice: keep some Disprin tablets along because it is going to give you some serious headaches.
Continue reading Why Backbone-Relational Sucks?
Backbone.LayoutManager v0.6.6 docs state that:
If you wish to change append to prepend you can easily change how the View is inserted by setting a new append function.
Continue reading Backbone.LayoutManager: How to prepend a view?
Suppose you have have a variable language and you want to decide which country it is generally spoken in. Traditional approach would be to use disjunction of multiple comparisons:
In my first post regarding Regular Expressions (regex), we discussed the basic syntax of regex, its importance and how they are used along with a few examples. I strongly recommend reading that post first if you are completely unfamiliar with regex. Otherwise, lets move on.
This tutorial will not cover what regex are, what are their benefits and the basic syntax. For that refer to my previous post. But this tutorial will
This is the last part of SpringSecurity: Authenticating & Authorizing AJAX Requests. In first part, we discussed some background theory. In second part, we went through server-side implementation. Now in this post, we will go through client-side implementation. This implementation will be based upon jQuery, but I hope you can easily translate it in your favorite framework.
Continue reading SpringSecurity: Authenticating & Authorizing AJAX Requests (Client-Side Implementation)