I'm working with an existing database that uses some really ugly conventions. I'd like to use NHibernate, and I think I can fix all these ugly DB conventions using Fluent NHibernate's auto mapping conventions. I'd like to avoid writing all the entity classes by hand. (This is where LINQ to SQL and SubSonic are appealing)
Is it possib...
I'm just wondering about an auto-generated data layer vs. a manually-coded data layer. Which one is better?
...
Hello,
I am doing a compilers discipline at college and we must generate code for our invented language to any platform we want to. I think the simplest case is generating code for the Java JVM or .NET CLR. Any suggestion which one to choose, and which APIs out there can help me on this task? I already have all the semantic analysis don...
As a follow-up to my state machines as a C++-like language extension question, I'd like some more help.
My compiler has been extended to parse my state machine extensions and now I'm beginning semantic analysis and code generation. There is a description on this page.
Can anyone point me to good references on state machine optimization...
I am looking for a simple compiler that compiles a simple language, I need it to write a paper about it and to learn how compilers work, I am not looking for a sophisticated thing just a simple language (by simple I mean a small code because for example gcc is toooooo big). any help is appreciated.
...
Hi all,
I was wondering if there is a (java?) API parsing a WSDL and returning a structure of the WSDL as well as a description of the schema.
I know a tool like wsimport can generate the stubs for a java client but I would also like to create the graphical interfaces (java swing, html...) for sending and receiving some simple requests...
Possible Duplicate:
Whats the best code generator you have used
Code generators are awesome. Our team use 'bake' from CakePHP project and it saves us tons of time in CRUD actions and other generic stuff - but I want to move on further and I want to have your ideas.. What are your best code generators?
...
I'm trying to generate code from an XSD that has two complexTypes extending a common complexType. The inheritors have a common property named "value", which has different types. Of course I can't put it on my base type due to XSD rules. My intention is to polymorphically call the property on the base type which would invoke the right ...
Merry Christmas and Seasons Greetings all!
Quick question, looking for some recommendations. I have a site that will be requesting data from a database and displaying back to the user in a table. I am using jQuery (AJAX), php, and MySQL.
Where is the best place to generate the HTML for the table to display the data: should the php gen...
I am using .NET's RIA services/LinqToSql to expose my data to a Silverlight 3 client. In the database, an Item table has more than one association to another table, User. As an example, the Item table has both CreatedByUser and ModifiedByUser fields. When I use the RIA services wizard to create my DomainService (and metadata), I find ...
I'm currently working on a build tool where its come up that it would be desirable to support code generation. Currently the tool simply compiles any out of date C and C++ source files it finds in the current folder when it's invoked. There's some support for custom build targets, which could create files, but the tool will ignore them b...
Is it possible to write an Antlr code generation target for Erlang?
...
I'm using a Class Diagram in Visual Studio 2008 to create some classes with properties. I notice that when I create a new property in the Class Diagram, it comes out in code like this:
public DateTime DateBilled
{
get
{
throw new System.NotImplementedException();
}
set
{
}
}
Yuck. I'd much rather it e...
Hello,
I use code-generation for my data access layer and Doxygen for documentation. My problem is that I can't add Xml comments on the generated classes since they will be overwritten as soon as I re-generate the code. To be more precise I can add Xml comments to my custom methods (which are in a separate file as partial classes) but I...
We all use and like that to handle click event for button we can just click it and write a handler with server code in C# or vb.net.
But if we want to handle client event, javascript comes for help. And I wonder, how can we add designer ability to generate client handlers with javascript or some popular library like jquery.
So how I s...
Hi,
Please let me know open source product similar to rational software architect which automatically generates java base classes on completion of design. Thanks in advance.
...
As far as I know, many PHP frameworks use syntactic sugar to provide illusion of real functions. Some provide scaffolding/skeleton generation, which is limited. Syntactic sugar is slow and IDE/editors do not provide intellisense for Syntactic sugar functions/methods and member data. I'm wondering if there any tool/framework to generate P...
I'm using a pre-build event in Visual Studio to run a batch (.bat) file that performs some code generation (specifically, I'm running SqlMetal.exe to generate LinqToSql code).
Is the batch file guaranteed to finish before the compilation begins? Or does it run the batch asynchronously?
Bottom line: I want to make sure the new code gets...
Is it better for a compiler to compile code to assembly language, or output binary machine code directly?
Advantages of assembly language that I can think of off the top of my head: avoiding the need to learn the object file format, ease of debugging the backend.
Advantage of binary: faster compile speed. How significant is this? Assum...
I'm using the T4 toolbox's Linq to SQL model to generate code, and I'd like to add some serialization properties to the code that it generates. I'm not sure how to modify the generator to do this. Would I modify the actual .tt file that is installed with the toolbox? Or can I add something to the .tt file that gets created for me? Or do ...