This project is read-only.
Project Description
Linq to DOM aims to merge the ease of maintenance and development of managed and strong typed code running in a .Net Silverlight environment with the ability to interact with existing presentation code either HTML/JavaScript

Project Goals
  • brings jQuery syntax into Silverlight to query the DOM that is hosting the Silverlight object.
    • Allows results of jQuery queries to be interacted with in Silverlight using strong typed objects that will use jQuery to get/set properties to ensure cross browser compatibility.
  • Create easy to use/understand extension methods for DOM interactivity
    • set/get style attributes
    • register/unregister DOM event callbacks
  • Create native .net events that fire off for standard DOM events that at least encompasses the following
    • onmouseover
    • onmouseout
    • onmousemove
    • onfocus
    • onblur
    • onclick
  • Create a simple Xml data caching system taking advantage of Silverlight's Isolated Storage. Primary goal here is to make a solution to save load time on items that are use all over an application and need to be downloaded each page load (Drop Down Lists)
    • Means to invalidate cache based on hash code of data or expiration date or last key perhaps other methods
    • Add a DOM event ReadyForReplace - this event would fire in a synchronous page load just like body.onload or in asynchronous load when the AJAX operation is completed and any resulting DOM changes have been made. It signals the client side Silverlight Cache to begin looking (with jQuery) for any node that is tagged for replacement or modification. Example your site is heavily dependent on user interaction and there are over 200 users for the site, basic info about users would be cached ie username,email address,role,first name,last name client side and when ever something needed to display a dropdown of users you could query the cache an build based on a placeholder tag

Current Status

The project that is posted here is in Alpha Status detailed documentation to come shortly

Last edited Dec 2, 2009 at 2:21 PM by billhgates, version 4