|
|
vor 3 Tagen | |
|---|---|---|
| app | vor 3 Tagen | |
| core | vor 3 Tagen | |
| db | vor 3 Tagen | |
| docs | vor 1 Monat | |
| public | vor 3 Tagen | |
| scripts | vor 3 Tagen | |
| tests | vor 1 Monat | |
| .gitignore | vor 1 Monat | |
| README.md | vor 1 Monat | |
| TESTING.md | vor 1 Monat | |
| applicationhost.config | vor 3 Tagen | |
| run_site.cmd | vor 3 Tagen | |
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///404This repo now includes a dev-only aspunit harness under tests/. It is intentionally separate from the production app rooted at public/.
tests/tests/web.config, refresh the nested test-folder copies with cscript //nologo tests\sync-webconfigs.vbsrun-all.asp inside that IIS app to execute the test suiteTESTING.md for setup, manifest registration, and extension guidancePowered by TurnKey Linux.