NAME
asphelper - Generate an ASP4 skeleton web application
USAGE
asphelper --app=AppName --domain=example.com --email=you@your-email.com [--host=dbhost --db=dbname --user=dbusername]
If you specify --dbname
and --dbuser
it will ask you for a database password - completely optional.
DESCRIPTION
The asphelper
program offers a way to get up-and-running quickly with a new ASP4 web application.
After successfully answering its questions, asphelper
will generate a skeleton web application including config files, full directory structure and a simple unit test.
Use the resulting application as a starting-point for your own development.
example.com/
|-- conf
| |-- asp4-config.json
| `-- httpd.conf
|-- handlers
| `-- myapp
| `-- echo.pm
|-- htdocs
| `-- index.asp
|-- lib
| `-- MyApp
| `-- db
| `-- model.pm
|-- sbin
| `-- ddl.sql
`-- t
`-- 010-basic
`-- 010-compile.t
NOTE: If Class::DBI::Lite is installed, a base Model class will be created based on Class::DBI::Lite. See Class::DBI::Lite for details on how to use it.