I would actually take an automated approach first, by scanning the code for markers that identify classes in other "packages". This could either by by scanning for class names or, currently, looking for require statements (although those will prob. go away in 2.0).

-ralph

Саша Стаменковић wrote:
How do you think we can specify dependencies?

Regards,
Saša Stamenković


On Fri, Jul 10, 2009 at 4:35 PM, Matthew Weier O'Phinney <[email protected] <mailto:[email protected]>> wrote:

    -- Саша Стаменковић <[email protected] <mailto:[email protected]>>
    wrote
    (on Friday, 10 July 2009, 11:40 AM +0200):
     > Thinking about building custom downloader, which will build
    download with
     > dependencies, will anyone use it?
     >
     > Maybe this can be added to Zend_Tool and then used on zend website...

    If we go this route, we'll utilize a PEAR channel instead of
    re-inventing the wheel.

    However, it will take some work for us to determine what constitutes an
    individual package, and how to specify the dependencies -- and as that
    will likely be a fairly large task, it's been a backburner task for some
    time as a result. Any solution we come up with will need to be
    automated, to ensure that we don't need to manually determine this
    information for each new component, or when component features change.

    Would anyone like to start working on such a project?


     > On Thu, Jul 9, 2009 at 9:58 PM, Саша Стаменковић
    <[email protected] <mailto:[email protected]>> wrote:
     >
     >     Not if you are a fan ;)
     >
     >     Regards,
     >     Saša Stamenković
     >
     >
     >     On Thu, Jul 9, 2009 at 5:49 PM, Mario Guenterberg
    <[email protected] <mailto:[email protected]>> wrote:
     >
     >         On Thu, Jul 09, 2009 at 05:38:15PM +0200, Саша
    Стаменковић wrote:
     >         > The case is:
     >         >
     >         > You want to implement simple twitter
    (Zend_Service_Twitter) script or
     >         > contact form (Zend_Form), so you want target component with
     >         dependencies
     >         > (e.g. autoload, Zend_Http for twitter...) and your
    script will be
     >         installed
     >         > on clients server, and he will ask : "Why your contact
    form have 20MB
     >         :)",
     >         > it's silly isn't it?
     >         >
     >
     >         Right, but for a simple contact form or twitter service
     >         implementation it is a little bit overkill to realize
    with ZF.
     >
     >         My 2 cents
     >         Mario
     >
     >         --
     >         -----BEGIN GEEK CODE BLOCK-----
     >         Version: 3.12
     >         GCS/CM d- s++: a+ C++++>$ UBL*++++$ P++ L+++ E--- W+++ N+
    o-- K- w O-
     >         M-
     >         V-- PS++ PE++ Y PGP+++ t--- 5 X++++ R++ tv- b+++ DI D++++
     G++ e* h----
     >         r+++ y++++
     >         ------END GEEK CODE BLOCK------
     >
     >         -----BEGIN PGP SIGNATURE-----
     >         Version: GnuPG v1.4.9 (GNU/Linux)
     >
> iEYEARECAAYFAkpWEXcACgkQAGfmtsX4QJKR3wCfeJJLFLK2nFtDAbJBKzH7wUrf
     >         IysAn3YspBaAug4N0Q6FkgHKrByBZ6Uz
     >         =SwJ2
     >         -----END PGP SIGNATURE-----
     >
     >
     >
     >
     >

    --
    Matthew Weier O'Phinney
    Project Lead            | [email protected] <mailto:[email protected]>
    Zend Framework          | http://framework.zend.com/


Reply via email to