Ever wanted to send request headers from jQuery instead of the “code-behind”? You can easily tweak the ajaxSetup object to do this.
Polling AJAX is tricky. If the next interval triggers before the last AJAX request is complete, your app is doomed!! This creates a domino effect where your queue for requests fill up faster then it can complete. Your queue will NEVER finish… similar to an infinite loop.
The mobile revolution has created a plethora of new platforms and languages. It
is rare to see old technologies successfully reaching new grounds together. A good
example of this is .NET MVC and jQueryMobile. The blends of Razor, HTML, CSS, and jQuery make mobile a very familiar territory, a package that makes things quick, easy, and beautiful!
In my previous post, I showed how to build a mobile web app using jQuery Mobile. Its use of HTML5 data attributes and CSS classes made it pretty straightforward, especially if you are used to building regular websites. The architecture of your mobile website would have to be based on the server-side though, whether this be ASP.NET MVC, PHP, Ruby, etc. Then I came across Sencha Touch which changes this mentality to a more progressive approach… client-side applications!
With mobile getting all the love lately, I thought I would give back to the desktop community. I showed how to build a mobile web app using Sencha Touch 2 and MVC. Now I will do the same with a desktop web app using Ext JS.