Hi,

I have been involved in .NET C# development for quite a few years and only
recently been introduced to Flex. Well, the introduction was enough to
convince me that this is where our UI development efforts need to lie.

Since this realisation, we have developed a set of templates that will
generate the .net c# data access and business logic classes, based on the
NHibernate framework. It then generates all flex AS3 classes (conforming to
the Cairngorm architecture) - i.e. VO objects, core views, delegate classes,
service class (weborb). it will even copy over and register the weborb and
cairngorm SWC librarys. Essentially all we need to do now is define the
database and from this we can create an entire .net back-end and flex front
end, complete with core classes, mxml pages (logins, lists etc).

We are thinking of releasing this as a free codesmith project so if you're
interested let me know



Miika Makinen-2 wrote:
> 
> Hi all,
> 
> We have been testing Flex as a front end for .Net application using
> Fluorine
> as a gateway between the two worlds. This seems to work very well except
> that there's an issue is keeping the DTO (or VO) entities in sync. For now
> we've setup code generation which reads an xml file and generates
> duplicate
> classes for .net and flex. This setup is not nearly perfect as problems
> come
> from duplicating complex things like calculated properties or
> functionality
> other than basic get-set a private field.
> 
> My question is, has anybody experience in using something that can compile
> *something* into both actionscript and c#? Just looking a bit around I saw
> few interesting projects like http://jsc.sourceforge.net/ and
> http://weblogs.asp.net/jezell/archive/2004/04/25/119671.aspx. Or you have
> some other fancy ideas on this? In a bigger application without some
> intelligent system it might become impossible to keep the setup we have
> now...
> 
> Thanks for any advice,
> Miika
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Keeping-.Net-and-Flex-entities-in-sync-tp11321137p18907549.html
Sent from the FlexCoders mailing list archive at Nabble.com.

Reply via email to