phpgroupware-developers
[Top][All Lists]
Advanced

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

Re: [Phpgroupware-developers] developers documents


From: Alex Borges (lex)
Subject: Re: [Phpgroupware-developers] developers documents
Date: 19 Feb 2003 13:16:29 -0600

El mié, 19 de 02 de 2003 a las 11:11, Robert Warren escribió:
> Thanks for the response.
> 
> Before the web site went down I was reading some how tos for module 
> development. I'm not sure that it was on the web site but I can't find them 
> right now.
> 
> I am interested in both helping with bug fixes and writing new modules. I 
> have 
> a client interested in a luxury eco travel website. He wants a user trip 
> planning section that would include group calendar, address book, forum 
> synced with a mail list, local info (maps, weather, etc), slide shows. The 
> admin functions need to include a wysiwyg content manager.
> 
YAY... we need you.... come to irc !! (youll probably have to wait a bit
for someone to answer, have patience)
> This is a short list of what is needed. I think phpgroupware could offer an 
> excellent starting point. However I have to convince the rest of the 
> development team. That is why I need some developers docs.

Okay, well.... you need to talk to Patrick Walsh (mr_e) Walsh, the
sitemgr gawd round here. Hes probably your best man at giving you some
direction with regards to using that. If you cant find him, there is
also Dave Hall, stable branch mantainer, also has hacked on sitemgr.

About the dev docs.... well, to tell you the truth not all the api is
documented although the policy used to be that good OO code, the coding
policy, browing through the files in phpgwapi, looking at the easy notes
app and the skel app should be all the tools you need.

We know this is not allways the case, so the axisgroupware team (who,
also make  a distribution of phpgw, courtesy of Adam (fixe) Hull), has
made some devel docs that complement all the other tools from a newbie
developer standpoint. Most of them can be found through the axis wiki in
http://docs.axisgroupware.org/


Even so, you can allways (and dont be shy) post questions to this list,
read its archives and join the irc channel, we will do our best to help
out, especially if you join and start sending patches this way.

> 
> I have included the following to enable timming page generation in sitemgr 
> sites. 
> 
> 
> <?php
> /*******************************************************\
> * class_debug.php
> * This file is for debugging methods used by the 
> * sitemgr-site program.  This includes:               
> *    - timmerStart()                                     
> *    - timmerEnd()                                       *
> * Author Robert Warren address@hidden
> \*******************************************************/
> class debug
> {
>     var $level; // set debug level 0 = off, 1 = on
>     var $start_uS;
>     var $start_S;
>     var $end_uS;
>     var $end_S;
>     var $exec_S;
> 
>     function debug($dl)
>     {
>         $this->level=$dl;
>     }
> 
>     function timmingStart()
>     {
>         if ($this->level > 0)
>         {
>             $timeStart=gettimeofday();
>             $this->start_uS=$timeStart["usec"];
>             $this->start_S=$timeStart["sec"];
>         }
>     }
>     function timmingEnd()
>     {
>         if ($this->level > 0)
>         {
>             $timeEnd=gettimeofday();
>             $this->end_uS=$timeEnd["usec"];
>             $this->end_S=$timeEnd["sec"];
>      
> $this->exec_S=($this->end_S+($this->end_uS/1000000))-($this->start_S+($this->start_uS/1000000));
>             print "Execution Time: ".$this->exec_S." seconds";
>         }
>     }
> } // end of class
> ?>
> 
> To use:
>         require('./inc/class_debug.php');
>         $mydebug=new debug(1); // 0-off 1-on
>         $mydebug->timmingStart();
> 
> ************** The code to be timmed *******************
> 
> 
>         $mydebug->timmingEnd();
-- 
Alex Borges (lex) <address@hidden>
Step One Group





reply via email to

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