Advices for make my XML-RPC Easy package
| From: | Guillaume Lecanu | Date: | Mon, 29 Mar 2004 09:20:55 +0000 |
| Subject: | Advices for make my XML-RPC Easy package | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-26844@lists.php.net to get a copy of this message | ||
Hi all,
It's my first time on this list, i'm french and my english is not
very good :(
I have made an extension of the XML-RPC package realised by
Edd Dumbill.
This extension adds more simplicity to make or call an
XML-RPC service.( auto-convert PHP data types, set parameters directly
in the call function, possibility to write the function service into a
separate file ... )
So, i have read every doc about making a new package
for PEAR, but i have a doubt about the folders structure.
This is the structure of XML-RPC package of Edd Dumbill :
/XML/RPC.php
/XML/RPC/Server.php
This is my current structure :
/XML/RPC/Easy/Client.php ( XML_RPC_Easy_Client extend XML_RPC )
/XML/RPC/Easy/Server.php ( XML_RPC_Easy_Server extend XML_RPC_Server )
/XML/RPC/Easy/common.php ( common functions for Client & Server )
When i look other packages, i see the class is on the same level of the
folder.
So should my current structure be :
/XML/RPC/Easy.php ( XML_RPC_Easy_Client class )
/XML/RPC/Easy/Server.php ( XML_RPC_Easy_Server class )
/XML/RPC/Easy/common.php ( common functions )
And must my Client class be renamed to XML_RPC_Easy ?
Thanks a lot :)