I'm not sure I understand all your questions. But I think YUI library is a nice Ajax solution. However, it lacks server side support (i.e you have to do it all yourself). The widgets and framework are very nice and quite compact though.
We've also referenced their efforts in UI
patterns which a lot of Bill Scott's work when he was an evangelist at Yahoo.