Tips and Tricks
A place to store useful info I don't want to lose



Subscribe to "Tips and Tricks" in Radio UserLand.

Click to see the XML version of this web page.

Click here to send an email to the editor of this weblog.
 

 

 

   Code generation links.
I spent some time this evening googling to see who else is talking about code generation.
This first article by Matt Stephens is a very good overview of the problem space. He motivates the problem well, and motivates why code generation is a good fit. In particular, he spends tie talking about generating the data access layer of an application, an area that I often see as being some of the "low hanging fruit" for code generation. Unfortunately, Matt doesn't provide any concrete examples of code generation in action, which makes his paper feels a bit too abstract.
Next, I found an article that talks about generating code using XSLT. Jeff Ryan walks through a fairly complete sample where he builds a JavaBean component using XML and XSLT. Christian Georgescu wrote a similar article in the C/C++ Users Journal where he talks about generating C++ code from XML and XSLT. I like Christian's motivation part of his article.
Based on my experience, writing a code generator in XSLT is difficult since the syntax of XSLT tends to obscure what the generated code looks like. Maintaining an XSLT-based code generator would be difficult for non-trivial applications. The thing that I really like about gslgen is that the syntax of the code generator is very clean and simplistic. Over the next week or so, I'll publish a few sample code generation scripts using gslgen to illustrate the utility of the technique.[IUnknown.com: John Lam's Weblog on Software Development]

   Rechargable battery ur-reference. An amazing reference guide to rechargable batteries, exhaustive and deep without being incomprehensible to non-engineers. Link Discuss (via Gizmodo) [Boing Boing Blog]

   The big list.. This is a great list of .NET tools and resources... http://dotnetweblogs.com/FMARGUERIE/Story/4139.aspx [via ShowUsYour-Blog!] This is good enough to parrot, as-is. A lot of these tools are also listed here.[Sean 'Early' Campbell & Scott 'Adopter' Swigart's Radio Weblog]

   .NET Tools Links. I just stumbled across a great list of .NET Tools that Fabrice put together.[ScottGu's Blog]


Click here to visit the Radio UserLand website. © Copyright 2003 Eric Hartwell.
Last update: 5/7/2003; 7:14:06 AM.
This theme is based on the SoundWaves (blue) Manila theme.

April 2003
Sun Mon Tue Wed Thu Fri Sat
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30      
Mar   May


"Data! data! data!" he cried impatiently. "I can't make bricks without clay."
— Sherlock Holmes to Dr. Watson in "The Adventure of the Copper Beeches" by Arthur Conan Doyle. 


"I like deadlines," cartoonist Scott Adams once said. "I especially like the whooshing sound they make as they fly by."


"There is nothing like that feeling of spending days and days banging your head against a wall trying to solve a programming problem then suddenly finding that one tiny obscure and seemingly unrelated piece of the puzzle that unlocks the solution. Oh yeah!"

- Chris Maunder, CodeProject Newsletter 28 Jan 2002


"Management at eSnipe, which is me, is also feeling the pain of the 2002 bear market. So rather than pout about it, I bought some stuff on eBay that I really didn’t need, but made me feel better."

- Tom Campbell, president of eSnipe