Page 1 of 1

CodeDom

PostPosted: Sat Feb 13, 2010 6:04 pm
by torial
I was just wondering what the status on the CodeDom for Cobra was. Is it pretty reliable? What kind of stuff does it currently support and not support?

Re: CodeDom

PostPosted: Sun Feb 14, 2010 11:32 am
by Charles
Looks like Gauthier was the person working on this. I happen to know he's in the middle of a major move right now, so I don't know when he'll reply.

You could always get a copy of the code and skim through it and test it.

http://code.google.com/p/cobra-codedom/

Re: CodeDom

PostPosted: Sun Feb 14, 2010 4:57 pm
by gauthier
Hello,

the cobra code dom hasn't moved much, the googlecode repository is in the same shape as my local copy (have to check if there isn't any usefull chore on another computer though).

The code is not usable at all as is, I was using ASP.NET as a driver for development but would like to make the implementation design more testable than what the MS.NET code dom api base classes allows (theses are a major pain IMHO), this is the point of all theses *implementation forward method calls and having another textwriter as public members.

Also the repository needs a bit of cleaning, I think I've put it with all files in a hurry to ensure that it will survive my dev environment lifespan.

I'm eagerly looking for code reviews, advices or help to make this move forward.

Re: CodeDom

PostPosted: Mon Feb 15, 2010 7:55 am
by torial
I'm not sure I can provide much of value, but I'll tell you how I want to use it: MS has provided a sample project that allows you to do UI forms design, and the code that is generated can be XML (bleh), or in source code (e.g. form.Designer.language) if the CodeDom is present. So I was thinking if I could just wire the Cobra CodeDom in instead of the VB.Net or C# CodeDom, then voila, a UI designer for Cobra :-)

So I could give it a try, and let you know the issues I encounter, but I'm not familiar w/ the CodeDom model itself, so couldn't give good feedback. Also, is your CodeDom MIT licensed?

Re: CodeDom

PostPosted: Mon Feb 15, 2010 11:06 am
by Charles
The page at http://code.google.com/p/cobra-codedom/ says the license is MIT.