05 July, 2012

pjax with MVC, and form post like pjax

Last weekend I was working on a interesting project, and came across an interesting JavaScript library called pjax. More information on pjax: https://github.com/defunkt/jquery-pjax/ http://pjax.heroku.com/ pjax loads HTML from your server into the current page without a full reload. It's ajax with real permalinks, page titles, and a working back button that fully degrades, It just enhances the...

28 June, 2012

23 April, 2012

Revealing Module Pattern in JavaScript

Revealing Module Pattern makes the code to read better and more structured way, This really useful when we had to repeat the name of the main object when we wanted to call one public method from another or access public variables. This is done by adding a return statement at the end of the function that exposes the public members. The benefits of this approach are. The Revealing Module Pattern...

15 February, 2012

Simplified signaling with SignalR

Introduction Users are always interested in a rich experience, or a well UI Experience. They expect real-time action between both client and server, no matter if the technology used is HTML5 web sockets or something else. There comes the SignalR. It is framework built on top of ASP.NET and JavaScript...