Wednesday, September 03, 2008

asDox Alpha 2.1 Released

I have updated the asDox project and release 1.0.0 alpha 2.1 which contains some minor bugs fixes with imports and file encoding. I like to thank Eamonn Faherty for reporting these issues. I have not had a lot of time to work on asDox but that is all about to change. I am working on a new Flex + WebOrb + Doctrine project in which I am using asDox to generate the Doctrine Records, PHP DTO's, and the PHP DAO's. I will try to blog my progress for those who are interested.

5 comments:

Anonymous said...

Hi,

I am also using Flex+WebOrb+Doctrine and I have some issues bondong Flex classes and Doctrine classes. I will be interesting sharing progress

Gurufaction said...

I am using code generation to bridge the gap. I use metadata tags auto-generate the doctrine classes I need.

Anonymous said...

1. "metadata tags auto-generate the doctrine classes"? Can you explain me more?

On my side, I create the php classes, generate the datamodel, then register the services for mapping back to Flex classes.

2. Another question, is there a solution for having an anthentification/authorization mechanism using database records (login, pass, role)?

J.W. said...

Hi I'm trying to setup flex + weborb 3.6 + doctrine and i can't for the life of me get ORBHttpHandler.php to work. Can you please tell me what the basic folder structure should be like in weborb as well as config settings.
Thanx

Reid B said...

I struggled with getting doctrine 1.2 to work with weborb 3.6 for sometime as well, but got it working great after some researching and troubleshooting.

Try updating ORBHttpHandler.php with the code (in bold) to allow autoload to work with both weborb and doctrine. I put the contents of the 'lib' folder of Doctrine1.2 into the WebOrb subfolder. Also check weborb's error log if that don't work.

----
require_once(WebOrb . "Util/AutoLoader.php");

require_once(WebOrb . "lib/Doctrine.php");

spl_autoload_register(null, false);
spl_autoload_register(array('Doctrine', 'autoload'));
spl_autoload_register('__autoload');


function __autoload($className)
{
$autoLoader = AutoLoader::getInstance();
$autoLoader->load($className);
}
---

Cheers
Reid