Blueprint changed by rejon: Whiteboard changed: This needs more data. Essentially this will be the aikiapp functionality, but need more details to figure out how this can work. Essentially, they are like database patches, so need to make sure schema and content is separated. Data and content don't have to be separated, unless the table schema already exists. The challenge lies in properly escaping embedded php, php specific- variables,double quotes, and single quotes for the inserted data. This is an extremely time consuming process, especially when embedded php calls are present. Next up is checking to see that the new records don't already exist: give option to overwrite/replace/ignore, And finally properly packaging the schema/table data so it is easy for users to use. Simply put, a new directory where people can place database data would be ideal. Otherwise this task would be handled by the plugin system (whose syntax is not really easily read.) Now would be the time to seriously look into creating a templating system. You may choose to adopt my method in myparse for this, where I make use of 'coalesce' and 'IFNULL' functions within mysql to easily process template data. I'm sure their are similar functions for the other databases aiki would like to support. ## + + I want to see it working . Jon importing sql files now exists, exporting the whole database as sql file is not secure enough. therefore not doing it
-- Table Import/Export Functions https://blueprints.launchpad.net/aikiframework/+spec/tableio _______________________________________________ Mailing list: https://launchpad.net/~aikiframework-devel Post to : aikiframework-devel@lists.launchpad.net Unsubscribe : https://launchpad.net/~aikiframework-devel More help : https://help.launchpad.net/ListHelp