|
fxDaoExample
This Flex project is a simple example of how to write a DAO Class which uses fxDao to execute queries.
Featured IntroductionTo test the example you should first download and install fxdaophp-1.0.0.zip. Then you can download the fxDaoExample1.zip which contains the Flex Builder project sources. DetailsTo run the application you should have a MySql server up and running. Create a test schema and which will contain the contacts table: CREATE TABLE `contacts` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `first_name` varchar(45) NOT NULL, `last_name` varchar(45) NOT NULL, `email` varchar(100) DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8; Remember to configure the fxdaophp properly in order to connect to the database (see the readme.txt packed in the zip file). Remember to change the assets/fxdao-congif.xml packed in the Flex example application in order to connect properly with you fxdaophp installation. |
► Sign in to add a comment