From: Gustavo S. <gus...@gm...> - 2010-04-06 16:21:00
|
Hi all, Since many people ask about the WebDAV implementation on P6, let see what we need for it. 1. Server In P5 we use the PEAR server, that is just a php 4 class that translates the request into a WebDAV function. We can make a new server class, using the PEAR one as example, in this case the steps are: - Make a new Zend class using the PEAR as model. - Transform all the PHP4 structure to PHP5. - Use all as we can the Zend functions. - Define an Auth method that should be easy to configure. After that, we will have something like Zend_Webdav_Abstract that will have all the necessaries function for catch the request and call the correct function. 1.2. Extension Using the Zend_Webdav_Abstract, we can extend it for make custom servers like: 1.2.1. For files -Zend_Webdav_Files- (almost all done in the Zend_Webdav_Abstract). 1.2.2. For events -Zend_Webdav_Caldav- (using the CalDAV RFC). For the CalDAV class, we need also some extra functions, first for customized the WebDAV using the CalDAV RFC, and second for translate the P6 events or "any event data" into a ICAL format, and vice-versa. 1.2.3. Others. Other structure can be: Zend/ Webdav/ Abstract.php (Zend_Webdav_Abstract) Webdav.php (Zend_Webdav extend Zend_Webdav_Abstract) Caldav.php (Zend_Caldav extend Zend_Webdav_Abstract) About the times, For 1. can be something like 24 hs. For 1.2.1 (for files) can be something like 1 hs. For 1.2.2 (for events) can be something like 12 hs. 2. Client After that we can use the "server", but we need some page that call it, so the next step is to write a controller that get the request, call the auth, call the server , and return the response. This implementation should be done only for P6. The url can be something like: index.php/Default/webdav/index and the controller: Default/WebdavController.php. We can define other one for the caldav or not. About the times, Can be something like 4 hs. About the times, as always, are "code" time, but we must add the test and some problems that always appear in the process. I think that working on it 1 week(40 hs), we can have a good aprouch. What do you think? Greetings, Gustavo Solt. |
From: Albrecht G. <alb...@ma...> - 2010-04-07 12:39:58
|
Hi Gustavo, this sound pretty reasonable. I suggest to implement the Zend_Webdav_Abstract and to create the webdav part for the files module for PHProjekt 6.1 After this, in a next version we can enhance it with the caldav api. all the best Albrecht > Since many people ask about the WebDAV implementation on P6, let see > what we need for it. > > 1. Server > In P5 we use the PEAR server, that is just a php 4 class that translates > the request into a WebDAV function. > We can make a new server class, using the PEAR one as example, in this > case the steps are: > - Make a new Zend class using the PEAR as model. > - Transform all the PHP4 structure to PHP5. > - Use all as we can the Zend functions. > - Define an Auth method that should be easy to configure. > After that, we will have something like Zend_Webdav_Abstract that will > have all the necessaries function for catch the request and call the > correct function. > > 1.2. Extension > Using the Zend_Webdav_Abstract, we can extend it for make custom servers > like: > 1.2.1. For files -Zend_Webdav_Files- (almost all done in the > Zend_Webdav_Abstract). > > 1.2.2. For events -Zend_Webdav_Caldav- (using the CalDAV RFC). > For the CalDAV class, we need also some extra functions, > first for customized the WebDAV using the CalDAV RFC, and second for > translate the P6 events or "any event data" into a ICAL format, and > vice-versa. > > 1.2.3. Others. > > Other structure can be: > Zend/ > Webdav/ > Abstract.php (Zend_Webdav_Abstract) > Webdav.php (Zend_Webdav extend Zend_Webdav_Abstract) > Caldav.php (Zend_Caldav extend Zend_Webdav_Abstract) > > > About the times, > For 1. can be something like 24 hs. > For 1.2.1 (for files) can be something like 1 hs. > For 1.2.2 (for events) can be something like 12 hs. > > 2. Client > After that we can use the "server", but we need some page that call it, > so the next step is to write a controller that get the request, call the > auth, call the server , and return the response. > This implementation should be done only for P6. > The url can be something like: > index.php/Default/webdav/index > and the controller: Default/WebdavController.php. > We can define other one for the caldav or not. > > About the times, > Can be something like 4 hs. > > About the times, as always, are "code" time, but we must add the test > and some problems that always appear in the process. > > I think that working on it 1 week(40 hs), we can have a good aprouch. > > What do you think? > > Greetings, > Gustavo Solt. > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Phprojekt-devel mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phprojekt-devel |
From: Thorsten R. <tho...@ma...> - 2010-04-07 12:43:55
|
Hi, > I suggest to implement the Zend_Webdav_Abstract and to create the webdav > part for the files module for PHProjekt 6.1 > > After this, in a next version we can enhance it with the caldav api. we should wait with the development of PHProjekt 6.1 until we decided how we will work with branches and when we PHProjekt 6.0 is in a good and stable state. Cheers Thorsten -- Thorsten Rinne, Dipl.-Inf. (FH) Mayflower GmbH Mannhardtstr. 6 Tel.: +49 89 24 20 54 31 D-80538 München Fax : +49 89 24 20 54 29 tho...@ma... http://www.mayflower.de Mayflower GmbH, Standort München Firmensitz: Mannhardtstraße 6, 80538 München Registergericht: Amtsgericht München, HRB 142039 Geschäftsführer: Gregor Streng, Björn Schotte, Albrecht Günther, Johann-Peter Hartmann |
From: Albrecht G. <alb...@ma...> - 2010-04-07 13:01:24
|
Hi Thorsten, >> I suggest to implement the Zend_Webdav_Abstract and to create the webdav >> part for the files module for PHProjekt 6.1 >> After this, in a next version we can enhance it with the caldav api. > we should wait with the development of PHProjekt 6.1 until we decided > how we will work with branches and when we PHProjekt 6.0 is in a good > and stable state. Gustavo works only in his branch, so no fear that the main branch will be compromised. Since David is on holidays, we need a plan what to do until he can return to P6, which will take until end of April. all the best Albrecht |
From: David S. P. <dav...@ma...> - 2010-04-27 15:28:43
|
Hi Gustavo Am 06.04.10 16:23, schrieb Gustavo Solt: > Hi all, > Since many people ask about the WebDAV implementation on P6, let see > what we need for it. > 1. Server > In P5 we use the PEAR server, that is just a php 4 class that translates > the request into a WebDAV function. > We can make a new server class, using the PEAR one as example, in this > case the steps are: > - Make a new Zend class using the PEAR as model. > - Transform all the PHP4 structure to PHP5. > - Use all as we can the Zend functions. > - Define an Auth method that should be easy to configure. > After that, we will have something like Zend_Webdav_Abstract that will > have all the necessaries function for catch the request and call the > correct function. Did you take a look at ezComponents Webdav (ez Componenets is now called Zeta Components). It is proper PHP 5 Code. I haven't used it so I don't know if there are many issues with. I would prefer if we do WebDAV not before 6.2 but try to focus on what we have at the moment and enhance that . David -- David Soria Parra Mayflower GmbH Mannhardtstraße 6 Tel.: +49 89 24 20 54 1 D-80538 München Fax : +49 89 24 20 54 29 dav...@ma... http://www.mayflower.de Mayflower GmbH, Standort München Firmensitz: Mannhardtstraße 6, 80538 München Registergericht: Amtsgericht München, HRB 142039 Geschäftsführer: Gregor Streng, Björn Schotte, Albrecht Günther, Johann-Peter Hartmann |
From: Gustavo S. <gus...@gm...> - 2010-04-28 17:31:48
|
Alo David, We was agree that try to copy the PEAR webDav implementation and make the code P6-Zend Framework-PHP5 compatible. As i know, the author of the library was agree. You can see the result here: http://github.com/gsolt/PHProjekt/tree/WebDAV Greetings, Gustavo On 27/04/2010 02:28 p.m., David Soria Parra wrote: > Hi Gustavo > > Am 06.04.10 16:23, schrieb Gustavo Solt: >> Hi all, >> Since many people ask about the WebDAV implementation on P6, let see >> what we need for it. >> 1. Server >> In P5 we use the PEAR server, that is just a php 4 class that translates >> the request into a WebDAV function. >> We can make a new server class, using the PEAR one as example, in this >> case the steps are: >> - Make a new Zend class using the PEAR as model. >> - Transform all the PHP4 structure to PHP5. >> - Use all as we can the Zend functions. >> - Define an Auth method that should be easy to configure. >> After that, we will have something like Zend_Webdav_Abstract that will >> have all the necessaries function for catch the request and call the >> correct function. > > Did you take a look at ezComponents Webdav (ez Componenets is now called > Zeta Components). It is proper PHP 5 Code. I haven't used it so I don't > know if there are many issues with. > > I would prefer if we do WebDAV not before 6.2 but try to focus on what > we have at the moment and enhance that . > > David > |
From: Albrecht G. <alb...@ma...> - 2010-04-29 12:09:38
|
Hi Gustavo, can you install this somewhere, so we can test it? (not on the official demo, but IIRC we do have another vhost for testing) TIA Albrecht > We was agree that try to copy the PEAR webDav implementation and make > the code P6-Zend Framework-PHP5 compatible. > > As i know, the author of the library was agree. > > You can see the result here: > http://github.com/gsolt/PHProjekt/tree/WebDAV > > Greetings, > Gustavo > > On 27/04/2010 02:28 p.m., David Soria Parra wrote: >> Hi Gustavo >> >> Am 06.04.10 16:23, schrieb Gustavo Solt: >>> Hi all, >>> Since many people ask about the WebDAV implementation on P6, let see >>> what we need for it. >>> 1. Server >>> In P5 we use the PEAR server, that is just a php 4 class that translates >>> the request into a WebDAV function. >>> We can make a new server class, using the PEAR one as example, in this >>> case the steps are: >>> - Make a new Zend class using the PEAR as model. >>> - Transform all the PHP4 structure to PHP5. >>> - Use all as we can the Zend functions. >>> - Define an Auth method that should be easy to configure. >>> After that, we will have something like Zend_Webdav_Abstract that will >>> have all the necessaries function for catch the request and call the >>> correct function. >> Did you take a look at ezComponents Webdav (ez Componenets is now called >> Zeta Components). It is proper PHP 5 Code. I haven't used it so I don't >> know if there are many issues with. >> >> I would prefer if we do WebDAV not before 6.2 but try to focus on what >> we have at the moment and enhance that . >> >> David >> > > > ------------------------------------------------------------------------------ > _______________________________________________ > Phprojekt-devel mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phprojekt-devel |