Initialization would include creating all the required tables, constraints and populating the tables.
edit: Is there already a project doing this?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You could take it a step further and write a script to load in a text file.
In this text file you could set up some default styling and then use your script to handle it, for example:
tb_newTable
id pk
name vc 255
email vc 255
-end
Or something. So your handler reads this, recognises tb_ to be table name, then on line by line basis it creates the fields, so id pk could field name id, and primary key, name vc 255 is field called name at varchar 255 etc.. with -end stopping it.
This is theoreticaly mind, and the above won’t do squat but it migth give you an idea.