On Tue, Jul 22, 2008 at 08:15:43AM +0200, A.L.E.C wrote:
Rewriting the whole backend to javascript sounds crazy for me ;) And I'm not sure that javascript+two-proxies will be much better than our "standard" solution.
While I admit the idea is radical, I do think it has clear benefits.
Instead of serving stateless PHP pages, you get a fully stateful AJAX application. Roundcube already uses AJAX, but crucially, not for making the IMAP connection. The proposal was about having a persistent IMAP connection, without having PHP as an intermediary. In that case you don't need to open up a new IMAP connection for every user action.
You only use one proxy, which can be written in any language. In fact, it's only there in case the IMAP server is not accessible from the internet.