MySQL “Create table” to ADODB XML Schema (AXMLS) converter
Tuesday, September 23rd, 2008
During the development of Tangra CMS installer I found that it is really annoying when you have to convert multiple tables from MySQL CREATE TABLE to Adodb’s XML schema format by hand. I had to convert more than 20 tables and I decided to write simple converter that will automate this task. The result is MySQL “Create table” to ADODB XML Schema (AXMLS) converter.
Generally speaking it takes something like:
CREATE TABLE `users` ( `id` int(10) unsigned NOT NULL, `username` varchar(50) NOT NULL, `password` varchar(50) NOT NULL, `disabled` tinyint(3) unsigned NOT NULL default '0', PRIMARY KEY (`id`), UNIQUE KEY `i_username` (`username`), KEY `i_check_login` (`username`,`password`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8
as an input and as output generates: (more…)
В последните дни за занимавах да направя user registration модул за моя 