Re: Framework Development (2)

From: Date: Mon, 17 Jun 2002 23:21:04 +0000
Subject: Re: Framework Development (2)
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-7161@lists.php.net to get a copy of this message
> Jens Fischer <soth@microsoth.net> wrote*: > > Hello Sebastiao, > > Monday, June 17, 2002, 2:23:17 PM, you wrote: > >>> "Stig S. Bakken" <ssb@fast.no> wrote*: >>> >>> On Sun, 2002-06-16 at 22:47, Martin Jansen wrote: >>>> On Sun, 16 Jun 2002 16:57:47 -0300 (BRT), Sebastiao Rocha wrote: On >>>> Sun, 16 Jun 2002 16:57:47 -0300 (BRT), Sebastiao Rocha wrote: >>>> >I'm in! Could you publish it on the Pear CVS tree? >>>> >>>> IIRC there has been the decision some time ago that complete PHP >>>> frameworks don't fit in PEAR's structure. >>> >>> If they can be broken up in smaller components, they fit well in >>> PEAR. >> And that is just what we are proposing. Using Pear independent >> packages and create some dependent ones. If people wants to use Pear >> packages alone, fine. If not use the peaces to make a Framework or >> part of it. > >> I think that independet components should be our first design >> requirement. > >> What to you think Jens? Your work can be separated in small >> components? > > Right now my framework is made up of several pretty tightly coupled > classes. The main Controller class contains a lot of has-A > relations to other classes, like the DB handler, session and request > objects, ACL class, Locale, DB_Log and so on. This of course makes it > pretty difficult to distribute it in separate components. Some of Well see a lot off new packages for PEAR. A SessionHandler class by itself is cool enough to deserves a Pear package A ACL class, days ago we were discussing Pear:Auth, looks like a good point to stop talking and start working... Locale, duh....there isnt yet? A class to change a string in another cant be so dificult ;-P DB_log, its it like (could find in the cvs checkout) ... Im thinking if we have something like jakarta's Log4J (http://jakarta.apache.org/log4j/docs/index.html) ( hum... Log4PHP ) that should be VERY cool!! Humm... Lots of work... too little time... need much help...where is that mailing list ;-)) I'm looking at your code now. I think the first step know is have some docs. I'll be doing this while reading it. > > I encourage everyone to check out my classes and give feedback. I just > hope my DSL connection can handle the load ;-) Peace of cake. From Germany to Brazil in seconds. > sya S.Rocha

« previous php.pear.dev (#7161) next »