finally, on your advice, i've refactored my app and i've learnt how to keep data in the database. But i've an issue when i drop my table to test a manual installation of my app by deleting my app folder and replacing it by a new folder.
When i enable the app the table is not created in database. i've used a database.xml in my appInfo folder.
could you explain me in the main lines the way to allow app to create automatically tables in database after app installation/activation
thank you a lot