I'm currently converting a fairly complex ASP.Net 2.0 page over the
Ajax.Net professional framework, I've noticed, being the good
refactoring coder that I am, that my page class is becoming very thin
to the point where half my methods are as simple as
[AjaxMethod()]
public SomeClass(...)
{
return Data.SomeMethod(...)
}
where Data is my data access layer. I'm considering factoring the page
into two separate classes, one to manage initial page state and perform
any rendering, and a second class to enforce business logic and perform
those mini data-access methods; has anyone got any suggestions for neat
architecturing with Ajax.Net?
Secondly, a bit of a grumble, I love how much support you're giving us
Michael, and I love how quickly new versions are released, but would it
be possible to maintain a stable and experimental branch? I've found
that quite often, I'll change versions and that the deserializers have
altered and all my code breaks; while I understand most of the changes
you're making, and think you're doing a fantastic job, I'd like to have
a bit more faith that a bug fixing version won't throw my code out of
whack. Please don't take this the wrong way, I still love you Mr
Schwarz :) I don't know what kind of source control you're using to
maintain this, so this might be more trouble than it's worth.
Lastly, I'm thinking about rewriting the serialization to make use of
Generics and get rid of the object signatures. I'd be thinking about,
for example IJavaScriptConvertor<T> for serializing to and from T, and
a method SerializeArray<T>(IEnumerable<T>, IJavaScriptConvertor<T>); is
this any use to you, do you have any plans of your own, can I submit
patches to you, and do you have any words of warning or advice?
Love the framework as it stands, keep up the good work
-- flinky wisty pomm
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ajax.NET Professional" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/ajaxpro
The latest downloads of Ajax.NET Professional can be found at
http://www.ajaxpro.info
-~----------~----~----~----~------~----~------~--~---