|
|
1 mese fa | |
|---|---|---|
| app | 1 mese fa | |
| core | 1 mese fa | |
| db | 1 mese fa | |
| public | 1 mese fa | |
| scripts | 1 mese fa | |
| README.md | 1 mese fa | |
A clean starting point for building Classic ASP applications with the RouteKit MVC framework.
public/ folderpublic/web.config:
ConnectionString to your database pathErrorLogPath if you want file logginghttp://localhost/ — you should see the welcome pageMVC-Starter/
public/ # IIS ROOT - point your IIS site here
Default.asp # Front controller (entry point)
web.config # IIS config, routes, connection strings
core/ # Framework core (do not modify)
autoload_core.asp # Loads all core libraries
router.wsc # Route matching engine
mvc.asp # MVC dispatcher
lib.*.asp # Core libraries
app/
controllers/ # Your controllers go here
views/ # Your views go here
shared/ # Shared layout (header, footer)
models/ # POBOs go here
repositories/ # Repository classes go here
db/
migrations/ # Database migrations
webdata.accdb # Access database
scripts/ # Code generators
generateController.vbs
generateMigration.vbs
GenerateRepo.vbs
runMigrations.vbs
cscript //nologo scripts\generateMigration.vbs create_my_table
cscript //nologo scripts\GenerateRepo.vbs /table:my_table /pk:id
Move generated files to app/models/ and app/repositories/.
cscript //nologo scripts\generateController.vbs MyController "Index;Show(id);Create;Store"
Move generated file to app/controllers/.
core/lib.ControllerRegistry.aspapp/controllers/autoload_controllers.asppublic/Default.aspapp/views/MyController///404Powered by TurnKey Linux.