phpgroupware-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Phpgroupware-developers] Proposal for JavaScript


From: Dave Hall
Subject: Re: [Phpgroupware-developers] Proposal for JavaScript
Date: Sat, 23 Aug 2003 10:15:05 +0000 (GMT)

Hi Kai,

After our meeting last week, I realised that there was a real need for
better js support in the api.  At the moment the phpgw architecture does
not fully support it.

While travelling to Frankfurt to get my flight home, I put my laptop to
work (Frozen Bubbles got a little boring), and coded a new js class for
the api.  Here is a run down of the class.

Features:
* Search for js packages
* Generate basic js - atm alert and confirm popups (with lang support)
* Add header js
* Add on(Un)Load js as attributes of the body tag

The idea is that we adopt a js architecture using the following conventions:
app/js/package - app specific js
phpgwapi/js/package - more generally useful js

package == collection of classes

The search function makes it possible to move a "js package" from an app
to the api, without any disruption.

The package dir makes it easy to avoid filename conflicts and simply
drop in upstream updates to files.

Anyway food for thought - please comment, I want to commit this soon, I
am just running it through it's final paces atm.

Cheers

Dave

Kai Hofmann <address@hidden> wrote:

> Hi,
> 
> I think it would be a good idea to have a central javascript (js) 
> directory- maybe in the api to provide general javascript 
> classes/functions that can
> be reused.
> 
> For example my tab class (see
> http://www.probusiness.de/projekte/phpgroupware/ )
> would be such a thing to place in a central directory.
> 
> Greetings
> 
>   Kai
> 
> -- 
> *****    Open Source und Linux im professionellen Einsatz    *****
> **  komplexe Mailserver, Groupware, Office: sprechen Sie uns an **
> Dipl.-Inform. Kai Hofmann                    Team Softwarelösungen
> pro|business AG, EXPO Plaza 1 (Deutscher Pavillon), 30539 Hannover
> E-Mail: address@hidden,   Tel.: 0511/60066-332, Fax: -355
> WWW: http://www.probusiness.de/
> 
> 
> _______________________________________________
> Phpgroupware-developers mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/phpgroupware-developers
>

Attachment: dave.hall.vcf
Description: Card for <dave.hall@mbox.com.au>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]