Monthly Archives: July 2013

knockoutJS binding handler for CKEditor 4 inline

I was checking out CKEditor 4’s inline editing functionality and thought it would be nice to create a knockoutjs binding handler. It’s awesome as it is a full WYSIWYG experience! Here’s the bindling handler snippet: The view and its ViewModel

Tagged with: ,
Posted in knockoutJS

requireJs, asp.net bundling and minification

When you start building large-scale web applications, it will become apparent to you later on that you can’t just put all of your code into one or two javascript files. If you had been programming the object-oriented way before, you

Tagged with: , ,
Posted in SPA

Back to WordPress from OrchardCMS

For some reason, my previous blog at GoDaddy, running for half a year suddenly stopped working! I tried to do a fresh install of OrchardCMS, but it still didn’t work.  I finally gave up, and haphazardly installed WordPress on my GoDaddy

Posted in CMS, Rant

Modal Dialog for HotTowel SPA

In my previous post, I illustrated a master-detail scenario for displaying data from a “master” screen. In this posting, I’m going to demonstrate how to display the “detail” data, using a modal dialog UI instead. DurandalJS used by HotTowel template

Tagged with: ,
Posted in SPA

Hot Towel SPA Master-Detail Scenario

With the recent release of ASP.NET and Web Tools 2012.2 Update, more tools are available for the developer to build applications more efficiently. For Single Page Applications (SPA), it used to take quite a lot of time, to make a

Tagged with: ,
Posted in SPA

Adding reCAPTCHA to your Single Page Applications

At some point, you were probably creating a “Contact Us” page for a website, and chances are, you also used reCAPTCHA to prevent spam emails from being sent to your mailbox from the “contact” page. In this post, I am sharing how

Tagged with: , , , ,
Posted in SPA

SPA Authentication and CSRF MVC4 AntiForgery Implementation

Introduction This post can be rather long and actually contains 2 concepts. I will share my experiments in porting ASP.Net MVC4’s authentication to work with the HotTowel SPA template. As well, in implementing the AntiForgery token approach of preventing cross-site

Tagged with: , , , ,
Posted in SPA