Loading ...
Sorry, an error occurred while loading the content.

RE: advice on implementing a controller manager

Expand Messages
  • Jesse Erlbaum
    Hi Chris -- ... If you want a unique URL which points to a particular perl class, you could also use CGI::Application. It was built to run under mod_perl, and
    Message 1 of 3 , Jul 1 6:23 PM
    • 0 Attachment
      Hi Chris --

      > A word of advice: if you'd like to use it under different web
      > environments, create your own system for registering/calling
      > handlers instead of using the Apache API. That is, have a map of
      > URL-to-class and have your controller find the class to execute
      > based on the URL and call it directly. This is how OpenInteract does
      > it and it's saved quite a lot of grief. It also makes for nice
      > decoupling which is always a good thing.

      If you want a unique URL which points to a particular perl class, you
      could also use CGI::Application. It was built to run under mod_perl,
      and solve exactly this problem.

      TTYL,

      -Jesse-


      --

      Jesse Erlbaum
      The Erlbaum Group
      jesse@...
      Phone: 212-684-6161
      Fax: 212-684-6226
    Your message has been successfully submitted and would be delivered to recipients shortly.