README.md 3.43 KB
Newer Older
O'Reilly Media, Inc. committed
1 2
## Example files for the title:  
	  
Dan Fauxsmith committed
3
# Head First Design Patterns
O'Reilly Media, Inc. committed
4 5 6
	  
[![Head First Design Patterns, by Bert Bates](http://akamaicovers.oreilly.com/images/9780596007126/cat.gif)](https://www.safaribooksonline.com/library/view/title/0596007124//)
	  
Dan Fauxsmith committed
7 8 9 10 11 12 13 14
# Head First Design Patterns (2014 update)

The code for Head First Design Patterns has been updated to be compatible with Java 8. This new code accompanies an update for the book, released in July, 2014.

Download the code and compile and run from the command line, or load the code into project in Eclipse (Kepler, with the Java 8 beta patch).

https://wiki.eclipse.org/JDT/Eclipse_Java_8_Support_For_Kepler

Dan Fauxsmith committed
15
# Book code and downloads
Dan Fauxsmith committed
16

Dan Fauxsmith committed
17
* Download the Java code [here](https://resources.oreilly.com/examples/9780596007126/blob/master/examples/HeadFirstDesignPatterns_code102507.zip) (zip file). The source files are in the src directory and the class files are in the bin directory. 
Dan Fauxsmith committed
18
* Download the MVC song [here](http://csl.ensm-douai.fr/noury/20#mp3).
Dan Fauxsmith committed
19
* Download [README.txt](https://resources.oreilly.com/examples/9780596007126/blob/master/examples/README.txt). This has all the command line run commands for each application, as well as helpful comments. 
Dan Fauxsmith committed
20
* Download the [heatindex.txt](https://resources.oreilly.com/examples/9780596007126/blob/master/examples/heatindex.txt) file containing the heat index formula for the Weather Station in chapter 2.
Dan Fauxsmith committed
21 22
* Download the [test.txt](https://resources.oreilly.com/examples/9780596007126/blob/master/examples/test.txt) file for chapter 3. 
* If you are using ant to compile the java files, you can download the [build.xml](https://resources.oreilly.com/examples/9780596007126/blob/master/examples/build.txt) file. (Make sure you name this file "build.xml" to use it with ant.)
Dan Fauxsmith committed
23
* Download the code examples in C# [here](https://resources.oreilly.com/examples/9780596007126/blob/master/examples/HeadFirstDesignPatternsInCSharp.zip) (hosted and supported by [Mark McFadden](http://www.msquaredweb.com/DesignPatterns)).
Dan Fauxsmith committed
24
* Download the code examples in C++ here (created and supported by Glenn Puchtel).
Dan Fauxsmith committed
25 26

# Disclaimer
Dan Fauxsmith committed
27

O'Reilly Media, Inc. committed
28 29 30 31 32 33 34 35 36
The following applies to example files from material published by O’Reilly Media, Inc. Content from other publishers may include different rules of usage. Please refer to any additional usage rights explained in the actual example files or refer to the publisher’s website.
	  
O'Reilly books are here to help you get your job done. In general, you may use the code in O'Reilly books in your programs and documentation. You do not need to contact us for permission unless you're reproducing a significant portion of the code. For example, writing a program that uses several chunks of code from our books does not require permission. Answering a question by citing our books and quoting example code does not require permission. On the other hand, selling or distributing a CD-ROM of examples from O'Reilly books does require permission. Incorporating a significant amount of example code from our books into your product's documentation does require permission.
	  
We appreciate, but do not require, attribution. An attribution usually includes the title, author, publisher, and ISBN.
	  
If you think your use of code examples falls outside fair use or the permission given here, feel free to contact us at <permissions@oreilly.com>.
	  
Please note that the examples are not production code and have not been carefully tested. They are provided "as-is" and come with no warranty of any kind.