Futurescale, Inc. PureMVC Home

The PureMVC Framework Code at the Speed of Thought


Over 10 years of community discussion and knowledge are maintained here as a read-only archive.

New discussions should be taken up in issues on the appropriate projects at https://github.com/PureMVC

Pages: [1]
Print
Author Topic: Flex integration to WebORB .NET code gen  (Read 3796 times)
earmountaina
Jr. Member
**
Posts: 14


View Profile WWW Email
« on: October 28, 2008, 10:21:10 »

I'm starting to use the WebORB PureMVC code gen for Flex (-type 8). I was surprised to get a Facade and a Mediator generated.

There is nice WebORB/Flex example project here: http://www.adobe.com/devnet/flex/articles/flextodotnet_remoteobject_04.html
This is a decent article on the generator:
http://www.adobe.com/devnet/flex/articles/code_generator.html

WebORB uses XSLT to generate this stuff. The XLST is in the /weborbassets/codegen dir.

Does anyone have any best-practices advice on this code gen or an XSLT code gen they like better?

-- Mike
Logged
puremvc
Global Moderator
Hero Member
*****
Posts: 2871



View Profile WWW Email
« Reply #1 on: October 30, 2008, 06:50:25 »

Is that generated code up to the latest PureMVC release? I heard it had fallen behind a few revs and might need updating. I was planning to chat with Mark at The midnitecoders next month at MAX. Let us know how it goes. And if it is out of sync, I'll help them get their templates updated.

-=Cliff>
Logged
earmountaina
Jr. Member
**
Posts: 14


View Profile WWW Email
« Reply #2 on: October 30, 2008, 11:12:09 »

Hi Cliff,

I'm not the best one to ask about the XSLT being current with PureMVC.

WebORB code gen creates classes that I discard; facade and mediator. I think it should just concern itself with the model and leave the V and C to the Flex developer. I'm using the WebORB/nHibernate to support the model side. I'd expect WebORB to create the Command, VO and Proxy. I would like it to create more of the grunt-work of the VO, Proxy and Commands. In the next few weeks I may add to the XSLT and I'll post my changes to this thread if and when I do.

I look forward to hearing what you learn from the author. Pass along my thanks. I really like WebORB and the code gen.

-- Mike
Logged
Pages: [1]
Print