aspose file tools*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Head First Design Patterns Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Head First Design Patterns" Watch "Head First Design Patterns" New topic
Author

Head First Design Patterns

Sunder Ganapathy
Ranch Hand

Joined: Apr 01, 2003
Posts: 120
Hi Kathy / Bert,

In your book do you cover OO Principles like,
Liskov Substitution Principle,
Dependency Inversion Principle,
Interface Seggregation Principle etc.,

Is it possible to get the TOC .
Sunder Ganapathy
Ranch Hand

Joined: Apr 01, 2003
Posts: 120
Hi,

Is it possible to get TOC for HF Design Patterns also ?
Nicholas Cheung
Ranch Hand

Joined: Nov 07, 2003
Posts: 4982
In addition, I wanna ask when will the book come out, and will there any code examples, like SUN's blueprint book, that cover how to implement with certain patterns?

Nick


SCJP 1.2, OCP 9i DBA, SCWCD 1.3, SCJP 1.4 (SAI), SCJD 1.4, SCWCD 1.4 (Beta), ICED (IBM 287, IBM 484, IBM 486), SCMAD 1.0 (Beta), SCBCD 1.3, ICSD (IBM 288), ICDBA (IBM 700, IBM 701), SCDJWS, ICSD (IBM 348), OCP 10g DBA (Beta), SCJP 5.0 (Beta), SCJA 1.0 (Beta), MCP(70-270), SCBCD 5.0 (Beta), SCJP 6.0, SCEA for JEE5 (in progress)
Chengwei Lee
Ranch Hand

Joined: Apr 02, 2004
Posts: 884
I checked B&N, it says the book is coming out tomorrow. 22 Oct '04.


SCJP 1.4 * SCWCD 1.4 * SCBCD 1.3 * SCJA 1.0 * TOGAF 8
Nicholas Cheung
Ranch Hand

Joined: Nov 07, 2003
Posts: 4982
That is tomorrow?

However, the promotion comes on next year.

I wish there are some more codes that discuss how to implement and incorporate patterns with Java, especially some special patterns.

Nick
Bert Bates
author
Sheriff

Joined: Oct 14, 2002
Posts: 8829
    
    5
We've pinged Eric and Elizabeth about your questions

They should be along shortly to respond, but I do want to confirm that the HF Patterns book should be available sometime in the next 2-7 days! As we do this book stuff more, we learn more about it, and one thing we've learned is that getting the book from the printer to Amazon and bookstores is an inexact science at best... so short term predictions have to be taken with a large grain of salt! But what I can say for sure is that the book was completed several weeks ago and it's been at the printers for a while now


Spot false dilemmas now, ask me how!
(If you're not on the edge, you're taking up too much room.)
Elisabeth Robson
author
Ranch Hand

Joined: May 14, 2004
Posts: 173
    
    6
Hello all,

Lots of good questions about Head First Design Patterns! First, it will likely be in stores and available online the first week of November. There's a chance it will happen before, but you never know

The TOC is as follows:

Chapter 1: Intro to Design Patterns and the Strategy Pattern
Chapter 2: Observer Pattern
Chapter 3: Decorator Pattern
Chapter 4: Factory - including Factory Method Pattern and Abstract Factory Pattern
Chapter 5: Singleton Pattern
Chapter 6: Command Pattern
Chapter 7: Adapter and Facade Patterns
Chapter 8: Template Method Pattern
Chapter 9: Iterator and Composite Patterns
Chapter 10: State Pattern
Chapter 11: Proxy Pattern
Chapter 12: Combining Patterns - including MVC.
Chapter 13: Better Living Through Patterns - which includes information on how to read a "pattern catalog".
Appendix: very SHORT summaries of the rest of the GOF patterns not covered in the main text. These are less frequently used patterns, but we hope the appendix treatment gives you enough of an idea of what they are that you can look them up in a patterns catalog if you need to use them.

We do cover many principles, including:
* Encapsulate change
* Program to an interface, not an implementation
* Favor Composition over Inheritance
* Strive for Loosely Coupled designs between objects that interact
* Open Closed Principle
* Dependency Inversion Principle
* Principle of Least Knowledge
* Hollywood Principle: Don't call us, we'll call you
* One Class / One Responsibility

There are LOADS of code examples, at least one per chapter and sometimes many.

I hope this answers your questions - feel free to post more and I'll respond!

Thank you,

Elisabeth
[ October 21, 2004: Message edited by: Elisabeth Freeman ]

Co-Author of Head First JavaScript Programming
Nicholas Cheung
Ranch Hand

Joined: Nov 07, 2003
Posts: 4982
Thanks Bert.

I guess I need to wait for 1-2 months, even though the book is released within a week, due to the transportation.

Nick
Nicholas Cheung
Ranch Hand

Joined: Nov 07, 2003
Posts: 4982
Elisabeth,

What is the style of the code example?

Would they be focus on a particular pattern, especially discuss about style for coding such pattern?

Also, from the table of content, I found the flow is quite similar to the book Design Patterns.

Moreover, would those patterns that covered in SCWCD in this book using Web application examples?

Anyway, I am looking forward to read this book.
Rajan Chinna
Ranch Hand

Joined: Jul 01, 2004
Posts: 320
Does this book cover all patterns that were discussed in Core J2EE Patterns book along with code examples ?
Bert Bates
author
Sheriff

Joined: Oct 14, 2002
Posts: 8829
    
    5
Hey Rajan -

This book covers the 23 GoF patterns - not J2EE patterns...

Maybe we'll tackle the J2EE patterns soon

- Bert
Nicholas Cheung
Ranch Hand

Joined: Nov 07, 2003
Posts: 4982

This book covers the 23 GoF patterns - not J2EE patterns...

That's why the TOC is quite to the book Design Patterns.

Nick
Elisabeth Robson
author
Ranch Hand

Joined: May 14, 2004
Posts: 173
    
    6
Would they be focus on a particular pattern, especially discuss about style for coding such pattern?

Also, from the table of content, I found the flow is quite similar to the book Design Patterns.

Moreover, would those patterns that covered in SCWCD in this book using Web application examples?


We tried to keep the code examples very simple, while illustrating each pattern. We definitely do discuss the pros, cons and tradeoffs of various implementations of patterns. Since we focussed on the 23 GOF paterns, there isn't coverage of the web application patterns covered in SCWCD (although we do discuss MVC and Model 2), however, like Bert said, we're considering a J2EE patterns book at some point.

Elisabeth
Nicholas Cheung
Ranch Hand

Joined: Nov 07, 2003
Posts: 4982
Thus, only MVC model has been discussed. Will there be any evaluation chapter available now?

Nick
Anselm Paulinus
Ranch Hand

Joined: Sep 05, 2003
Posts: 389
Hey guys:

Its time Head First authors think open source in order to give this technology additional push.

Elisabeth:
Have the pdf on the web for easy access and evaluation?
Bert Bates
author
Sheriff

Joined: Oct 14, 2002
Posts: 8829
    
    5
Hi Anselm,

I think that five years ago tech book writers probably made a lot of money, but as I recently posted, sales of Java books are down about 80% from five years ago. That's a pretty big drop!

I'm not opposed to open source, but given that each HF title takes many months to create, how do you propose the authors get compensated? This is really a sincere question!

Thanks,

Bert
Kathy Sierra
Cowgirl and Author
Ranch Hand

Joined: Oct 10, 2002
Posts: 1572
Originally posted by Anselm Paulinus:
Its time Head First authors think open source in order to give this technology additional push.


We're already starving as it is

But we do try to help people as much as possible, and we'll put articles from the book and probably a few sample chapter pieces up on the web very soon.

Many people do not realize that even a best-selling computer book today is a VERY difficult way to pay the rent. As Bert said, computer books sell only a small fraction of what they did during the bubble, and we did not get into this until *after* the big drop. We have to take other contract projects to stay alive just so that we can continue to do the books, which we dearly love working on. The feedback that we get tells us that we *are* helping at least some people learn in an easier way, and that is why we will keep doing it But we still have to eat...

cheers,
Kathy
Nicholas Cheung
Ranch Hand

Joined: Nov 07, 2003
Posts: 4982
We understand that, Kathy and Bert.

Nowadays, life is much more difficult, especially when we worked in IT field.

Let's work hard together.

Nick
Elisabeth Robson
author
Ranch Hand

Joined: May 14, 2004
Posts: 173
    
    6

Elisabeth:
Have the pdf on the web for easy access and evaluation?


We can't put the PDF on the web; see Kathy and Bert's responses regarding "open source" of Head First. However, the book will be out and available for evaluation VERY soon and we look forward to your feedback.

I'm interested to hear more ideas from javaranchers on the open source idea.

Elisabeth
Narasimha Rao B.
Ranch Hand

Joined: Aug 26, 2002
Posts: 205
Is Indian print of this book is available?

Thanks..


Narasimha
Kathy Sierra
Cowgirl and Author
Ranch Hand

Joined: Oct 10, 2002
Posts: 1572
Howdy -- well, with the servlets book, it seems like the Indian edition was out almost at the same time as the US version, so... I expect that the Indian version will be out very soon. The book is now in the same status the servlets book was a few weeks ago; it is sitting in trucks and warehouses waiting to be shipped from Amazon and make its way into bookstore shelves here.

I would estimate that it will be shipping to customers in the US in the next week or so, and the Indian edition will probably be out in the next 3-4 weeks, or sooner.

cheers,
Kathy
Paul Croarkin
Ranch Hand

Joined: Sep 30, 2004
Posts: 106
Any plans for an Architecture book?

I love Head First Servlets and JSP.

Did you ever read the Little Lisper? Like your books -- funny and helped re-inforce material through repetition without being boring.


Thanks,<br /> <br />Paul Croarkin<br />SCEA 5, SCWCD, SCJP
Elisabeth Robson
author
Ranch Hand

Joined: May 14, 2004
Posts: 173
    
    6

Did you ever read the Little Lisper? Like your books -- funny and helped re-inforce material through repetition without being boring.


Yes, we have read the Little Lisper, the Little Schemer, the Seasoned Schemer - definitely a source of inspiration for us. In fact, in Chapter 5 of Head First Design Patterns, you will find a couple of pages that will look familiar

Elisabeth
Elisabeth Robson
author
Ranch Hand

Joined: May 14, 2004
Posts: 173
    
    6
HFDP is shipping from Amazon.com and B&N (among others).
Jerzi Deflanax
Ranch Hand

Joined: Aug 11, 2003
Posts: 35
Is the book oriented to swing (like an older one) or it uses console or web examples?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Head First Design Patterns