-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Hello,
I don't know, if I have understood Thomas' idea correctly, but IMHO client-server application means that server part (back-end) listens on the server ergo is a daemon which means You no longer have to initiate IMAP connection, login etc on every refresh You make in browser. And the client is the client (browser, desktop client, mobile app, your something script somewhere etc) which speaks to the server using the defined protocol. Thomas, could You please clarify that part? Yes, you could achieve this with PHP on some shared hosting servers, but that would mean that at some time the limits will be hit and Your daemon script will be killed (even during some important operation). This can happen at the moment too (eg searching too big mailbox and limits hit). But then the whole client-server architecture would be pointless. It's also a good and fast way to fill the limit of maximum allowed processes. If we'd go with PHP that would mean we use PHP just as library (not as server) and IMAP client part of the software, like now. Just move more stuff (eg whole templating, sorting and filtering operations maybe etc) to the front-end side and use AJAX (via JS front-end libs) to communicate and that's it. Basically same architecture as current RC but more todayish (we'd use awesome front-end thingies). Yes, You could run PHP application as a daemon but: 1) the language is not designed for that 2) most of shared hosting providers will kill your scripts after 5 to 10 mins (when max execution time hits). After that You rerun the PHP part on the first request, which means that all the connections to data layer servers (database, redis etc), IMAP servers and other third party servers (authentication & authorization) must be reconnected. - -- Best regards, Günter Kits On 17.03.2015 21:29, Victor Benincasa wrote: > Hello Devs, > > in other words: a roundcube generation not written in PHP would be > replaced >> as fast as Horde a few years ago was replaced after the switch to >> pear and making RPM packaging way too expensive >> > > As an IT admin of some hosting companies, I agree with this. The > most widely used setup is with PHP. This is why scripts like > Joomla, Wordpress and phpMyAdmin are so popular. > > -- Victor Benincasa -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJVCI0GAAoJEFnfbS9fXrwehq0P/j7ATkH1frMR6SWciLtGDYeY Dte05hyZeKoPtU8cZSNlTKkkpwGmqtgshkXABTghhSQUjF4zuu1KpPWI+EyhPLk+ mbVa3r/4HNOs4oeJR61fIA4HlCmhCFbokoKqNwjl72CMNg7JowqB5AtU/YyktME/ udspYXHhTuMmBNKiQNEUd/OnkAm0fre5fYXnJZckkhjeYGMu5oP1vcqyUd8Mn1Mi WRlzTTVPsyYBLnUixjwxnS1mZt62aySzd+97zTp7qwXnNNV+kI+EJZ004+NE7Fv/ UnHjIDYWGVWHqRXMZwyjeJji2wEDGehM7doe/v1ppmloo8ov9swAdn1dkUmU+6F8 jjJ1isxbbV6NzHJZ7uxXC9h5CDXgfNugvHNHc2ilmINf/wt1jky+PNmZpCPpQSRh Lv+c7jHTO46nHnmvlxvj/lkPGIah43mgCXpDqlsp6YbfILiHVGJDgZhKUh7/TSxA 1Pr3unQqpLFSIVrXbETB8ujE+p9N6O7FNTPcTLz+4iosaAZZVRlIy7u4qUStKaD7 Xtn7Sdth2jNGEwIJ84J7FGX9MFs5m7V4Mrmic82VoCoLZsqcOiPWbJrMo/iNz5Je 8cRRfwPR3lGeXD+qOWxHVeOrdUG4IYY5nQum81Rws4ZSgNWdsbHZFaADTgwLRWp5 v1XisBs3fOdwDNCr+ZZO =fSRP -----END PGP SIGNATURE----- _______________________________________________ Roundcube Development discussion mailing list [email protected] http://lists.roundcube.net/mailman/listinfo/dev
