Consolidated ASP Classic MVC framework from best components
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

11 rindas
530B

  1. <!--#include file="HomeController.asp" -->
  2. <!--#include file="ErrorController.asp" -->
  3. <%
  4. ' Register each controller's own singleton accessor with the shared
  5. ' ControllerFactory, by reference (GetRef), so the MVC dispatcher (a WSC,
  6. ' which cannot see these factory functions directly) never has to Execute/
  7. ' Eval a route-supplied string to resolve a controller class.
  8. Call ControllerFactory().Register("HomeController", GetRef("HomeController"))
  9. Call ControllerFactory().Register("ErrorController", GetRef("ErrorController"))
  10. %>

Powered by TurnKey Linux.