The name of my project is “Sentosa AutoForms”, and it is going to be driven by a SQL database.
I’m using SQLite but it can be changed at a later time to MySQL or Postgresql.
Let’s create my new project:
and let’s create our SQLite database. The schema goes on the db/schema.sql file:
and the actual database data goes to data/sentosa.db:
This is how I would access this DB with a standard Perl application (using the DBI module):
and this is how I am connecting to it in my web application:
and this is how I’m using it on my component index.mc: