Posted by Ramani Sandeep on April 14, 2010
Recently I have read very good article on Lazy Loading Collapsible panel in ASP.NET Using JSON.
Satheesh babu has written a very good article on this. I hope it can help you to increase your jQuery skill.
In collapsible panel we fully load the contents when the page is initially rendered to the client. Hence, clicking the arrow buttons on the panel will just expand and collapse the contents. This will make the page heavy when there are large amount of data on different panels on the page. It will be better and light weight when we actually load the contents of the panels only when the user clicks the expand arrow button, a lazy loading or loading on-demand.
Read full article : here
Hope this will helps !!!
Posted in ASP.NET 3.5, JQuery | Tagged: Collapsible Panel, jTemplate, lazy loading, Lazy Loading jQuery Collapsible Panel in ASP.Net Using JSON | Leave a Comment »
Posted by Ramani Sandeep on December 11, 2009
Lazy loading is a design pattern commonly used in computer programming to defer initialization of an object until the point at which it is needed. It can contribute to efficiency in the program’s operation if properly and appropriately used. The opposite of lazy loading is Eager Loading.
Article – 1: jQuery Tabs and Lazy Loading by Malcolm Sheridan
In this article I will connect to the Northwind database using LINQ to SQL, and display customer and product information in separate tabs. I’ll also show you one way of lazy loading these tabs so the data is retrieved only once, not each time a tab is selected.
Article – 2: Lazy Loading jQuery Tabs with ASP.NET by Mikesdotnetting
This article looks at efficient use of jQuery tabs when displaying data. Specifically, it covers how to lazy-load data, so that it is only accessed and displayed if the tab is clicked.
Lazy Loading is a well-known design pattern that is intended to prevent redundant processing within your application. In the case of tabbed data, there seems little point retrieving and binding data that appears in a tabbed area that no one looks at. So, this examples covers how to defer data access and display until the user wants it – which is defined by them clicking the relevant tab.
Article – 3: Eager Loading and Lazy Loading in ADO.NET Data Services by Gil Fink
The default behavior of a data service’s .NET client is not to load the entities’ associated objects. When we request an entity we will get it from the service but its associated objects will not load up at all.
Lets say that I have two entities in my program
The associations between the entities are that a department can have a lot of courses and a course belongs to one department.
When I load a department it’s list of courses will be empty. trying to iterate the list of courses will give nothing because the courses will not load until we tell them to be loaded explicitly.
This is done by the LoadProperty method of the data service context.
I have a great learning experience thru this.
Now its your turn to have it.
Posted in ASP.NET, ASP.NET 3.5, ASP.NET Ajax, C# 3.0, JQuery, Linq | Tagged: Eager loading, Eager Loading and Lazy Loading in ADO.NET Data Services, jQuery Tabs and Lazy Loading, lazy loading, lazy loading .net, lazy loading asp.net, lazy loading in asp.net, Lazy Loading jQuery Tabs with ASP.NET | Leave a Comment »