Blog

jsx

One of the benefits of ASP.Net is that you have a set of controls specially designed to handle different browsers and HTML versions. While the structure is there and somehow it actually works, in ASP.Net 1.1 some MS controls don’t actually work well in other browsers but IE. Thats MS implementation fault, not ASP.Net fault.

Anyway, this is something that many developers welcome, but when it comes to client-side scripting there’s a big gap. ASP.Net doesn’t support well Javascript and you’ve to fallback to old methodlogies to handle the client-side scripting and keep browser compability.
This could be easly solved by implementing a jsx library. The idea is to have something just like aspx files but where the code were C# using a JS library that mimics JS DOM.

Using this we could archive easy browser compability and archive Javascript integration into .Net controls.

This is something I will prototype soon and I hope to get some feedback on it guys.

Post to Twitter Post to Delicious Post to Digg Post to Facebook Post to Reddit Post to StumbleUpon

One Response to “jsx”

  1. Urs C Muff says:

    I would suggest to look at Ruby on
    Rail’s rjs language format and model it after that. Basically you should allow type inclusions. I was at a presentation at ETech from the Rails guy, and was pretty impressed with the rjs
    approach. I was thinking of doing that for ASP.Net. Let me know if you have something to share, and I may be able to contribute.

Leave a Reply

For spam filtering purposes, please copy the number 7519 to the field below: