or
Sign in to turn on 1-Click ordering.
 
 
Express Checkout with PayPhrase
What's this? | Create PayPhrase
Sorry!
More Buying Choices
29 used & new from $7.40

Have one to sell? Sell yours here
 
   
Code Generation in Action
 
See larger image
 
Tell the Publisher!
I’d like to read this book on Kindle

Don’t have a Kindle? Get your Kindle here.
 
  

Code Generation in Action (Paperback)

~ (Author)
4.1 out of 5 stars  See all reviews (21 customer reviews)

List Price: $44.95
Price: $32.81 & this item ships for FREE with Super Saver Shipping. Details
You Save: $12.14 (27%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.

Only 2 left in stock--order soon (more on the way).

Want it delivered Wednesday, November 11? Choose One-Day Shipping at checkout. Details
17 new from $16.50 12 used from $7.40

Frequently Bought Together

Customers buy this book with The Talent Code: Greatness Isn't Born. It's Grown. Here's How. by Daniel Coyle

Code Generation in Action + The Talent Code: Greatness Isn't Born. It's Grown. Here's How.

Customers Who Bought This Item Also Bought

Programming in Scala: A Comprehensive Step-by-step Guide

Programming in Scala: A Comprehensive Step-by-step Guide

by Martin Odersky
4.9 out of 5 stars (18)  $31.49
Design Patterns in Ruby

Design Patterns in Ruby

by Russ Olsen
4.7 out of 5 stars (18)  $39.99
The Productive Programmer (Theory in Practice (O'Reilly))

The Productive Programmer (Theory in Practice (O'Reilly))

by Neal Ford
4.4 out of 5 stars (22)  $26.40
Programming Clojure (Pragmatic Programmers)

Programming Clojure (Pragmatic Programmers)

by Stuart Halloway
4.5 out of 5 stars (15)  $21.75
Real World Haskell

Real World Haskell

by Bryan O'Sullivan
4.6 out of 5 stars (22)  $43.18
Explore similar items

Editorial Reviews

Product Description

Developers using code generation are producing higher quality code faster than their hand-coding counterparts. And, they enjoy other advantages like maintainability, consistency and abstraction. Using the new CG methods they can make a change in one place, avoiding multiple synchronized changes you must make by hand.

Code Generation in Action shows you the techniques of building and using programs to write other programs. It shows how to avoid repetition and error to produce consistent, high quality code, and how to maintain it more easily. It demonstrates code generators for user interfaces, database access, remote procedure access, and much more.

Code Generation in Action is an A-to-Z guide covering building, buying, deploying and using code generators. If you are a software engineer-whether beginner or advanced-eager to become the "ideas person," the mover-and-shaker on your development team, you should learn CG techniques. This book will help you master them.

What's Inside:

  • Code generation basics
  • CG techniques and best practices
  • Patterns of CG design
  • How to deploy generators
  • Many example generators
Includes generators for:
  • Database access
  • RPC
  • Unit tests
  • Documentation
  • Business logic
  • Data translation
Over his twenty years of development experience, Jack Herrington has shipped many software applications helped by code generation techniques. He runs the Code Generation Network.


About the Author

Jack Herrington is a software engineer who has shipped applications as diverse as scientific real-time applications and 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. He lives in Union City, California.

Product Details

  • Paperback: 368 pages
  • Publisher: Manning Publications; Revised edition (July 1, 2003)
  • Language: English
  • ISBN-10: 1930110979
  • ISBN-13: 978-1930110977
  • Product Dimensions: 9.2 x 7.4 x 0.8 inches
  • Shipping Weight: 1.4 pounds (View shipping rates and policies)
  • Average Customer Review: 4.1 out of 5 stars  See all reviews (21 customer reviews)
  • Amazon.com Sales Rank: #209,710 in Books (See Bestsellers in Books)

    Popular in this category: (What's this?)

    #2 in  Books > Computers & Internet > Programming > Software Design, Testing & Engineering > Coding Theory

More About the Authors

Discover books, learn about writers, read author blogs, and more.

What Do Customers Ultimately Buy After Viewing This Item?


Suggested Tags from Similar Products

 (What's this?)
Be the first one to add a relevant tag (keyword that's strongly related to this product).
 
(17)
(12)
(11)

Your tags: Add your first tag
 

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

 

Customer Reviews

21 Reviews
5 star:
 (12)
4 star:
 (5)
3 star:
 (1)
2 star:
 (1)
1 star:
 (2)
 
 
 
 
 
Average Customer Review
4.1 out of 5 stars (21 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

 
10 of 10 people found the following review helpful:
5.0 out of 5 stars Good book with the right perspective and plenty of examples, October 30, 2003
By Zen Micro User (CA United States) - See all my reviews
The writing is precise and clear with annotated examples everywhere. Positioning and justification of various techniques is very compelling.

The author's classification of various forms of active code generation clearly elucidates the potential of Code Generation. Usage of templates for code generation is an excellent suggestion. Explanations on various code snippets and regex macros are simply second to none. Chapters 3, 4, 5 and 10 are a must read for every developer.

Having implemented a large-scale database conversion from IDMS to DB2 (schema, data dictionary, run time and programs) using home grown automated generators in the past, I really enjoyed reading Chapter 10. I completely agree with the assertions made there and I am impressed by the way the author addresses common concerns. This chapter documents a practical approach to ease the burden of writing repetitive code for code heavy frameworks. Schema Oriented Code Generation is a practical approach to code generation. I also find various references in this Chapter and others extremely valuable.

The author has shown that with sufficient metadata about a system, a significant portion of the repetitive coding tasks relating to data access, user interface, test and documentation can be automated in a consistent manner using custom code generators.

It is refreshing to see code snippets in Ruby. The author's selection of Ruby becomes self evident after reading the various code snippets.

I find this to be a very compelling book and a must have for architects and seasoned developers!

Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
11 of 13 people found the following review helpful:
5.0 out of 5 stars Finally a dedicated book on the subject, November 29, 2003
By Foti Massimo (Vezia (Switzerland)) - See all my reviews
(REAL NAME)   
I embraced code generators long time ago, so I was more than happy to finally found a dedicated book on the subject, since this is almost unexplored topic. The author clearly has a solid understanding of the topic, and manages to deliver a compelling book, with an excellent flow, where each chapter builds on previous concepts and ideas.
All the code snippets and regular expression samples are explained in a very clean, detailed way. I was pleased to see that many examples were non-trivial, covering concrete, real world, implementations. Herrington uses Ruby as an implementation language; you may like it or not, but what really matters here are the concepts, not the syntax and even if you don't know Ruby (like me), you will find the code pretty easy to follow.
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
9 of 11 people found the following review helpful:
4.0 out of 5 stars A good introduction to meta-programming., July 26, 2004
I had already written a few code generators when I saw this book and was hoping to find some insights into improving and extending what I had already done. The introduction gives a really nice overview of the designs patterns you can use. But this book is not about programming and the author assume you have the skills to implement the program you want to meta-program already.

The author illustrates his approach using a language I had never heard of before, Ruby, which is an OO scripting language that is quite compact and powerful and included is some basic tutorial info in the appendices to help you follow the examples. Overall a good book that I am glad I own and have read. I get the feeling I am going to go back to it many times.

Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)


Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews

1.0 out of 5 stars Useless
Two problems with this book:

1. The language -- Ruby -- is a strange choice. I've been writing and using code generators, in some form, for decades; I've used mmm... Read more
Published on February 23, 2007 by J Jacob Jingleheimer Schmidt

5.0 out of 5 stars Reader with another perspective
Prospective buyers that are discouraged by some of the negative reviews may be encouraged by a perspective I have gained from writing code that writes code:

--I... Read more
Published on August 19, 2005 by Dan Conroy

5.0 out of 5 stars Excellent for Java Developers!
This is the first book I found that looked worth purchasing on the topic of Code Generation. I live and breathe in the Java World, and this particular subject is increasingly... Read more
Published on January 9, 2005 by Danilo Gurovich

1.0 out of 5 stars Poor choice of tools; code not very useful
I have been doing language parsing and generation in C for several years: English, French, Japanese, Chinese, Korean. Still, I hoped to learn something new from CGIA for Java. Read more
Published on December 17, 2004 by John Broglio

5.0 out of 5 stars The Code Generation Bible
Essential reading for anyone interested in learning about code generation - written by one of the world's leading code generation gurus.
Published on September 14, 2004 by PJ Murray

3.0 out of 5 stars Ultimately Disappointing
There are things I like about this book, and the topic is certainly timely, but this falls down the same rabbit hole many books do: the examples are just paltry and do not add up... Read more
Published on March 1, 2004 by R. Williams

4.0 out of 5 stars Great introductory material on code generation
The introduction and motivation are quite compelling, though a bit more detail on the dismissal of passive code generators (i.e. Read more
Published on December 21, 2003 by Lars Bergstrom

2.0 out of 5 stars Not very useful when the examples are written in RUBY!!
There's a lot of why and what but almost no "how" here, unless you want to learn a language called Ruby. Read more
Published on December 12, 2003 by Robert H. Ruff

5.0 out of 5 stars Excellent work!
I'm interested in code generation. Currently I started a project to generate different types of code (Java, HTML, EJB Descriptors, Database schema, etc.. Read more
Published on December 10, 2003 by Giuseppe Naccarato

5.0 out of 5 stars Avoiding common mistakes to generate high-quality code
Expertly written by Jack Herrington (a software developer of twenty years' experience), Code Generation In Action is a competent and "user friendly" guidebook and... Read more
Published on November 13, 2003 by Midwest Book Review

Only search this product's reviews



Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 


Active discussions in related forums
Search Customer Discussions
Search all Amazon discussions
   




Product Information from the Amapedia Community

Beta (What's this?)


Look for Similar Items by Category


Look for Similar Items by Subject

 

Feedback

If you need help or have a question for Customer Service, contact us.
 Would you like to update product info or give feedback on images?
Is there any other feedback you would like to provide?

Your comments can help make our site better for everyone.


Your Recent History

 (What's this?)

After viewing product detail pages or search results, look here to find an easy way to navigate back to pages you are interested in.