ASK me anything...
we'll search our titles
to answer your question

Code Generation in Action you own this product

Jack Herrington
  • June 2003
  • ISBN 9781930110977
  • 350 pages
filed under

placing your order...

Don't refresh or navigate away from the page.
eBook Receive a DRM-free PDF of your book.

Get One, Give One  
This December, for every book, video, or liveProject you buy, you’ll get a free second digital one to give away. You can use these free gifts for your friends, coworkers, or anyone you want to help, nudge, or encourage.
$19.79 $35.99 you save $16 (45%)
+ get a free copy to give away
Code Generation in Action (eBook) added to cart
continue shopping
go to cart

will open your eyes to the potential of code generation ... insightful and practical

John Lam, co-author of Essential XML
Look inside

This book is no longer available as a pBook. However, you can still purchase the eBook!


Code Generation in Action covers technique and implementation for building high-quality machine-generated code for today's complex applications frameworks. The book includes step-by-step instruction for building dozens of code generators of varying types. These generators build high-quality output that is consistent and maintainable. Code generation abstracts the design of the code so that multiple outputs can be created from a single model of the application functionality, which means development teams can focus on higher-level design work and strategic problems, while still meeting goals for maintaining production applications. The book covers techniques that range from simple code processors that handle common coding problems to more elaborate and complex generators that maintain entire application tiers.

about the book

Code Generation in Action covers building database access, user interface, remote procedure, test cases, and business logic code as well as code for other key system functions.

Although code generation is an engineering technique it also has a large impact on the engineering team and management. The book discusses the non-technical justifications for code generation in depth, and offers practical advice for making code generation succeed in any organization.

What's Inside:

  • Code generation models
  • Practical examples of database access generation
  • Architectures for generators for all of today's popular technologies
  • Insight into deployment issues

Direct examples are provided on a variety of platforms. These include Java/J2EE, Microsoft's ASP and ASP.NET, as well as Open Source solutions such as Perl, Python and PHP.

what's inside

  • Code generation basics
  • CG techniques and best practices
  • Patterns of CG design
  • How to deploy generators
  • Many example generators

Over his twenty years of development experience, Jack Herrington has shipped many software applications helped by code generation techniques.

Includes generators for

  • Database access
  • RPC
  • Unit tests
  • Documentation
  • Business logic
  • Data translation

about the reader

Who can benefit from this book:

  • Senior engineers looking for ways to improve their productivity and the quality of their work.
  • Systems architects who want to maintain their design decisions in abstract form and then generate code to match the design.
  • Product Managers and Project Managers who wish to understand the design principles and cultural benefits of code generation techniques.

about the author

Jack Herrington is a software engineer with 20 years of experience developing applications using a diverse set of languages and tools. He has shipped applications from scientific real-time applications to web applications for business. He is an expert in the use of code generation techniques from very simple code maintenance to code generators, which build entire tiers of functionality. The author lives in Union City, California.

FREE domestic shipping on orders of three or more print books

... an endless stream of ideas on how to automate the repetitive aspects of programming

Michael Lenaghan, Frogware Inc.

Like unit testing, once you try generative programming, you?ll never look back. This book will become a classic.

Richard Rodger, Jostraca
RECENTLY VIEWED