Hi David,
Ajax can reduce full page reloads. It’s used an several areas in eGW
already (eg. when you search an entry to link with).
To use it on a bigger scale requires reworking huge parts of eTemplate
system - used by most applications. That’s one of the main points of the
next release (after 1.6).
We have not yet come to a decision, if we want to use a full javascript
UI framework like ExtJS or YUI (to name just two) or a more lighwight
one like script.aculo.us
The general idea is to build the ajax stuff into eTemplate, so that all
of the applications can profit from it, without the need to recode them
from scratch. One of the ideas is to add an event model to eTemplate, so
you can code eg. onChange events of an input field in eTemplate or PHP
and the necessary clientside javascript code gets generated from that.
This would avoid the problematic (hard to follow or maintain) code of
eg. felamimail, which jumps constantly between php, html templates and
javascript. And of cause rewriting everything like Tine is trying it at
the moment.
As I said before, that’s the plan for the next release after 1.6.
Ralf
David C. Rankin schrieb:
Ralf, all:
I ran across an interesting article this month from IBM-developer-works, that
I thought I would pass along. It deals with using ajax to refresh only the
needed html on a page to prevent having to refresh the entire page. I have
often wondered how to improve client-side-caching or something similar to
reduce the page refresh times in egw and the traffic between client and server.
I don’t know if this is something that would help or not, but I’ll pass it
along. The article is a 9/2/08 article named “Build Ajax-based Web sites with
PHP” written by Ken Ramirez (ken.ramirez@axsystechgroup.com), Founder, Axsys
Technology Group. The intriguing part of the into was:
PHP has been around for quite a few years. It’s commonly used as a server-side
scripting language to develop Web-based applications fairly quickly and with
good results. In fact, some of the most popular Web-based projects such as
PHP-Nuke, osCommerce, and Joomla were all developed in PHP and continue to
thrive today.
Ajax has also been around for a while, but it’s only recently that more Web
sites are being developed using Ajax practices. Ajax provides the technology
that allows a Web site or Web-based application to communicate with the server
without having to refresh the entire page. Essentially, the asynchronous
features provide the means for the client browser to send requests or call
methods that are executed on the server side. The result from the server can
then be processed on the client side using JavaScript code, and any output can
be merged into the existing front-end HTML view without having to refresh the
page. When you use Ajax, you’re not really using a new programming language. In
fact, all you’re doing is taking advantage of existing technologies and putting
them to better use.
[/quote]
The link is:
http://www.ibm.com/developerworks/library/wa-aj-php/?S_TACT=105AGX54&S_CMP=B0904&ca=dnw-935
–
Ralf Becker
eGroupWare Training & Support ==> http://www.egroupware-support.de
Outdoor Unlimited Training GmbH [www.outdoor-training.de]
Handelsregister HRB Kaiserslautern 3587
Geschäftsführer Birgit und Ralf Becker
Leibnizstr. 17, 67663 Kaiserslautern, Germany
Telefon +49 (0)631 31657-0
This SF.Net email is sponsored by the Moblin Your Move Developer’s challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
eGroupWare-developers mailing list
eGroupWare-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-developers