Design Patterns

Design patterns have their basis in the work of an architect who designed a language for encoding knowledge of the design and construction of buildings (Alexander et al. 1977; Alexander 1979). The knowledge is described in terms of patterns that capture b

  • PDF / 9,958,929 Bytes
  • 324 Pages / 439.43 x 683.15 pts Page_size
  • 107 Downloads / 257 Views

DOWNLOAD

REPORT


Scala Design Patterns

Patterns for Practical Reuse and Design

Scala Design Patterns

John Hunt

Scala Design Patterns Patterns for Practical Reuse and Design

Dr. John Hunt Department of Computer Science and Creative Technologies University of the West of England Bristol, United Kingdom

ISBN 978-3-319-02191-1 ISBN 978-3-319-02192-8 (eBook) DOI 10.1007/978-3-319-02192-8 Springer Cham Heidelberg New York Dordrecht London Library of Congress Control Number: 2013955031 © Springer International Publishing Switzerland 2013 This work is subject to copyright. All rights are reserved by the Publisher, whether the whole or part of the material is concerned, specifically the rights of translation, reprinting, reuse of illustrations, recitation, broadcasting, reproduction on microfilms or in any other physical way, and transmission or information storage and retrieval, electronic adaptation, computer software, or by similar or dissimilar methodology now known or hereafter developed. Exempted from this legal reservation are brief excerpts in connection with reviews or scholarly analysis or material supplied specifically for the purpose of being entered and executed on a computer system, for exclusive use by the purchaser of the work. Duplication of this publication or parts thereof is permitted only under the provisions of the Copyright Law of the Publisher’s location, in its current version, and permission for use must always be obtained from Springer. Permissions for use may be obtained through RightsLink at the Copyright Clearance Center. Violations are liable to prosecution under the respective Copyright Law. The use of general descriptive names, registered names, trademarks, service marks, etc. in this publication does not imply, even in the absence of a specific statement, that such names are exempt from the relevant protective laws and regulations and therefore free for general use. While the advice and information in this book are believed to be true and accurate at the date of publication, neither the authors nor the editors nor the publisher can accept any legal responsibility for any errors or omissions that may be made. The publisher makes no warranty, express or implied, with respect to the material contained herein. Printed on acid-free paper Springer is part of Springer Science+Business Media (www.springer.com)

This book is dedicated to my children.

Author’s Note

I would like to thank several people who have contributed to my understanding and appreciation for Scala. These people helped through discussions, explanations and as sounding boards. They include Paul Storer-Martin, George Ball, Ivan O’Mahony, Theo Mauger and Yan Tordoff. All the source code examples presented in this book can be found at Springer Extras (http://extras.springer.com) by searching for the book’s ISBN (978-3-319-02191-1).

vii

Contents

Part I

Introduction

1

Introduction ............................................................................................. 1.1 Introduction .............................................

Data Loading...