Matthew Weier O'Phinney schreef:
-- Sanjay - e11 Online <[EMAIL PROTECTED]> wrote
(on Wednesday, 06 December 2006, 09:46 AM +0530):
It will be great to have this functionality. Could you please let me know by
when this functionality will be incorporated?

I'm working on it today; I should have it into subversion in the next 12
hours (depends on my work schedule). I'll drop a note to the list when
it's available.

We are into product development and we require to run the different version of
the same application on one web server.  Right now it didn't seem possible to
me. Is there any other way by which I can achieve this or I have to wait for
the module functionality to be incorporated?

Much of this can actually be achieved now. You can specify classes in
subdirectories with the current MVC. As an example:

    * Controller directory layout:
      controllers/
        Admin/
          NewsController.php
        User/
          NewsController.php

    * Then, to specify:
      * Admin version of news controller: /admin-news/view
        Calls AdminNewsController::viewAction()
      * User version of news controller: /user-news/view
        Calls UserNewsController::viewAction()

After the code changes, you'll be able to do URLs like the following:

* RewriteRouter route of ':module/:controller/:action': /admin/news/view
        /user/news/view
    * Basic router:
        /news/view/module/admin
        /news/view/module/user

Hello,

Please see this dir layout:
http://andries.zfdev.com/fw_dir_layout.png

I'm not sure how to subclass the rewriterouter to get this working with a single bootstrap file?

I want to be able to define the "default interface" (in the above example this should be "website"), which then would be accessible through "domain.com/controller/action/" however as you can see, i have multiple "interfaces", eg "admin", "superadmin", "e-commerce-admin", and so on ... i want to access those through the folder name eg "domain.com/superadmin/controller/action".

I'm a little bit lost on how to do this properly, and I actually don't know if I'm making myself clear enough?

Best regards,

--
Andries Seutens
http://andries.systray.be

i18n Locale Team is looking for your help.  Volunteers are always welcome to 
contribute their feedback, bug fixes, suggestions for enhancements and 
improvements, experimental patches, and especially their ideas on the fw-i18n 
mail list.

Are you enjoying the wiki manual?  They are frequently updated and incubator 
documentation is also included!

Live manual: http://framework.zend.com/wiki/display/ZFDOCDEV
Incubator manual: http://framework.zend.com/wiki/display/ZFDOC

Reply via email to