Внимание!!! AdBlock блокирует показ некоторых скриншотов. Пожалуйста, все вопросы к разработчкикам
Автор
Сообщение
Galfimbul
Play for Scala
Год: 2013 Автор: Peter Hilton Издательство: Manning ISBN: 9781617290794 Язык: Английский Формат: PDF Качество: Изначально компьютерное (eBook) Интерактивное оглавление: Да Количество страниц: 328 Описание: Play for Scala shows you how to build Scala-based web applications using the Play 2 framework. This book starts by introducing Play through a comprehensive overview example. Then, you''ll look at each facet of a typical Play application both by exploring simple code snippets and by adding to a larger running example. Along the way, you''ll deepen your knowledge of Scala as a programming language and work with tools like Akka.
foreword preface acknowledgments about this book about the cover illustration Part 1 Getting started
1 Introduction to Play 2 1.1 What Play is 1.2 High-productivity web development 1.3 Why Scala needs Play 1.4 Type-safe web development—why Play needs Scala 1.5 Hello Play! 1.6 The console 1.6 Summary 2 Your first Play application 2.1 The product list page 2.2 Details page 2.3 Adding a new product 2.4 Summary
Part 2 Core functionality
3 Deconstructing Play application architecture 3.1 Drawing the architectural big picture 3.2 Application configuration—enabling features and changing defaults 3.3 The model—adding data structures and business logic 3.4 Controllers—handling HTTP requests and responses 3.5 View templates—formatting output 3.6 Static and compiled assets 3.7 Jobs—starting processes 3.8 Modules—structuring your application 3.9 Summary 4 Defining the application’s HTTP interface 4.1 Designing your application’s URL scheme 4.2 Controllers—the interface between HTTP and Scala 4.3 Routing HTTP requests to controller actions 4.4 Binding HTTP data to Scala objects 4.5 Generating HTTP calls for actions with reverse routing 4.6 Generating a response 4.7 Summary 5 Storing data—the persistence layer 5.1 Talking to a database 5.2 Creating the schema 5.3 Using Anorm 5.4 Using Squeryl 5.5 Caching data 5.6 Summary 6 Building a user interface with view templates 6.1 The why of a template engine 6.2 Type safety of a template engine 6.3 Template basics and common structures 6.4 Structuring pages: template composition 6.5 Reducing repetition with implicit parameters 6.6 Using LESS and CoffeeScript: the asset pipeline 6.7 Internationalization 6.8 Summary 7 Validating and processing input with the forms API 7.1 Forms—the concept 7.2 Forms basics 7.3 Creating and processing HTML forms 7.4 Validation and advanced mappings 7.5 Summary
Part 3 Advanced concepts
8 Building a single-page JavaScript application with JSON 8.1 Creating the single-page Play application 8.2 Serving data to a JavaScript client 8.3 Sending JSON data to the server 8.4 Validating JSON 8.5 Authenticating JSON web service requests 8.6 Summary 9 Play and more 9.1 Modules 9.2 Plugins 9.3 Deploying to production 9.4 Summary 10 Web services, iteratees, and WebSockets 10.1 Accessing web services 10.2 Dealing with streams using the iteratee library 10.3 WebSockets: Bidirectional communication with the browser 10.4 Using body parsers to deal with HTTP request bodies 10.5 Another way to look at iteratees 10.6 Summary
index 297 setstats
Внимание! AdBlock блокирует показ скриншотов, все вопросы к разработчикам )))