• Complain

Nilanjan Raychaudhuri - Scala in Action

Here you can read online Nilanjan Raychaudhuri - Scala in Action full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. year: 2013, publisher: Manning Publications, genre: Computer. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:

Romance novel Science fiction Adventure Detective Science History Home and family Prose Art Politics Computer Non-fiction Religion Business Children Humor

Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.

Nilanjan Raychaudhuri Scala in Action

Scala in Action: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "Scala in Action" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

Summary

Scala in Action is a comprehensive tutorial that introduces Scala through clear explanations and numerous hands-on examples. Because Scala is a rich and deep language, it can be daunting to absorb all the new concepts at once. This book takes a how-to approach, explaining language concepts as you explore familiar programming challenges that you face in your day-to-day work.

About the Technology

Scala runs on the JVM and combines object-orientation with functional programming. Its designed to produce succinct, type-safe code, which is crucial for enterprise applications. Scala implements Actor-based concurrency through the amazing Akka framework, so you can avoid Javas messy threading while interacting seamlessly with Java.

About this Book

Scala in Action is a comprehensive tutorial that introduces the language through clear explanations and numerous hands-on examples. It takes a how to approach, explaining language concepts as you explore familiar programming tasks. Youll tackle concurrent programming in Akka, learn to work with Scala and Spring, and learn how to build DSLs and other productivity tools. Youll learn both the language and how to use it.

Experience with Java is helpful but not required. Ruby and Python programmers will also find this book accessible.

Whats Inside

  • A Scala tutorial
  • How to use Java and Scala open source libraries
  • How to use SBT
  • Test-driven development
  • Debugging
  • Updated for Scala 2.10

Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.

About the Author

Nilanjan Raychaudhuri is a skilled developer, speaker, and an avid polyglot programmer who works with Scala on production systems.

Table of Contents

    PART 1 SCALA: THE BASICS
  1. Why Scala?
  2. Getting started

  3. OOP in Scala

  4. Having fun with functional data structures

  5. Functional programming
  6. PART 2 WORKING WITH SCALA
  7. Building web applications in functional style

  8. Connecting to a database

  9. Building scalable and extensible components

  10. Concurrency programming in Scala

  11. Building confidence with testing
  12. PART 3 ADVANCED STEPS
  13. Interoperability between Scala and Java
  14. Scalable and distributed applications using Akka

Nilanjan Raychaudhuri: author's other books


Who wrote Scala in Action? Find out the surname, the name of the author of the book and a list of all author's works by series.

Scala in Action — read online for free the complete book (whole text) full work

Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "Scala in Action" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.

Light

Font size:

Reset

Interval:

Bookmark:

Make
Scala in Action
Nilanjan Raychaudhuri

Scala in Action - image 1

Copyright

For online information and ordering of this and other Manning books, please visit www.manning.com. The publisher offers discounts on this book when ordered in quantity. For more information, please contact

Special Sales Department Manning Publications Co. 20 Baldwin Road PO Box 261 Shelter Island, NY 11964 Email: orders@manning.com

2013 by Manning Publications Co. All rights reserved.

No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by means electronic, mechanical, photocopying, or otherwise, without prior written permission of the publisher.

Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in the book, and Manning Publications was aware of a trademark claim, the designations have been printed in initial caps or all caps.

Picture 2 Recognizing the importance of preserving what has been written, it is Mannings policy to have the books we publish printed on acid-free paper, and we exert our best efforts to that end. Recognizing also our responsibility to conserve the resources of our planet, Manning books are printed on paper that is at least 15 percent recycled and processed without the use of elemental chlorine.

Picture 3Manning Publications Co.20 Baldwin RoadPO Box 261Shelter Island, NY 11964Development editor: Cynthia KaneTechnical Proofreaders: Ivan Kirkpatrick, Clint CombsCopyeditor: Corbin CollinsProofreader: Elizabeth MartinTypesetter: Dottie MarsicoCover designer: Marija Tudor

ISBN 9781935182757

Printed in the United States of America

1 2 3 4 5 6 7 8 9 10 MAL 18 17 16 15 14 13

Brief Table of Contents
Table of Contents
Foreword

Youre standing in front of a huge, steep wall of rock. Your neck is straining as you bend your head back as far as it will go to take it all in. If you squint, you can barely see something moving around at the top. Theres probably some really good stuff up there. Youve heard from people you trust that its worth climbing this wall. But, youre damned sure going to hurt yourself on the way up. You can already see some of the jagged edges jutting out. And what if it turns out that you dont like what you see when you get there?

Learning difficult things is like thisand make no mistake: Scala is difficult to learn. And you may very well not like what you see when you get to the top. Id guess that only a small fraction of developers learning a language like Scala ever put it to use. But its almost always the climb that makes a challenge worth the effort. Scala is a lot to chew on. Its got what seems way too many features. Its going to appear, at least initially, overdesigned. Youre going to hurt yourself on the way.

By the time you reach the top, youll understand why those features exist, how they make your Scala programs better, and, more important, how they make you a more effective programmer. Youll still be sore from the bumps along the way but that pain will help you remember the lessons learned. You may even find yourself happily and productively working full-time in Scala for years to come!

As worthwhile as a journey like this may be, you dont want to climb a mountain this high alone, if you can help it. When covering unfamiliareven alienterritory you want a guide who can make it look easy. Thats Nilanjan Raychaudhuri. He has a way of putting people at ease when describing complex subjects. Scala itself isnt that complexits really just a bunch of simple pieces that join to form a deceptively capable whole. Nilanjan has a talent for making us believe that those pieces really are simple and are there for unearthing the underlying principles that bind them together. Indeed, even for the nuts and bolts of installation, configuration, and project compilation, reading this book is like having an experienced mentor accompany you every step of the way.

Some of the concepts in Scala in Action are going to be more foreign than others. When you hit these bumps, take your time. Musicians dont become great by playing the songs they know over and over. Elite athletes dont consistently stay in their comfort zones. Its the jagged edges that improve us.

If you approach this climb properly, youll reach the top sharper, more open-minded, and, best of all, less afraid.

C HAD F OWLER

A UTHOR , S PEAKER , AND

P ROGRAMMING L IFESTYLE E NGINEER

Preface

Why write Scala in Action when there are plenty of other Scala books on the market? What sets this book apart?

Scala in Action targets developers who not only want to learn the language but also want to build real-world applications using Scala. This book, in other words, covers not only the language and its latest features but also its ecosystem. My goal was to pack a sufficient number of real-world examples along with the right mix of theory so readers can easily become comfortable with the language.

Scala is a feature-rich language and it is not possible to cover all of its features in one book, at least one of a reasonable size. For that reason, I deliberately avoided some of the more advanced features of Scala. I encourage you to think of this book as your first on Scala, a foundation on which to build, before you dive into the more advanced features Scala has to offer.

I had a great time writing this book and I hope you have a great time learning this new and exciting language. I know you had a choice when it comes to Scala books; thank you for choosing this one.

Acknowledgments

First I thank Martin Ordesky, the creator of Scala, for his thoughtful creation, which takes language design to the next level. Without his work, this book would not exist.

I also thank all of the members of the Scala community. Without their help and comments, I never could have imagined writing this book.

At Manning, I give my thanks to Marjan Bace, Mike Stephens, my editors Cynthia Kane and Katharine Osborne for helping me improve my writing, and the production team of Corbin Collins, Elizabeth Martin, Dottie Marsico, Mary Piergies, Toma Mulligan, and Janet Vail. Special thanks go to Ivan Kirkpatrick and Clint Combs, my technical proofreaders, for their in-depth feedback on the text and the code.

Numerous reviewers read the book at various stages of its development and offered helpful comments and criticisms, and I acknowledge them here: Alexandre Alves, Andrew Rhine, Andy Dingley, Ben Hall, Cheryl Jerozal, Dan Dobrin, Daniel Bretoi, Dave Pawson, David Greco, Dennis Leung, Edmon Begoli, Eric Weinberg, Marco Ughetti, Mark Needham, Michael Smolyak, Peter Crosbie, Peter Thomas, Robert MacGregor, and Tom Belunis.

Thanks also to the readers of Mannings Early Access Program (MEAP). Their corrections and comments on the manuscript as it was being written were invaluable.

I extend a special thanks to Lutz Hankewitz for his help during the writing process. Without his thoughtful feedback, this book would have been incomplete. Special thanks also to Chad Fowler for contributing the foreword and for endorsing my work.

Last but definitely not least, I would like to thank my wife Manisha for her support and patience as I spent countless weekends working on this book while she took care of the family without any complaints.

Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «Scala in Action»

Look at similar books to Scala in Action. We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.


Reviews about «Scala in Action»

Discussion, reviews of the book Scala in Action and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.