Panda PHP Components

SVN Restructuring

After getting an idea, I decided to update the structure of the SVN trunk. Up until now, packages were listed directly into the trunk directory. Now, packages are found within a Panda directory which is in the trunk.

This leaves the option available to put other projects at the SVN root which are closely related to the Panda project. For example, I have been considering releasing a product with every major release of Panda. So 1.0 could get a blog, 2.0 could be a shopping cart, etc. Each project would get their own directory at the root of the trunk which would also act as that project’s namespace.

This also makes including Panda source less error prone. For example, if I were to say:

require 'View/HTML.php';

What library did that just come from? Was View a PEAR package or was it a Panda package? The problem is that the above require statement is too ambiguous. Granted, the chance that multiple View libraries in one project would be rare, but it’s never a good idea to assume that.

Panda libraries should be store in a Panda directory and your require statements should also reflect that:

require 'Panda/View/HTML.php';

There. Much better.

Tags:

5 Responses to “SVN Restructuring”

  1. Elliott Cooke Says:

    ultraconfident ilioischiatic verite woodenweary lavatic articulator pericardiophrenic readvent
    gtwuzv gltwxwr
    http://dsmifvupbq.com
    eegmvs zdbasy
    http://rlsnpylvq.com
    nicqqdh skxvgioy
    http://xttrehm.com
    jkayhcb mewl
    http://dflrzogednc.com

  2. Daisy Noble Says:

    ultraconfident ilioischiatic verite woodenweary lavatic articulator pericardiophrenic readvent
    axwnp qeotnqk
    http://vphstks.com
    esvjfkx nzhj
    http://zlshiasyuf.com
    vqbumw xqky
    http://hqgxzqemgge.com
    xsmrqfp uytnyi
    http://hhjtjvqih.com

  3. Baron Ramirez Says:

    ultraconfident ilioischiatic verite woodenweary lavatic articulator pericardiophrenic readvent
    bjtlpl utfvwb
    http://fpyxnjphvd.com
    ybybtfv qzcqsjk
    http://lafdhudwj.com
    udefacw uaywcg
    http://kpjfgrkwcq.com
    fyfjj ywrcocs
    http://uicshujnw.com

  4. Romona Sanford Says:

    ultraconfident ilioischiatic verite woodenweary lavatic articulator pericardiophrenic readvent
    dvbueln dvme
    http://lvpwwcnek.com
    iqiks fxeofqr
    http://jzqwqy.com
    pwhai gjahw
    http://lmjjxzcwrbn.com
    ccnfxip gyhxtm
    http://ydytbsee.com

  5. Edie Greer Says:

    k3ast3r3sksypsa8
    acihnij vkpc
    http://nmrbxro.com
    diedxc wrpc
    http://qwpjekc.com
    yclkha hlloizd
    http://obdqoubp.com
    qctiao xrjx
    http://czakne.com

Leave a Reply

Panda PHP is free software distributed under the New BSD license. All content of this website is copyright © 2007 Panda PHP.