So, after some bitter comments about Delphi’s Internet technologies, I’m back to something more … let’s say happy.
I must say that from the 2-3 sites where I tried to use AJAX with Websnap the experience was rather good. They were sites already in production, done with Websnap’s classic components, plus internal stuff.
The need was for me to explore how this AJAX-thing can be used and for the clients to gain some speed or responsiveness where possible.
In the AJAX-driven world, on the client-side there are some new challenges. Like the AJAX communication, the UI dynamics etc., stuff not needed or mostly covered by the designer till now. From the Rails worls I used prototype , a very simple to use and painless to integrate javascript library. It is conceived to integrate a framework, so go get it :)
For the interface dynamics I used the much praised yellow fade technique, even if I used something more appropriate for the sites’ color scheme, plus a lot of the code from the prototype library. The rest was almost all written from scratch.
I think this is th way to go for starters, you must find an area that has to be improved and use AJAX. Or rather found areas that could be rewritten using AJAX. Either way, beware of the rocks. There are some.
Anyway, it was a rather pleasant experience. I think Websnap could be used as a base for a AJAX-driven web framework. I see very easy some of Marco Cantù’s ideas fit very well - like the XMLAdapter or his XML documents framework he recently talked about. Also, the ClientDatasets ar every fit, as they can render as XML very easily.
My ideas are not very clear and I’m afraid Delphi’s recent years of hickups (let’s just stay at this calm, friendly word) will force us to seeother lands, more fertile, more friendly … I begun to study Rails this summer and it felt so good. I saw the Castle project rising in the ASP.NET world too, and all of these ar every good ideas.
I don’t know if there are some Delphi users that passionate to start an open-source web framework, but I surely love to see one.
*Update*: _Mon Dieu_, “Marco Cantù”:http://blog.marcocantu.com/blog/web20.html just hit it in the head again :)