Hi

I'm developing a couple of different applications, using ZF, and now i'm
planning the application layout for each development. One thing i'm trying
to avoid is replicate a lot of code, specially the lib folder and the
bootstrap file (index.php). If I can manage to centralize as much code as
possible it will be very good.

The lib library is outside the application layout thanks a soft link from
linux, so the application thinks the libs is inside the application layout,
but i want to improve all this stuff. The bootstrap file follows the same
design.

Now i get to this point:

Kernel/
   lib/
   www/
      .htaccess
      .index.php

Application1/
   etc/
   lib/ (link to kernel/lib)
   ...
   www/
      @.htaccess (link to kernel/www/.htaccess)
      @index.php (link to kernel/www/index.php)

Application2/
   ...

There's a problem, as the kernel's index.php is in kernel's path instead of
application#'s path, so it get useless.

Anybody knows a better way to make a good layout to achieve reutilization?

Thanks

--
Xavier Vidal Piera
Enginyer Tècnic Informàtic de Gestió
Tècnic Especialista Informàtic d'equips
[EMAIL PROTECTED]
610.68.41.78

Reply via email to