Hey ,
i am writing some ajax based Modules.
I want to make sure i dont complicate issues and as i understand it with the move of Admin to Mono then an Ajax and JSOn based infrastructure will be need.
SO, can you let me know what server side and server side libraries will (or are) being used, so i can stay in sync.
Regards
ged
The nice thing about MonoRail is that you don't need any specific server-side Ajax library. Currently I'm working on a project for a customer with MonoRail and lots of Ajax stuff and the only libraries that we need are client-side ones like prototype and scriptaculous.
But modules will stay plain WebForms for a while, so for those, you'd probably want to use ASP.NET AJAX.
Martijn: I hope there will be continued support for using WebForms in modules?
I'm currently building an application based on Cuyahoga which heavily uses advanced 3rd party WebForms components like Telerik's.
Yes, at the moment there are no plans to move the module stuff to MonoRail. And if we might move in the future, we'll make sure the existing API and modules keep working. It's very important for us to keep module compatibility for the next versions.
thansk martin,
i am using plain ASP.NET Ajax library server side.
i have introduced standard web serverices and written a http handler that listens for .asmx/JS, and they does reflection to produce a JSON facade on the server side.
THis si then cached.
It means that you just right plan old web services, but they automatically becomes JSON facades.
on the client:
i am using Prototype too.
In IE it is working, but in FF it is getting soem strange errors. The problem is not in the server code as i can see the web service method being called and returns as JSON.
Any hints as to what is blowing up inside Protoype for FF?
ged
Martin,
Can you elaborate on how you used monorail?
Did you just take the web form and use declaritive attributes to expose them as JSON basically?
Did the domain objects serialsie to json ok, or did you make a new daat container (aka chunky web services
Did you manage to get writes to the DB working with whatever you did?
i went down the path of the latest ajax framework, created WebServices, that are able to be called as json or soap.
It was a bit painful, but not too bad as i only needed to wrapper the WebModule.
TO find the correct section and Module to load up, i used a http Handler just like you use for web pages.
AM thinking that doing it with MonoRail might be smart as its seems Cuyahoag is quite commited to the use of this since the admin us going this way?