novogeek

Stories submitted by novogeek

The need for HTML5 postMessage API(novogeek.com)

submitted by novogeeknovogeek(235) 7 months ago

The postMessage API in HTML5 specification is useful for making cross domain calls across frames. This is typically useful for mashups, Web 2.0 sites (e.g., pageflakes.com) where different widgets might need to communicate with each other. Few developers have already started using HTML5 postMessage in their projects, without knowing why they are using. Here are a couple of questions an inquisitive developer might have in mind: 1. How are mashups and rich Web 2.0 applications built even before HTML5 postMessage API came into existence? 2. What is the trust model which Web 2.0 sites have? (Who trusts whom?) 3. Is there really a need for a new API when workarounds met the needs? This post tries to answer these questions and explains why postMessage API is important. read more...

1 comment |category: |Views: 29

tags: another

jQuerify your ASPNET apps - Microsoft CommunityTech Days 2010(www.novogeek.com)

submitted by novogeeknovogeek(235) 1 year, 9 months ago

This is a presentation which I have given @ Microsoft Community Tech Days 2010 on "jQuerify your ASP.NET apps" at Microsoft Hyderabad. I chose to prepare my presentation using jQuery itself, instead of power point, which would itself be a demo. The response from the audience was really encouraging:) read more...

add a comment |category: |Views: 10

tags: another

Enhancing scalability maintainability of your JavaScript-jQuery code(www.novogeek.com)

submitted by novogeeknovogeek(235) 1 year, 9 months ago

Are you building a huge, jQuery-ASP.NET web application, which is subjected to a lot of global code changes in your client script? If yes, you should probably consider the below design pattern, which would help you have a better control on code execution. read more...

add a comment |category: |Views: 20

tags: another

Understanding callbacks for chaining JavaScript methods(www.novogeek.com)

submitted by novogeeknovogeek(235) 1 year, 10 months ago

In this article, I would like to show how we can leverage JavaScript callbacks for enhancing chainability. This is the concept on which JavaScript libraries like jQuery are designed. read more...

add a comment |category: |Views: 15

tags: another

Create a jQuery like chainable JavaScript toolbox for your project(www.novogeek.com)

submitted by novogeeknovogeek(235) 1 year, 11 months ago

"Global variables are evil" is what the JavaScript Guru Douglas Crockford says, as they are the source of unreliability and insecurity. How elegant your code would be if you wrap your entire project's code under a single global namespace? In this article, I would like to show how you can create a chainable JavaScript library(not a library exactly, but sort of a toolbox) specific to your project. read more...

add a comment |category: |Views: 14

tags: another

When is AJAX an overkill for your ASP.NET-jQuery web apps? Part 2(www.novogeek.com)

submitted by novogeeknovogeek(235) 2 years ago

In my previous article(http://www.novogeek.com/post/2010/04/30/When-is-AJAX-an-overkill-for-your-ASPNET-jQuery-web-applications.aspx), I have discussed about few scenarios where AJAX can be an overkill for our web apps. I would like to add few more such scenarios in this post. read more...

add a comment |category: |Views: 26

tags: another

When is AJAX an overkill for your ASP.NET-jQuery web apps? Part-1(www.novogeek.com)

submitted by novogeeknovogeek(235) 2 years ago

AJAX libraries have simplified developer’s life by providing clean & easy-to-use API. Their usage is so simple that we developers over use it, without realizing the performance impacts. In this article, I would like to explain few scenarios in which AJAX can be an overkill for your web apps. read more...

add a comment |category: |Views: 10

tags: another

The curious case of "Stop running script" error & jQuery(www.novogeek.com)

submitted by novogeeknovogeek(235) 2 years, 1 month ago

In most of the thick client web applications, heavy use of JavaScript with lead to "Stop running script" error, which is due to drastic performance degradation. This article points out few such scenarios for jQuery developers. read more...

add a comment |category: |Views: 254

tags: another

Overriding jQuery/JavaScript functions using closures(www.novogeek.com)

submitted by novogeeknovogeek(235) 2 years, 3 months ago

Function overriding is an important feature in any programming language. In advanced languages like .NET, Java, it can be accomplished easily through a set of key words. But this is not the same in JavaScript and this is where closures come to your rescue. read more...

add a comment |category: |Views: 8

tags: another

Scope problems with JavaScript setInterval & setTimeout? Use closures!(www.novogeek.com)

submitted by novogeeknovogeek(235) 2 years, 3 months ago

This article explains scope problems faced with JavaScript setTimeout & setInterval and provides solution by using closures. read more...

add a comment |category: |Views: 69

tags: another

Check for unsaved data on your web forms using jQuery - NovoGeek.com (www.novogeek.com)

submitted by novogeeknovogeek(235) 2 years, 3 months ago

One of the most important Usability requirements in business applications is, to periodically inform the users when there is any unsaved data on their web pages. This article explains how to achieve the above requirement using jQuery dirty form plugin. read more...

add a comment |category: |Views: 41

tags: another

jQuery event delegation - Adding/removing markup dynamically(novogeek.com)

submitted by novogeeknovogeek(235) 2 years, 4 months ago

In web apps, most of the times, we would require adding and removing controls to a web page dynamically. E.g.,adding "Browse" buttons for email attachments(live mail, gmail etc). In a traditional ASP.NET app, we used to build a string containing markup and append it to some control. However, this requires postback. This article explains how to add/remove markup dynamically using jQuery. read more...

add a comment |category: |Views: 16

tags: another

Handling AJAX exceptions of ASP.NET using jQuery(novogeek.com)

submitted by novogeeknovogeek(235) 2 years, 5 months ago

This article explains how various types of exceptions in ASP.NET can be handled using jQuery. It explains exception handling scenarios for GET and POST AJAX requests. read more...

add a comment |category: |Views: 15

tags: another

Client side localization in ASP.NET using jQuery(novogeek.com)

submitted by novogeeknovogeek(235) 2 years, 5 months ago

Localization is a very important feature required in medium-large scale business applications. As always, ASP.NET makes developers life easy by providing inbuilt localization mechanism. However, if you are building a rich client side app using JavaScript/jQuery, you may need to fetch error messages and other strings from locale specific external file, without post back. This article gives pointers to implement client side localization in ASP.NET using jQuery. read more...

add a comment |category: |Views: 64

tags: another

jQuery UI AJAX Tabs – few hiccups & resolutions(novogeek.com)

submitted by novogeeknovogeek(235) 2 years, 7 months ago

This article showcases some of the problems faced while implementing jQuery UI AJAX tabs and provides their respective solutions. read more...

add a comment |category: |Views: 18

tags: another

Configuring jqGrid 3.5 to work with ASP.NET web forms and JSON(novogeek.com)

submitted by novogeeknovogeek(235) 2 years, 9 months ago

This article explains the basic tweaks which need to be done to jqGrid (applicable to any version) to work with ASP.NET and JSON data. read more...

add a comment |category: |Views: 906

tags: another