|
View:
New views
14 Messages
—
Rating Filter:
Alert me
|
|
|
PHP API - $500 Sponsorship OfferedSo we've had a lot of discussion over the last few months about getting an object oriented PHP API for the PDNS database. I kicked it off back in Feb:
http://mailman.powerdns.com/pipermail/pdns-users/2009-February/thread.html#5935 and then Pascal chimed in again in June: http://mailman.powerdns.com/pipermail/pdns-users/2009-June/thread.html#6080 I keep thinking I'm going to write one, but I don't have the time. So instead, I wanted to throw out the idea of sponsoring one... I'd be willing to kick in $500 for somebody to write a 'complete' PHP API and maintain/bugfix it for at least a year. What is a 'complete' API? I'd leave that up to the list + anyone else who wants to contribute, but I'd suggest at least: - object oriented, extendable design - ability to work with at least the MySQL and PGSQL backends - CRUD operations for any type of record, domains & supermasters - Decent test coverage (using PHPUnit or similar) for all functions Thoughts? |
|
|
Re: PHP API - $500 Sponsorship OfferedOn Mon August 31 2009 21:00:40 DORDAL wrote:
> What is a 'complete' API? I'd leave that up to the list + anyone else who > wants to contribute, but I'd suggest at least: > - object oriented, extendable design > - ability to work with at least the MySQL and PGSQL backends > - CRUD operations for any type of record, domains & supermasters > - Decent test coverage (using PHPUnit or similar) for all functions Like promised, I've implemented some code for a PHP PowerDNS Admin API. It's not yet complete and if someone would like to invest some time (with or without sponsorship) I would be glad if he will drop me a note. Download: http://www.linuxnetworks.de/codelib/pdnsadmlib.tar.gz Norbert -- OpenPGP public key http://www.linuxnetworks.de/norbert.pubkey.asc _______________________________________________ Pdns-users mailing list Pdns-users@... http://mailman.powerdns.com/mailman/listinfo/pdns-users |
|
|
Re: PHP API - $500 Sponsorship OfferedI have an api that i've written, its far from complete. I've tailored it to my needs, but I can certainly make it an active project.
Right now its OOP based, PHP and geared more towards pgsql than mysql. Msj On Mon, Aug 31, 2009 at 3:00 PM, DORDAL <david@...> wrote:
-- Michael St. John _______________________________________________ Pdns-users mailing list Pdns-users@... http://mailman.powerdns.com/mailman/listinfo/pdns-users |
|
|
Re: PHP API - $500 Sponsorship OfferedHello,
I have written a completed and working PHP front-end GUI for PDNS. IT works and looks very well, and I might be interested in taking you up on the offer. What are the feature requirements? I may be able to deliver this in a weeks time.
Respectfully,
brandon
On Mon, Aug 31, 2009 at 3:00 PM, DORDAL <david@...> wrote:
-- Michael St. John _______________________________________________ Pdns-users mailing list Pdns-users@... http://mailman.powerdns.com/mailman/listinfo/pdns-users |
|
|
Re: PHP API - $500 Sponsorship OfferedI think one of the most important necessities in a project like this is it needs to be very configurable and (like you said) extensible. Organizations could use this in many different ways: as a standalone application, plugged into their community/corporate website, or part of a third-party application. It needs to be capable of all of these things while not actually worrying about the implementation of these things. It should, as you said, come out of the box able to support the MySQL and PGSQL backends, but it shouldn't be limited to those nor even limited to SQL-based backends. It should be extensible for any backend. It's conceivable (possibly desirable) that this could eventually become a PEAR extension, but I think that detail should be left for a later time. I've personally written custom PDNS/MySQL PHP management interfaces for three different organizations, so I'm very familiar with what it entails. I do hereby "sign up," so to speak. Here's a general idea of what I believe should be the goals of this project. I'm open to suggestions for additions to and improvements to this list. Remember don't get too detailed about implementation just yet, and our goal isn't to support everything out the door ... it's to build a basic framework that's extensible and initially supports MySQL and PGSQL. The names of interfaces/classes aren't final and may change because of or regardless of suggestions. - It should be OpenSource (I'm to suggestions as to which license it falls under) and available on one of the major project sites (I'm partial to SourceForge and Google Code) - It should have a PDNSManager interface specifying the basic CRUD operations for supermasters, records, domains, etc. - It should have a PDNSMySQL class implementing PDNSManager for the MySQL backend using the mysqli or possibly http://pear.php.net/package/MDB2 - It should have a PDNSPostgreSQL class implementing PDNSManager for the PGSql backend using PHP/PG or possibly http://pear.php.net/package/MDB2 - It should have a PDNSFactory class that provides you with the correct PDNSManager for the type you select, and this factory should provide methods for specifying configuration options (DB connection details, location of host files, etc). - It's possible there should be classes for domains, records and supermasters to simplify the code of the PDNSManagers. Now that I think about it some more, I think this might be essential. - It should make use of exceptions (I prefer extensions of PEARException, personally) for error reporting - Additionally, there could also be (and I think there probably should be) an optional, bundled GUI that implements this API for those organizations not wanting to code a GUI and just wanting to drop something in place, configure it, and use it. Ideas? Suggestions? Comments? Wishes of good luck? :) Nick DORDAL wrote: So we've had a lot of discussion over the last few months about getting an object oriented PHP API for the PDNS database. I kicked it off back in Feb: http://mailman.powerdns.com/pipermail/pdns-users/2009-February/thread.html#5935 and then Pascal chimed in again in June: http://mailman.powerdns.com/pipermail/pdns-users/2009-June/thread.html#6080 I keep thinking I'm going to write one, but I don't have the time. So instead, I wanted to throw out the idea of sponsoring one... I'd be willing to kick in $500 for somebody to write a 'complete' PHP API and maintain/bugfix it for at least a year. What is a 'complete' API? I'd leave that up to the list + anyone else who wants to contribute, but I'd suggest at least: - object oriented, extendable design - ability to work with at least the MySQL and PGSQL backends - CRUD operations for any type of record, domains & supermasters - Decent test coverage (using PHPUnit or similar) for all functions Thoughts? --
Nicholas Scott Williams "An idea, I have. Share it with you, I will. Change the world, we will together." _______________________________________________ Pdns-users mailing list Pdns-users@... http://mailman.powerdns.com/mailman/listinfo/pdns-users |
|
|
Re: PHP API - $500 Sponsorship OfferedHi Nick
> - It should be OpenSource (I'm to suggestions as to which license it > falls under) and available on one of the major project sites (I'm > partial to SourceForge and Google Code) > - It should have a PDNSManager interface specifying the basic CRUD > operations for supermasters, records, domains, etc. > - It should have a PDNSMySQL class implementing PDNSManager for the > MySQL backend using the mysqli or possibly http://pear.php.net/package/MDB2 > - It should have a PDNSPostgreSQL class implementing PDNSManager for the > PGSql backend using PHP/PG or possibly http://pear.php.net/package/MDB2 > - It should have a PDNSFactory class that provides you with the correct > PDNSManager for the type you select, and this factory should provide > methods for specifying configuration options (DB connection details, > location of host files, etc). > - It's possible there should be classes for domains, records and > supermasters to simplify the code of the PDNSManagers. Now that I think > about it some more, I think this might be essential. > - It should make use of exceptions (I prefer extensions of > PEARException, personally) for error reporting > - Additionally, there could also be (and I think there probably should > be) an optional, bundled GUI that implements this API for those > organizations not wanting to code a GUI and just wanting to drop > something in place, configure it, and use it. > > Ideas? Suggestions? Comments? Wishes of good luck? :) or outlines already almost all of the requirements you listed above. http://www.linuxnetworks.de/codelib/pdnsadmlib.tar.gz Norbert -- OpenPGP public key http://www.linuxnetworks.de/norbert.pubkey.asc _______________________________________________ Pdns-users mailing list Pdns-users@... http://mailman.powerdns.com/mailman/listinfo/pdns-users |
|
|
Re: PHP API - $500 Sponsorship OfferedGuys-
Thanks for the great response so far! A quick summary: - Norbert S, Mike SJ & Brandon L all said they've written an API of some sort. That's three. - Two other people contacted me off-list to let me know they have private APIs they've written that they'd be willing to license to me. That makes five. - I already have my own API (really bad, not OO, not complete). Which makes six separate PHP APIs for PDNS. So I think there is clearly some demand here. :-) Nick, I really like your proposal, and think you should run with it. I'll definitely sponsor it, as outlined earlier. However, there are two things that are must-haves for me to be able to do so: 1) I hope you don't hate me, but no PEAR. I like PEAR, and have used it for many projects in the past, but the current software we need this for doesn't use PEAR, and I really really don't want to introduce that dependency to be able to use the API. :-) 2) On the licensing, we need some license that lets us redistribute it without having to redistribute the code built on top of it. I'm open to suggestions... a BSD-style license might work well. I would also suggest you check out Norbert's code. It does appear to already have many of the features that you've outlined, and could be a great place for a jumpstart. Finally, I have a dev server I can give you access to if you want (in addition to the sponsorship). Contact me off-list for more info. Maybe the next step would be to put together a comprehensive technical plan and post it to the list for review. Thoughts? |
|
|
Re: PHP API - $500 Sponsorship OfferedOn Tue September 1 2009 18:53:56 DORDAL wrote:
> 2) On the licensing, we need some license that lets us redistribute it > without having to redistribute the code built on top of it. I'm open to > suggestions... a BSD-style license might work well. > > I would also suggest you check out Norbert's code. It does appear to > already have many of the features that you've outlined, and could be a > great place for a jumpstart. I would prefer LGPL as licence as it also allows commercial applications using the library but would agree to a BSD licence if this would be a showstopper to use the code. > Finally, I have a dev server I can give you access to if you want (in > addition to the sponsorship). Contact me off-list for more info. I've setup a Sourceforge project for common development of all involved parties including a forum and a SVN repository. The current code is checked in and available via svn co https://phppdnsadmlib.svn.sourceforge.net/svnroot/phppdnsadmlib phppdnsadmlib Please let me know who would like to have write access to the project (Sourceforge account). Perhaps we can then discuss things in detail in the forum. Norbert -- OpenPGP public key http://www.linuxnetworks.de/norbert.pubkey.asc _______________________________________________ Pdns-users mailing list Pdns-users@... http://mailman.powerdns.com/mailman/listinfo/pdns-users |
|
|
Re: PHP API - $500 Sponsorship OfferedHello,
Will the previous proposal here : http://linuxnetworks.de/doc/index.php/PowerDNS_Management_API/Library still be followed? On 9/2/09, Norbert Sendetzky <norbert@...> wrote: > On Tue September 1 2009 18:53:56 DORDAL wrote: >> 2) On the licensing, we need some license that lets us redistribute it >> without having to redistribute the code built on top of it. I'm open to >> suggestions... a BSD-style license might work well. >> >> I would also suggest you check out Norbert's code. It does appear to >> already have many of the features that you've outlined, and could be a >> great place for a jumpstart. > > I would prefer LGPL as licence as it also allows commercial applications > using > the library but would agree to a BSD licence if this would be a showstopper > to > use the code. > >> Finally, I have a dev server I can give you access to if you want (in >> addition to the sponsorship). Contact me off-list for more info. > > I've setup a Sourceforge project for common development of all involved > parties including a forum and a SVN repository. The current code is checked > in > and available via > > svn co https://phppdnsadmlib.svn.sourceforge.net/svnroot/phppdnsadmlib > phppdnsadmlib > > Please let me know who would like to have write access to the project > (Sourceforge account). Perhaps we can then discuss things in detail in the > forum. > > > Norbert > -- > OpenPGP public key > http://www.linuxnetworks.de/norbert.pubkey.asc > > > Pdns-users mailing list Pdns-users@... http://mailman.powerdns.com/mailman/listinfo/pdns-users |
|
|
Re: PHP API - $500 Sponsorship OfferedOn Wed September 2 2009 10:09:13 Norbert Sendetzky wrote:
> I've setup a Sourceforge project for common development of all involved > parties including a forum and a SVN repository. The current code is checked > in and available via > > svn co https://phppdnsadmlib.svn.sourceforge.net/svnroot/phppdnsadmlib > phppdnsadmlib Sorry, forgot to commit ;-) Now the code is in SVN and I've added more interfaces which allows using e.g. the database connection of the application to access the storage. I will grant SVN access to everyone who wants to provide code. Also, there's now an mailinglist avaliable: phppdnsadmlib-devel@... Norbert -- OpenPGP public key http://www.linuxnetworks.de/norbert.pubkey.asc _______________________________________________ Pdns-users mailing list Pdns-users@... http://mailman.powerdns.com/mailman/listinfo/pdns-users |
|
|
Re: PHP API - $500 Sponsorship OfferedExcellent.
I've just subscribed to the new mailing list at https://lists.sourceforge.net/lists/listinfo/phppdnsadmlib-devel ; I suggest that anyone else who is interested in this project do so as well. We can continue discussions over there. For the archives, the main project homepage for this is at http://sourceforge.net/projects/phppdnsadmlib/ David
|
|
|
Re: PHP API - $500 Sponsorship OfferedHi,
Has there been any activity on the mailinglist below? I've subscribed days ago but have not yet seen discussion or any other mail. Also the archive seems to be either broken or not yet filled (probably the latter) On Fri, Sep 4, 2009 at 7:17 PM, DORDAL <david@...> wrote:
_______________________________________________ Pdns-users mailing list Pdns-users@... http://mailman.powerdns.com/mailman/listinfo/pdns-users |
|
|
Re: PHP API - $500 Sponsorship Offered> Has there been any activity on the mailinglist below? I've subscribed days > ago but have not yet seen discussion or any other mail. Also the archive > seems to be either broken or not yet filled (probably the latter) No, there hasn't been any activity. Norbert put together some very good looking initial API code, and Nick had signed up to help develop it (for the sponsorship), but Nick dropped off the radar screen, so the sponsorship is open again. And that's pretty much where things stand. :-) |
|
|
Re: PHP API - $500 Sponsorship OfferedOn Thu September 3 2009 17:56:01 Maysara A. Abdulhaq wrote:
> Will the previous proposal here : > http://linuxnetworks.de/doc/index.php/PowerDNS_Management_API/Library > still be followed? Yes, it's the base of the current code in SVN. Norbert -- OpenPGP public key http://www.linuxnetworks.de/norbert.pubkey.asc _______________________________________________ Pdns-users mailing list Pdns-users@... http://mailman.powerdns.com/mailman/listinfo/pdns-users |
| Free embeddable forum powered by Nabble | Forum Help |