Scalatra In Action

Advertisement



  scalatra in action: Scalatra in Action Ross Baker, David Hrycyszyn, Stefan Ollinger, 2016-05-04 Summary Scalatra in Actionintroduces the Scalatra framework and the Sinatra model. It covers the framework in its entirety, starting with concepts like request routing, input handling, actions, and HTTP responses, then proceeds to more advanced topics, such as data access, handling heavy load, asynchronicity, securing applications, designing and documenting RESTful APIs, and real-time web programming. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. About the Technology Scalatra is a lightweight Scala web framework similar to the popular Ruby-based Sinatra. It’s perfect for running real-time applications on multicore servers, and is a fast way to spin up web apps and build HTTP APIs for mobile, Backbone.js, and AngularJS apps. About the Book Scalatra in Actioncovers the Scalatra framework in its entirety, starting with concepts such as request routing, input handling, actions, and HTTP responses. For readers who don’t already know Scala, the book introduces the Scala language and sbt, the Simple Build Tool. You’ll learn how to use Scalatra’s powerful templating engine, Scalate. It also covers advanced topics such as data access, handling heavy load, asynchronicity, securing your application, designing RESTful APIs, and real-time web programming. What's Inside Make clean templates using Scalate Integrate with libraries that supplement Scalatra Write tests using Specs2 Integrate Scalatra with databases About the Reader Readers should be familiar with the basics of HTTP, REST, and web applications. No experience with Scalatra, Sinatra, or Scala is required. About the Authors Dave Hrycyszyn is technical director for a London-based agency specializing in agile software design and development. Stefan Ollinger is an active Scalatra contributor. Ross A. Baker is a Senior Cloud Engineer, a Scalate commiter, and organizer of the Indy Scala meetup. Table of Contents PART 1 INTRODUCTION TO SCALATRA Introduction A taste of Scalatra Routing Working with user input PART 2 COMMON DEVELOPMENT TASKS Handling JSON Handling files Server-side templating Testing Configuration, build, and deployment Working with a database PART 3 ADVANCED TOPICS Authentication Asynchronous programming Creating a RESTful JSON API with Swagger
  scalatra in action: Scalatra in Action Stefan Baker, 2016 Scalatra in Action introduces the Scalatra framework and the Sinatra model. It covers the framework in its entirety, starting with concepts like request routing, input handling, actions, and HTTP responses, then proceeds to more advanced topics, such as data access, handling heavy load, asynchronicity, securing applications, designing and documenting RESTful APIs, and real-time web programming. About the Technology Scalatra is a lightweight Scala web framework similar to the popular Ruby-based Sinatra. It's perfect for running real-time applications on multicore servers, and is a fast way to spin up web apps and build HTTP APIs for mobile, Backbone.js, and AngularJS apps. About the Book Scalatra in Action covers the Scalatra framework in its entirety, starting with concepts such as request routing, input handling, actions, and HTTP responses. For readers who don't already know Scala, the book introduces the Scala language and sbt, the Simple Build Tool. You'll learn how to use Scalatra's powerful templating engine, Scalate. It also covers advanced topics such as data access, handling heavy load, asynchronicity, securing your application, designing RESTful APIs, and real-time web programming. What's Inside Make clean templates using Scalate Integrate with libraries that supplement Scalatra Write tests using Specs2 Integrate Scalatra with databases About the Reader Readers should be familiar with the basics of HTTP, REST, and web applications. No experience with Scalatra, Sinatra, or Scala is required. About the Authors Dave Hrycyszyn is technical director for a London-based agency specializing in agile software design and development. Stefan Ollinger is an active Scalatra contributor. Ross A. Baker is a Senior Cloud Engineer, a Scalate committer, and an organizer of the Indy Scala meetup.
  scalatra in action: Rails 4 in Action Rebecca Skinner, Yehuda Katz, Ryan Bigg, Stephen Klabnik, 2015-08-30 Summary Rails 4 in Action is a comprehensive introduction to Rails that guides you hands-on through all you'll need to become a competent and confident Rails developer. In it, you'll master Rails 4 by developing a ticket-tracking application that includes RESTful routing, authentication and authorization, file uploads, email, and more. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. About the Book Rails is a full-stack, open source web framework powered by Ruby. Now in version 4, Rails is mature and powerful, and to use it effectively you need more than a few Google searches. You'll find no substitute for the guru's-eye-view of design, testing, deployment, and other real-world concerns that this book provides. Rails 4 in Action is a hands-on guide to the subject. In this fully revised new edition, you'll master Rails 4 by developing a ticket-tracking application that includes RESTful routing, authentication and authorization, file uploads, email, and more. Learn to design your own APIs and successfully deploy a production-quality application. You'll see test-driven development and behavior-driven development in action throughout the book, just like in a top Rails shop. What's Inside Creating your own APIs Using RSpec and Capybara Emphasis on test-first development Fully updated for Rails 4 About the Reader For readers of this book, a background in Ruby is helpful but not required. No Rails experience is assumed. About the Authors Ryan Bigg, Yehuda Katz, Steve Klabnik, and Rebecca Skinner are contributors to Rails and active members of the Rails community. Table of Contents Ruby on Rails, the framework Testing saves your bacon Developing a real Rails application Oh, CRUD! Nested resources Authentication Basic access control Fine-grained access control File uploading Tracking state Tagging Sending email Deployment Designing an API Rack-based applications
  scalatra in action: Lift in Action Tim Perrett, 2011-11-17 Summary Lift in Action is a step-by-step exploration of the Lift framework. It moves through the subject quickly using carefully crafted, well-explained examples that make you comfortable from the start. This book is written for developers who are new to both Scala and Lift. About the Technology Lift is a Scala-based web framework designed for extremely interactive and engaging web applications. It's highly scalable, production-ready, and will run in any servlet container. And Lift's convention-over-configuration approach lets you avoid needless work. About this Book Lift in Action is a step-by-step exploration of the Lift framework. It moves through the subject quickly using carefully crafted, well-explained examples that make you comfortable from the start. You'll follow an entertaining Travel Auction application that covers the core concepts and shows up architectural and development strategies. Handy appendixes offer a Scala crash course and guidance for setting up a good coding environment. This book is written for developers who are new to both Scala and Lift and covers just enough Scala to get you started. Purchase of the print book comes with an offer of a free PDF, ePub, and Kindle eBook from Manning. Also available is all code from the book. What's Inside Complete coverage of the Lift framework Security, maintainability, and performance Integration and scaling Covers Lift 2.x Table of Contents PART 1 GETTING STARTED Introducing Lift Hello Lift PART 2 APPLICATION TUTORIAL The auction application Customers, auctions, and bidding Shopping basket and checkout PART 3 LIFT IN DETAIL Common tasks with Lift WebKit SiteMap and access control HTTP in Lift AJAX, wiring, and Comet Persistence with Mapper Persistence with Record
  scalatra in action: Ext JS in Action Grgur Grisogono, Jacob Andresen, Jesus Garcia, 2014-01-29 Summary Ext JS in Action, Second Edition teaches Ext JS from the ground up. You'll start with a quick overview of the framework and then explore the core components by diving into complete examples, engaging illustrations, and crisp, straightforward explanations. You'll feel like you have an expert guide right at your elbow teaching you important Ext techniques and offering insight into its inner workings. Along the way, you'll learn the best practices for building and scaling full-featured web applications, including how to customize and build Ext widgets. Fully revised for Ext JS 4.0. About this Book Ext JS is a mature JavaScript web application framework that provides modern UI widgets and an advanced MVC architecture. It helps you manage tedious boilerplate and minimize hand-coded HTML and browser incompatibilities. Ext JS in Action, Second Edition starts with a quick overview of the framework and then explores the core components by diving into complete examples, engaging illustrations, and clear explanations. You'll feel like you have an expert guide at your elbow as you learn the best practices for building and scaling full-featured web applications. A working knowledge of JavaScript is assumed. No prior experience with Ext JS is required. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. What's Inside Building professional web apps with Ext JS Stamping out DOM fragments with templates Customizing and building Ext widgets Masterful UI design Fully revised for Ext JS version 4.0 About the Authors Jay Garcia is a well-known member of the Ext JS community and a contributor to the framework. He wrote Sencha Touch in Action. Grgur Grisogono founded SourceDevCon in London, UK and Split, Croatia. Jacob Andresen is a consultant specializing in large scale internet applications. Table of Contents PART 1 INTRODUCTION TO EXT JS 4.0 A framework apart DOM manipulation Components and containers PART 2 EXT JS COMPONENTS Core UI components Exploring layouts Forms in Ext JS The data store The grid panel Taking root with trees Drawing and charting Remote method invocation with Ext Direct Drag-and-drop PART 3 BUILDING AN APPLICATION Class system foundations Building an application
  scalatra in action: Scala in Action Nilanjan Raychaudhuri, 2013-04-08 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. It's 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 Java's 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. You'll tackle concurrent programming in Akka, learn to work with Scala and Spring, and learn how to build DSLs and other productivity tools. You'll 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. What's 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 Why Scala? Getting started OOP in Scala Having fun with functional data structures Functional programming PART 2 WORKING WITH SCALA Building web applications in functional style Connecting to a database Building scalable and extensible components Concurrency programming in Scala Building confidence with testing PART 3 ADVANCED STEPS Interoperability between Scala and Java Scalable and distributed applications using Akka
  scalatra in action: Elixir in Action Sasa Juric, 2019-01-03 Summary Revised and updated for Elixir 1.7, Elixir in Action, Second Edition teaches you how to apply Elixir to practical problems associated with scalability, fault tolerance, and high availability. Along the way, you'll develop an appreciation for, and considerable skill in, a functional and concurrent style of programming. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. About the Technology When you're building mission-critical software, fault tolerance matters. The Elixir programming language delivers fast, reliable applications, whether you're building a large-scale distributed system, a set of backend services, or a simple web app. And Elixir's elegant syntax and functional programming mindset make your software easy to write, read, and maintain. About the Book Elixir in Action, Second Edition teaches you how to build production-quality distributed applications using the Elixir programming language. Author Saša Jurić introduces this powerful language using examples that highlight the benefits of Elixir's functional and concurrent programming. You'll discover how the OTP framework can radically reduce tedious low-level coding tasks. You'll also explore practical approaches to concurrency as you learn to distribute a production system over multiple machines. What's inside Updated for Elixir 1.7 Functional and concurrent programming Introduction to distributed system design Creating deployable releases About the Reader You'll need intermediate skills with client/server applications and a language like Java, C#, or Ruby. No previous experience with Elixir required. About the Author Saša Jurić is a developer with extensive experience using Elixir and Erlang in complex server-side systems. Table of Contents First steps Building blocks Control flow Data abstractions Concurrency primitives Generic server processes Building a concurrent system Fault-tolerance basics Isolating error effects Beyond GenServer Working with components Building a distributed system Running the system
  scalatra in action: Spark in Action Jean-Georges Perrin, 2020-05-12 Summary The Spark distributed data processing platform provides an easy-to-implement tool for ingesting, streaming, and processing data from any source. In Spark in Action, Second Edition, you’ll learn to take advantage of Spark’s core features and incredible processing speed, with applications including real-time computation, delayed evaluation, and machine learning. Spark skills are a hot commodity in enterprises worldwide, and with Spark’s powerful and flexible Java APIs, you can reap all the benefits without first learning Scala or Hadoop. Foreword by Rob Thomas. About the technology Analyzing enterprise data starts by reading, filtering, and merging files and streams from many sources. The Spark data processing engine handles this varied volume like a champ, delivering speeds 100 times faster than Hadoop systems. Thanks to SQL support, an intuitive interface, and a straightforward multilanguage API, you can use Spark without learning a complex new ecosystem. About the book Spark in Action, Second Edition, teaches you to create end-to-end analytics applications. In this entirely new book, you’ll learn from interesting Java-based examples, including a complete data pipeline for processing NASA satellite data. And you’ll discover Java, Python, and Scala code samples hosted on GitHub that you can explore and adapt, plus appendixes that give you a cheat sheet for installing tools and understanding Spark-specific terms. What's inside Writing Spark applications in Java Spark application architecture Ingestion through files, databases, streaming, and Elasticsearch Querying distributed datasets with Spark SQL About the reader This book does not assume previous experience with Spark, Scala, or Hadoop. About the author Jean-Georges Perrin is an experienced data and software architect. He is France’s first IBM Champion and has been honored for 12 consecutive years. Table of Contents PART 1 - THE THEORY CRIPPLED BY AWESOME EXAMPLES 1 So, what is Spark, anyway? 2 Architecture and flow 3 The majestic role of the dataframe 4 Fundamentally lazy 5 Building a simple app for deployment 6 Deploying your simple app PART 2 - INGESTION 7 Ingestion from files 8 Ingestion from databases 9 Advanced ingestion: finding data sources and building your own 10 Ingestion through structured streaming PART 3 - TRANSFORMING YOUR DATA 11 Working with SQL 12 Transforming your data 13 Transforming entire documents 14 Extending transformations with user-defined functions 15 Aggregating your data PART 4 - GOING FURTHER 16 Cache and checkpoint: Enhancing Spark’s performances 17 Exporting data and building full data pipelines 18 Exploring deployment
  scalatra in action: R in Action Robert Kabacoff, 2015-03-03 R is a powerful language for statistical computing and graphics that can handle virtually any data-crunching task. It runs on all important platforms and provides thousands of useful specialized modules and utilities. This makes R a great way to get meaningful information from mountains of raw data. R in Action, Second Edition is a language tutorial focused on practical problems. Written by a research methodologist, it takes a direct and modular approach to quickly give readers the information they need to produce useful results. Focusing on realistic data analyses and a comprehensive integration of graphics, it follows the steps that real data analysts use to acquire their data, get it into shape, analyze it, and produce meaningful results that they can provide to clients. Purchase of the print book comes with an offer of a free PDF eBook from Manning. Also available is all code from the book.
  scalatra in action: Struts in Action (Covers Version 1.0 & 1.1): Building Web Applications with the Leading Java Framework Ted Husted Cedric Dumoulin, 2004-01-23 This book introduces you to Struts best practices so you can make your applications secure, robust, and maintainable. Techniques presented in this book have gone through the trial by fire of real-life enterprise development and deployment you can rely on them with confidence.· Basic recipes · Forms and form elements · Struts tag libraries· The Struts-Layout tag library· Validation within the Struts framework· Internationalization· Logging in, security, and guarding· Advanced recipes· Testing
  scalatra in action: Groovy in Action Cédric Champeau, Dierk Koenig, Hamlet D'Arcy, Paul King, 2015-06-03 Summary Groovy in Action, Second Edition is a thoroughly revised, comprehensive guide to Groovy programming. It introduces Java developers to the dynamic features that Groovy provides, and shows how to apply Groovy to a range of tasks including building new apps, integration with existing code, and DSL development. Covers Groovy 2.4. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. About the Technology In the last ten years, Groovy has become an integral part of a Java developer's toolbox. Its comfortable, common-sense design, seamless integration with Java, and rich ecosystem that includes the Grails web framework, the Gradle build system, and Spock testing platform have created a large Groovy community About the Book Groovy in Action, Second Edition is the undisputed definitive reference on the Groovy language. Written by core members of the Groovy language team, this book presents Groovy like no other can—from the inside out. With relevant examples, careful explanations of Groovy's key concepts and features, and insightful coverage of how to use Groovy in-production tasks, including building new applications, integration with existing code, and DSL development, this is the only book you'll need. Updated for Groovy 2.4. Some experience with Java or another programming language is helpful. No Groovy experience is assumed. What's Inside Comprehensive coverage of Groovy 2.4 including language features, libraries, and AST transformations Dynamic, static, and extensible typing Concurrency: actors, data parallelism, and dataflow Applying Groovy: Java integration, XML, SQL, testing, and domain-specific language support Hundreds of reusable examples About the Authors Authors Dierk König, Paul King, Guillaume Laforge, Hamlet D'Arcy, Cédric Champeau, Erik Pragt, and Jon Skeet are intimately involved in the creation and ongoing development of the Groovy language and its ecosystem. Table of Contents PART 1 THE GROOVY LANGUAGE Your way to Groovy Overture: Groovy basics Simple Groovy datatypes Collective Groovy datatypes Working with closures Groovy control structures Object orientation, Groovy style Dynamic programming with Groovy Compile-time metaprogramming and AST transformations Groovy as a static language PART 2 AROUND THE GROOVY LIBRARY Working with builders Working with the GDK Database programming with Groovy Working with XML and JSON Interacting with Web Services Integrating Groovy PART 3 APPLIED GROOVY Unit testing with Groovy Concurrent Groovy with GPars Domain-specific languages The Groovy ecosystem
  scalatra in action: DSLs in Action Debasish Ghosh, 2010-11-30 Your success—and sanity—are closer at hand when you work at a higher level of abstraction, allowing your attention to be on the business problem rather than the details of the programming platform. Domain Specific Languages—little languages implemented on top of conventional programming languages—give you a way to do this because they model the domain of your business problem. DSLs in Action introduces the concepts and definitions a developer needs to build high-quality domain specific languages. It provides a solid foundation to the usage as well as implementation aspects of a DSL, focusing on the necessity of applications speaking the language of the domain. After reading this book, a programmer will be able to design APIs that make better domain models. For experienced developers, the book addresses the intricacies of domain language design without the pain of writing parsers by hand. The book discusses DSL usage and implementations in the real world based on a suite of JVM languages like Java, Ruby, Scala, and Groovy. It contains code snippets that implement real world DSL designs and discusses the pros and cons of each implementation. Purchase of the print book comes with an offer of a free PDF, ePub, and Kindle eBook from Manning. Also available is all code from the book. What's Inside Tested, real-world examples How to find the right level of abstraction Using language features to build internal DSLs Designing parser/combinator-based little languages
  scalatra in action: Rust in Action Tim McNamara, 2021-09-07 This well-written book will help you make the most of what Rust has to offer. - Ramnivas Laddad, author of AspectJ in Action Rust in Action is a hands-on guide to systems programming with Rust. Written for inquisitive programmers, it presents real-world use cases that go far beyond syntax and structure. Summary Rust in Action introduces the Rust programming language by exploring numerous systems programming concepts and techniques. You'll be learning Rust by delving into how computers work under the hood. You'll find yourself playing with persistent storage, memory, networking and even tinkering with CPU instructions. The book takes you through using Rust to extend other applications and teaches you tricks to write blindingly fast code. You'll also discover parallel and concurrent programming. Filled to the brim with real-life use cases and scenarios, you'll go beyond the Rust syntax and see what Rust has to offer in real-world use cases. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. About the technology Rust is the perfect language for systems programming. It delivers the low-level power of C along with rock-solid safety features that let you code fearlessly. Ideal for applications requiring concurrency, Rust programs are compact, readable, and blazingly fast. Best of all, Rust’s famously smart compiler helps you avoid even subtle coding errors. About the book Rust in Action is a hands-on guide to systems programming with Rust. Written for inquisitive programmers, it presents real-world use cases that go far beyond syntax and structure. You’ll explore Rust implementations for file manipulation, networking, and kernel-level programming and discover awesome techniques for parallelism and concurrency. Along the way, you’ll master Rust’s unique borrow checker model for memory management without a garbage collector. What's inside Elementary to advanced Rust programming Practical examples from systems programming Command-line, graphical and networked applications About the reader For intermediate programmers. No previous experience with Rust required. About the author Tim McNamara uses Rust to build data processing pipelines and generative art. He is an expert in natural language processing and data engineering. Table of Contents 1 Introducing Rust PART 1 RUST LANGUAGE DISTINCTIVES 2 Language foundations 3 Compound data types 4 Lifetimes, ownership, and borrowing PART 2 DEMYSTIFYING SYSTEMS PROGRAMMING 5 Data in depth 6 Memory 7 Files and storage 8 Networking 9 Time and timekeeping 10 Processes, threads, and containers 11 Kernel 12 Signals, interrupts, and exceptions
  scalatra in action: Tuscany SCA in Action Simon Laws, Haleh Mahbod, Raymond Feng, Mark Combellack, 2011-02-11 Apache Tuscany is a free, open source project that helps users develop Service Oriented Architecture (SOA) solutions. It provides a lightweight infrastructure that implements Service Component Architecture (SCA) and provides seamless integration with other technologies. Tuscany in Action is a comprehensive, hands-on guide for developing enterprise applications using Apache Tuscany's lightweight SCA infrastructure. The book uses practical examples to demonstrate how to develop applications with the open source Tuscany SCA. Readers will learn how to model, compose, and manage applications. Detailed explanations of how to use the various features of Apache Tuscany for protocol handling and developing components are presented. Readers will also learn how to extend Apache Tuscany to support new programming environments and communication protocols. Purchase of the print book comes with an offer of a free PDF, ePub, and Kindle eBook from Manning. Also available is all code from the book.
  scalatra in action: ASP.NET AJAX in Action David Barkol, Alessandro Gallo, Rama Krishna Vavilala, 2007-08-31 Ajax has revolutionized the way users interact with web pages today.Gone are frustrating page refreshes, lost scroll positions andintermittent interaction with a web site. Instead, we have a newgeneration of fast, rich, and more intuitive web applications. TheASP.NET AJAX framework puts the power of Ajax into the hands of webdevelopers. ASP.NET AJAX, formerly called Atlas, is a new free frameworkfrom Microsoft designed to easily add Ajax features to ASP.NETapplications. With this technology, ASP.NET developers can easily buildmore interactive and highly-personalized web applications that workacross all most popular browsers. ASP.NET AJAX in Action is a fast-paced, example-rich tutorial designedfor ASP.NET web developers and written by ASP.NET AJAX expertsAlessandro Garbin Gallo, David Barkol, and Rama Krishna Vavilala. Thisbook introduces you to Ajax applications and to the ASP.NET AJAXtechnology. Beginners will appreciate the clear explanations of keyideas and terminology. Intermediate and advanced ASP.NET developers willfind a no-nonsense learning source and well-organized reference. ASP.NET AJAX in Action offers a rich set of examples and meticulousexplanations. The extensive code samples are accompanied by accurate andrigorous explanations of the concepts behind development with ASP.NETAJAX. In this book, you will discover how to use Microsoft Ajax Library Partial rendering with UpdatePanels Advanced client and server techniques Ajax Control Toolkit If you are a web developer looking to bring your web pages to life andto enhance the user experience, this book is for you. ASP.NET AJAX in Action will give you with the knowledge and tools youneed to more easily craft the next generation of Ajax applications. Withthe help of the Microsoft ASP.NET AJAX framework, Ajax development hasnever been easier and more instinctive for both client-script developersand ASP.NET developers alike. Purchase of the print book comes with an offer of a free PDF, ePub, and Kindle eBook from Manning. Also available is all code from the book.
  scalatra in action: Akka in Action Raymond Roestenburg, Rob Bakker, Rob Williams, 2016-09-30 Summary Akka in Action is a comprehensive tutorial on building message-oriented systems using Akka. The book takes a hands-on approach, where each new concept is followed by an example that shows you how it works, how to implement the code, and how to (unit) test it. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. About the Technology Akka makes it relatively easy to build applications in the cloud or on devices with many cores that efficiently use the full capacity of the computing power available. It's a toolkit that provides an actor programming model, a runtime, and required support tools for building scalable applications. About the Book Akka in Action shows you how to build message-oriented systems with Akka. This comprehensive, hands-on tutorial introduces each concept with a working example. You'll start with the big picture of how Akka works, and then quickly build and deploy a fully functional REST service out of actors. You'll explore test-driven development and deploying and scaling fault-tolerant systems. After mastering the basics, you'll discover how to model immutable messages, implement domain models, and apply techniques like event sourcing and CQRS. You'l also find a tutorial on building streaming applications using akka-stream and akka-http. Finally, you'l get practical advice on how to customize and extend your Akka system. What's Inside Getting concurrency right Testing and performance tuning Clustered and cloud-based applications Covers Akka version 2.4 About the Reader This book assumes that you're comfortable with Java and Scala. No prior experience with Akka required. About the Authors A software craftsman and architect, Raymond Roestenburg is an Akka committer. Rob Bakker specializes in concurrent back-end systems and systems integration. Rob Williams has more than 20 years of product development experience. Table of Contents Introducing Akka Up and running Test-driven development with actors Fault tolerance Futures Your first distributed Akka app Configuration, logging, and deployment Structural patterns for actors Routing messages Message channels Finite-state machines and agents System integration Streaming Clustering Actor persistence Performance tips Looking ahead
  scalatra in action: Struts 2 in Action Andrew Psaltis, Chad Michael Davis, 2008-05-01 The original Struts project revolutionized Java web development and its rapid adoption resulted in the thousands of Struts-based applications deployed worldwide. Keeping pace with new ideas and trends, Apache Struts 2 has emerged as the product of a merger between the Apache Struts and OpenSymphony WebWork projects, united in their goal to develop an easy-to-use yet feature-rich framework. Struts 2 represents a revolution in design and ease of use when compared to classic Struts. It adds exciting and powerful features such as a plugin framework, JavaServer Faces integration, and XML-free configuration. Struts 2 In Action introduces the Apache Struts 2 web application framework and shows you how to quickly develop professional, production-ready modern web applications. Written by Don Brown, one of the leading developers of Struts 2, Chad Davis, a passionate Struts 2 developer, along with Scott Stanlick, this book gently walks you through the key features of Struts 2 in example-driven, easy-to-digest sections. Struts 2 in Action delivers accurate, seasoned information that can immediately be put to work. This book is designed for working Java web developers-especially those with some background in Struts 1 or WebWork. The core content, covering key framework components such as Actions, Results, and Interceptors, includes new features like the annotation-based configuration options. You'll find chapters on Struts 2 plugins, FreeMarker, and migration from Struts 1 and WebWork 2. Finally, new topics such as the Ajax tags, Spring Framework integration, and configuration by convention give familiar subjects new depth. Purchase of the print book comes with an offer of a free PDF, ePub, and Kindle eBook from Manning. Also available is all code from the book.
  scalatra in action: Svelte and Sapper in Action Mark Volkmann, 2020-09-01 Svelte and Sapper in Action teaches you to design and build fast, elegant web applications. You’ll start immediately by creating an engaging Travel Packing app as you learn to create Svelte components and develop great UX. You’ll master Svelte’s unique state management model, use Sapper for simplified page routing, and take on modern best practices like code splitting, offline support, and server-rendered views. Summary Imagine web apps with fast browser load times that also offer amazing developer productivity and require less code to create. That’s what Svelte and Sapper deliver! Svelte pushes a lot of the work a frontend framework would handle to the compile step, so your app components come out as tight, well-organized JavaScript modules. Sapper is a lightweight web framework that minimizes application size through server-rendering front pages and only loading the JavaScript you need. The end result is more efficient apps with great UX and simplified state management. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. About the technology Many web frameworks load hundreds of “just-in-case” code lines that clutter and slow your apps. Svelte, an innovative, developer-friendly tool, instead compiles applications to very small bundles for lightning-fast load times that do more with less code. Pairing Svelte with the Sapper framework adds features for flexible and simple page routing, server-side rendering, static site development, and more. About the book Svelte and Sapper in Action teaches you to design and build fast, elegant web applications. You’ll start immediately by creating an engaging Travel Packing app as you learn to create Svelte components and develop great UX. You’ll master Svelte’s unique state management model, use Sapper for simplified page routing, and take on modern best practices like code splitting, offline support, and server-rendered views. What's inside - Creating Svelte components - Using stores for shared data - Configuring page routing - Debugging, testing, and deploying Svelte apps - Using Sapper for dynamic and static sites About the reader For web developers familiar with HTML, CSS, and JavaScript. About the author Mark Volkmann is a partner at Object Computing, where he has provided software consulting and training since 1996. Table of Contents PART 1 - GETTING STARTED 1 Meet the players 2 Your first Svelte app PART 2 - DEEPER INTO SVELTE 3 Creating components 4 Block structures 5 Component communication 6 Stores 7 DOM interactions 8 Lifecycle functions 9 Client-side routing 10 Animation 11 Debugging 12 Testing 13 Deploying 14 Advanced Svelte PART 3 - DEEPER INTO SAPPER 15 Your first Sapper app 16 Sapper applications 17 Sapper server routes 18 Exporting static sties with Sapper 19 Sapper offline support PART 4 - BEYOND SVELTE AND SAPPER 20 Preprocessors 21 Svelte Native
  scalatra in action: Tika in Action Jukka L. Zitting, Chris Mattmann, 2011-11-30 Summary Tika in Action is a hands-on guide to content mining with Apache Tika. The book's many examples and case studies offer real-world experience from domains ranging from search engines to digital asset management and scientific data processing. About the Technology Tika is an Apache toolkit that has built into it everything you and your app need to know about file formats. Using Tika, your applications can discover and extract content from digital documents in almost any format, including exotic ones. About this Book Tika in Action is the ultimate guide to content mining using Apache Tika. You'll learn how to pull usable information from otherwise inaccessible sources, including internet media and file archives. This example-rich book teaches you to build and extend applications based on real-world experience with search engines, digital asset management, and scientific data processing. In addition to architectural overviews, you'll find detailed chapters on features like metadata extraction, automatic language detection, and custom parser development. This book is written for developers who are new to both Scala and Lift and covers just enough Scala to get you started. Purchase of the print book comes with an offer of a free PDF, ePub, and Kindle eBook from Manning. Also available is all code from the book. What's Inside Crack MS Word, PDF, HTML, and ZIP Integrate with search engines, CMS, and other data sources Learn through experimentation Many examples This book requires no previous knowledge of Tika or text mining techniques. It assumes a working knowledge of Java. ========================================​== Table of Contents PART 1 GETTING STARTED The case for the digital Babel fish Getting started with Tika The information landscape PART 2 TIKA IN DETAIL Document type detection Content extraction Understanding metadata Language detection What's in a file? PART 3 INTEGRATION AND ADVANCED USE The big picture Tika and the Lucene search stack Extending Tika PART 4 CASE STUDIES Powering NASA science data systems Content management with Apache Jackrabbit Curating cancer research data with Tika The classic search engine example
  scalatra in action: Ant in Action Erik Hatcher, Steve Loughran, 2007-06-30 This second edition of a Manning bestseller has been revised and re-titled to fit the 'In Action' Series by Steve Loughran, an Ant project committer. Ant in Action introduces Ant and how to use it for test-driven Java application development. Ant itself is moving to v1.7, a major revision, at the end of 2006 so the timing for the book is right. A single application of increasing complexity, followed throughout the book, shows how an application evolves and how to handle the problems of building and testing. Reviewers have praised the book's coverage of large-projects, Ant's advanced features, and the details and depth of the discussion-all unavailable elsewhere. This is a major revision with the second half of the book completely new, including: How to Manage Big projects Library management Enterprise Java Continuous integration Deployment Writing new Ant tasks and datatypes Purchase of the print book comes with an offer of a free PDF, ePub, and Kindle eBook from Manning. Also available is all code from the book.
  scalatra in action: Istio in Action Christian E. Posta, Rinor Maloku, 2022-05-03 Solve difficult service-to-service communication challenges around security, observability, routing, and resilience with an Istio-based service mesh. Istio allows you to define these traffic policies as configuration and enforce them consistently without needing any service-code changes. In Istio in Action you will learn: Why and when to use a service mesh Envoy's role in Istio's service mesh Allowing North-South traffic into a mesh Fine-grained traffic routing Make your services robust to network failures Gain observability over your system with telemetry golden signals How Istio makes your services secure by default Integrate cloud-native applications with legacy workloads such as in VMs Reduce the operational complexity of your microservices with an Istio-powered service mesh! Istio in Action shows you how to implement this powerful new architecture and move your application-networking concerns to a dedicated infrastructure layer. Non-functional concerns stay separate from your application, so your code is easier to understand, maintain, and adapt regardless of programming language. In this practical guide, you'll go hands-on with the full-featured Istio service mesh to manage microservices communication. Helpful diagrams, example configuration, and examples make it easy to understand how to control routing, secure container applications, and monitor network traffic. Foreword by Eric Brewer. About the technology Offload complex microservice communication layer challenges to Istio! The industry-standard Istio service mesh radically simplifies security, routing, observability, and other service-to-service communication challenges. With Istio, you use a straightforward declarative configuration style to establish application-level network policies. By separating communication from business logic, your services are easier to write, maintain, and modify. About the book Istio in Action teaches you how to implement an Istio-based service mesh that can handle complex routing scenarios, traffic encryption, authorization, and other common network-related tasks. You'll start by defining a basic service mesh and exploring the data plane with Istio’s service proxy, Envoy. Then, you'll dive into core topics like traffic routing and visualization and service-to-service authentication, as you expand your service mesh to workloads on multiple clusters and legacy VMs. What's inside Comprehensive coverage of Istio resources Practical examples to showcase service mesh capabilities Implementation of multi-cluster service meshes How to extend Istio with WebAssembly Traffic routing and observability VM integration into the mesh About the reader For developers, architects, and operations engineers. About the author Christian Posta is a well-known architect, speaker, and contributor. Rinor Maloku is an engineer at Solo.io working on application networking solutions. ToC PART 1 UNDERSTANDING ISTIO 1 Introducing the Istio service mesh 2 First steps with Istio 3 Istio's data plane: The Envoy proxy PART 2 SECURING, OBSERVING, AND CONTROLLING YOUR SERVICE’S NETWORK TRAFFIC 4 Istio gateways: Getting traffic into a cluster 5 Traffic control: Fine-grained traffic routing 6 Resilience: Solving application networking challenges 7 Observability: Understanding the behavior of your services 8 Observability: Visualizing network behavior with Grafana, Jaeger, and Kiali 9 Securing microservice communication PART 3 ISTIO DAY-2 OPERATIONS 10 Troubleshooting the data plane 11 Performance-tuning the control plane PART 4 ISTIO IN YOUR ORGANIZATION 12 Scaling Istio in your organization 13 Incorporating virtual machine workloads into the mesh 14 Extending Istio on the request path
  scalatra in action: Grails in Action Peter Ledbrook, Glen Smith, 2014-07-24 Summary Grails in Action, Second Edition is a comprehensive introduction to Grails 2 focused on making you super-productive fast. In this totally revised new edition, you'll master Grails 2.3 core skills as you apply TDD techniques to developing a full-scale Twitter clone. Along the way you'll learn the latest single-page web app UI techniques, work with NoSQL backends, integrate with enterprise messaging, and implement a complete RESTful API for your services. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. About the Technology It may be time for you to stop reconfiguring, rewriting, and recompiling your Java web apps. Grails, a Groovy-powered web framework, hides all that busy work so you can concentrate on what your applications do, not how they're built. In addition to its famously intuitive dev environment and seamless integration with Spring and Hibernate, the new Grails 2.3 adds improved REST support, better protection against attacks from the web, and better dependency resolution. About the Book Grails in Action, Second Edition is a comprehensive introduction to Grails 2. In this totally revised edition you'll master Grails as you apply TDD techniques to a full-scale example (a Twitter clone). Along the way you'll learn single-page web app techniques, work with NoSQL back ends, integrate with enterprise messaging, implement a RESTful API ... and more. No Java or Groovy knowledge is required. Some web development and OOP experience is helpful. What's Inside Covers Grails 2.3 from the ground up Agile delivery and testing using Spock How to use and manage plugins Tips and tricks from the trenches About the Authors There's no substitute for experience: Glen Smith and Peter Ledbrook have been fixtures in the Grails community, contributing code, blogging, and speaking at conferences worldwide, since Grails 0.2. Table of Contents PART 1 INTRODUCING GRAILS Grails in a hurry The Groovy essentials PART 2 CORE GRAILS Modeling the domain 63 Creating the initial UI Retrieving the data you need Controlling application flow Services and data binding Developing tasty forms, views, and layouts PART 3 EVERYDAY GRAILS Building reliable applications Using plugins: just add water Protecting your application Exposing your app to other programs Single-page web applications (and other UI stuff) Understanding Spring and transactions PART 4 ADVANCED GRAILS Understanding events, messaging, and scheduling NoSQL and Grails Beyond compile, test, run Grails in the cloud BONUS ONLINE CHAPTERS Advanced GORM kung fu Developing plugins
  scalatra in action: Netty in Action Norman Maurer, Marvin Wolfthal, 2015-12-04 Summary Netty in Action introduces the Netty framework and shows you how to incorporate it into your Java network applications. You'll learn to write highly scalable applications without the need to dive into the low-level non-blocking APIs at the core of Java. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. About the Technology Netty is a Java-based networking framework that manages complex networking, multithreading, and concurrency for your applications. And Netty hides the boilerplate and low-level code, keeping your business logic separate and easier to reuse. With Netty, you get an easy-to-use API, leaving you free to focus on what's unique to your application. About the Book Netty in Action introduces the Netty framework and shows you how to incorporate it into your Java network applications. You will discover how to write highly scalable applications without getting into low-level APIs. The book teaches you to think in an asynchronous way as you work through its many hands-on examples and helps you master the best practices of building large-scale network apps. What's Inside Netty from the ground up Asynchronous, event-driven programming Implementing services using different protocols Covers Netty 4.x About the Reader This book assumes readers are comfortable with Java and basic network architecture. About the Authors Norman Maurer is a senior software engineer at Apple and a core developer of Netty. Marvin Wolfthal is a Dell Services consultant who has implemented mission-critical enterprise systems using Netty. Table of Contents PART 1 NETTY CONCEPTS AND ARCHITECTURE Netty-asynchronous and event-driven Your first Netty application Netty components and design Transports ByteBuf ChannelHandler and ChannelPipeline EventLoop and threading model Bootstrapping Unit testing PART 2 CODECS The codec framework Provided ChannelHandlers and codecs PART 3 NETWORK PROTOCOLS WebSocket Broadcasting events with UDP PART 4 CASE STUDIES Case studies, part 1 Case studies, part 2
  scalatra in action: Dart in Action Chris Buckett, 2013-01-15 Summary Dart in Action introduces Google's Dart language and provides techniques and examples showing how to use it as a viable replacement for Java and JavaScript in browser-based desktop and mobile applications. It begins with a rapid overview of Dart language and tools, including features like interacting with the browser, optional typing, classes, libraries, and concurrency with isolates. After you master the core concepts, you'll move on to running Dart on the server and creating single page HTML5 web applications. About the Technology Dart is a web programming language developed by Google. It has modern OO features, just like Java or C#, while keeping JavaScript's dynamic and functional characteristics. Dart applications are transpiled to JavaScript, and they run natively in Dart-enabled browsers. With production-quality libraries and tools, Dart operates on both the client and the server for a consistent development process. About this Book Dart in Action introduces the Dart language and teaches you to use it in browser-based, desktop, and mobile applications. Not just a language tutorial, this book gets quickly into the nitty-gritty of using Dart. Most questions that pop up while you're reading are answered on the spot! OO newbies will appreciate the gentle pace in the early chapters. Later chapters take a test-first approach and encourage you to try Dart hands-on. To benefit from this book you'll need experience with HTML and JavaScript?a Java or C# background is helpful but not required. Purchase of the print book comes with an offer of a free PDF, ePub, and Kindle eBook from Manning. Also available is all code from the book. What's Inside Dart from the ground up Numerous code samples and diagrams Creating single-page web apps Transitioning from Java, C#, or JavaScript Running Dart in the browser and on the server About the Author Chris Buckett builds enterprise-scale web applications. He runs Dartwatch.com and is an active contributor to the dartlang list. Includes numerous examples of core language features as well as more advanced HTML5 features.-;From the Foreword by Seth Ladd, Developer Advocate, Google Table of Contents PART 1 INTRODUCING DART Hello Dart Hello World with Dart tools Building and testing your own Dart app PART 2 CORE DART Functional first-class functions and closures Understanding libraries and privacy Constructing classes and interfaces Extending classes and interfaces Collections of richer classes Asynchronous programming with callbacks and futures PART 3 CLIENT-SIDE DART APPS Building a Dart web app Navigating offline data Communicating with other systems and languages PART 4 SERVER-SIDE DART Server interaction with files and HTTP Sending, syncing, and storing data Concurrency with isolates
  scalatra in action: Spark in Action Petar Zecevic, Marko Bonaci, 2016-11-26 Summary Spark in Action teaches you the theory and skills you need to effectively handle batch and streaming data using Spark. Fully updated for Spark 2.0. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. About the Technology Big data systems distribute datasets across clusters of machines, making it a challenge to efficiently query, stream, and interpret them. Spark can help. It is a processing system designed specifically for distributed data. It provides easy-to-use interfaces, along with the performance you need for production-quality analytics and machine learning. Spark 2 also adds improved programming APIs, better performance, and countless other upgrades. About the Book Spark in Action teaches you the theory and skills you need to effectively handle batch and streaming data using Spark. You'll get comfortable with the Spark CLI as you work through a few introductory examples. Then, you'll start programming Spark using its core APIs. Along the way, you'll work with structured data using Spark SQL, process near-real-time streaming data, apply machine learning algorithms, and munge graph data using Spark GraphX. For a zero-effort startup, you can download the preconfigured virtual machine ready for you to try the book's code. What's Inside Updated for Spark 2.0 Real-life case studies Spark DevOps with Docker Examples in Scala, and online in Java and Python About the Reader Written for experienced programmers with some background in big data or machine learning. About the Authors Petar Zečević and Marko Bonaći are seasoned developers heavily involved in the Spark community. Table of Contents PART 1 - FIRST STEPS Introduction to Apache Spark Spark fundamentals Writing Spark applications The Spark API in depth PART 2 - MEET THE SPARK FAMILY Sparkling queries with Spark SQL Ingesting data with Spark Streaming Getting smart with MLlib ML: classification and clustering Connecting the dots with GraphX PART 3 - SPARK OPS Running Spark Running on a Spark standalone cluster Running on YARN and Mesos PART 4 - BRINGING IT TOGETHER Case study: real-time dashboard Deep learning on Spark with H2O
  scalatra in action: Sails.js in Action Mike McNeil, Irl Nathan, 2017-02-09 Summary Sails.js in Action is a comprehensive guide to buildingenterprise-capable web applications using Node and Sails. Written by the creators of the Sails.js framework, this book carefully introduces each concept, technique, and tool with real-world examples and crystal clear explanations. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. About the Technology Sails makes professional web development a breeze. This instantly familiar MVC framework automatically handles the tedious application boilerplate, so you can concentrate on developing features and creating business value. You get powerful tools for rapid API development, task automation, an ORM, and easy integration with any web, mobile, or IoT frontend. And because you're using Node.js, it's JavaScript all the way down. About the Book Sails.js in Action is a comprehensive guide on how to build enterprise-capable web applications. Written by the creators of Sails.js, this book introduces each concept and technique with real-world examples and thorough explanations. As you read, you'll learn to build the backend of a typical web application while you explore real-time programming with WebSockets, security fundamentals, and best practices for building Sails/Node.js apps. What's Inside Creating the backend for a web, mobile, or IoT app Real-time programming with WebSockets User management, authentication, and password recovery Using Sails to autogenerate REST APIs Custom backend development and third-party API integrations About the Reader Readers should be comfortable with JavaScript and frontend web development. About the Author Mike McNeil is the creator of Sails.js. Irl Nathan is the producer of sailsCasts, a series focused on using Sails. Table of Contents Getting started First steps Using static assets Using the blueprint API Custom backend code Using models Custom actions Server-rendered views Authentication and sessions Policies and access control Refactoring Embedded data and associations Ratings, followers, and search Realtime with WebSockets Deployment, testing, and security
  scalatra in action: AngularJS in Action Lukas Ruebbelke, 2015-07-01 Summary AngularJS in Action covers everything you need to know to get started with the AngularJS framework. As you read, you'll explore all the individual components of the framework and learn how to customize and extend them. You'll discover the emerging patterns for web application architecture and tackle required tasks like communicating with a web server back-end. Along the way, you'll see AngularJS in action by building real world applications with thoroughly commented code. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. About the Technology AngularJS is a JavaScript-based framework that extends HTML, so you can create dynamic, interactive web applications in the same way you create standard static pages. Out of the box, Angular provides most of the functionality you'll need for basic apps, but you won't want to stop there. Intuitive, easy to customize, and test-friendly, Angular practically begs you to build more interesting apps. About the Book AngularJS in Action teaches you everything you need to get started with AngularJS. As you read, you'll learn to build interactive single-page web interfaces, apply emerging patterns like MVVM, and tackle key tasks like communicating with back-end servers. All examples are supported by clear explanations and illustrations along with fully annotated code listings. This book assumes you know at least some JavaScript. No prior exposure to AngularJS is required. What's Inside Get started with AngularJS Write your own components Best practices for application architecture Progressively build a full-featured application Covers Angular JS 1.3 Sample application updated to the latest version of Angular About the Author Lukas Ruebbelke is a full-time web developer and an active contributor to the AngularJS community. Table of Contents PART 1 GET ACQUAINTED WITH ANGULARJS Hello AngularJS Structuring your AngularJS applicationPART 2 MAKE SOMETHING WITH ANGULARJS Views and controllers Models and services Directives Animations Structuring your site with routes Forms and validations APPENDIXES Setting up Karma Setting up a Node.js server Setting up a Firebase server Running the app
  scalatra in action: GraphQL in Action Samer Buna, 2021-03-09 GraphQL in Action gives you the tools to get comfortable with the GraphQL language, build and optimize a data API service, and use it in a front-end client application. Summary Reduce bandwidth demands on your APIs by getting only the results you need—all in a single request! The GraphQL query language simplifies interactions with web servers, enabling smarter API queries that can hugely improve the efficiency of data requests. In GraphQL in Action, you'll learn how to bring those benefits to your own APIs, giving your clients the power to ask for exactly what they need from your server, no more, no less. Practical and example-driven, this book teaches everything you need to get started with GraphQL—from design principles and syntax right through to performance optimization. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. About the technology GraphQL APIs are fast, efficient, and easy to maintain. They reduce app latency and server cost while boosting developer productivity. This powerful query layer offers precise control over API requests and returns, making apps faster and less prone to error. About the book GraphQL in Action gives you the tools to get comfortable with the GraphQL language, build and optimize a data API service, and use it in a front-end client application. By working through set up, security, and error handling you'll learn to create a complete GraphQL server. You'll also unlock easy ways to incorporate GraphQL into your existing codebase so you can build simple, scalable data APIs. What's inside Define a GraphQL schema for relational and document databases Implement GraphQL types using both the schema language and object constructor methods Optimize GraphQL resolvers with data caching and batching Design GraphQL fragments that match UI components' data requirements Consume GraphQL API queries, mutations, and subscriptions with and without a GraphQL client library About the reader For web developers familiar with client-server applications. About the author Samer Buna has over 20 years of experience in software development including front-ends, back-ends, API design, and scalability. Table of Contents PART 1- EXPLORING GRAPHQL 1 Introduction to GraphQL 2 Exploring GraphQL APIs 3 Customizing and organizing GraphQL operations PART 2 - BUILDING GRAPHQL APIs 4 Designing a GraphQL schema 5 Implementing schema resolvers 6 Working with database models and relations 7 Optimizing data fetching 8 Implementing mutations PART 3 - USING GRAPHQL APIs 9 Using GraphQL APIs without a client library 10 Using GraphQL APIs with Apollo client
  scalatra in action: Rx.NET in Action Tamir Dresher, 2017-04-20 Summary Rx.NET in Action teaches developers how to build event-driven applications using the Reactive Extensions (Rx) library. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. About the Technology Modern applications must react to streams of data such as user and system events, internal messages, and sensor input. Reactive Extensions (Rx) is a .NET library containing more than 600 operators that you can compose together to build reactive client- and server-side applications to handle events asynchronously in a way that maximizes responsiveness, resiliency, and elasticity. About the Book Rx.NET in Action teaches developers how to build event-driven applications using the Rx library. Starting with an overview of the design and architecture of Rx-based reactive applications, you'll get hands-on with in-depth code examples to discover firsthand how to exploit the rich query capabilities that Rx provides and the Rx concurrency model that allows you to control both the asynchronicity of your code and the processing of event handlers. You'll also learn about consuming event streams, using schedulers to manage time, and working with Rx operators to filter, transform, and group events. What's Inside Introduction to Rx in C# Creating and consuming streams of data and events Building complex queries on event streams Error handling and testing Rx code About the Reader Readers should understand OOP concepts and be comfortable coding in C#. About the Author Tamir Dresher is a senior software architect at CodeValue and a prominent member of Israel's Microsoft programming community. Table of Contents PART 1 - GETTING STARTED WITH REACTIVE EXTENSIONS Reactive programming Hello, Rx Functional thinking in C# PART 2 - CORE IDEAS Creating observable sequences Creating observables from .NET asynchronous types Controlling the observer-observable relationship Controlling the observable temperature Working with basic query operators Partitioning and combining observables Working with Rx concurrency and synchronization Error handling and recovery APPENDIXES Writing asynchronous code in .NET The Rx Disposables library Testing Rx queries and operators
  scalatra in action: Learning Scala Jason Swartz, 2014-12-11 Why learn Scala? You don’t need to be a data scientist or distributed computing expert to appreciate this object-oriented functional programming language. This practical book provides a comprehensive yet approachable introduction to the language, complete with syntax diagrams, examples, and exercises. You’ll start with Scala's core types and syntax before diving into higher-order functions and immutable data structures. Author Jason Swartz demonstrates why Scala’s concise and expressive syntax make it an ideal language for Ruby or Python developers who want to improve their craft, while its type safety and performance ensures that it’s stable and fast enough for any application. Learn about the core data types, literals, values, and variables Discover how to think and write in expressions, the foundation for Scala's syntax Write higher-order functions that accept or return other functions Become familiar with immutable data structures and easily transform them with type-safe and declarative operations Create custom infix operators to simplify existing operations or even to start your own domain-specific language Build classes that compose one or more traits for full reusability, or create new functionality by mixing them in at instantiation
  scalatra in action: Phoenix in Action Geoffrey Lessel, 2019-04-26 Summary Phoenix is a modern web framework built for the Elixir programming language. Elegant, fault-tolerant, and performant, Phoenix is as easy to use as Rails and as rock-solid as Elixir's Erlang-based foundation. Phoenix in Action builds on your existing web dev skills, teaching you the unique benefits of Phoenix along with just enough Elixir to get the job done. Foreword by Sasa Juric, author of Elixir in Action, Second Edition. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. About the Technology Modern web applications need to be efficient to develop, lightning fast, and unfailingly reliable. Phoenix, a web framework for the Elixir programming language, delivers on all counts. Elegant and intuitive, Phoenix radically simplifies the dev process. Built for concurrency, Phoenix channels make short work of developing real-time applications. And as for reliability, Phoenix apps run on the battle-tested Erlang VM, so they're rock solid! About the Book Phoenix in Action is an example-based book that teaches you to build production-quality web apps. You'll handle business logic, database interactions, and app designs as you progressively create an online auction site. As you go, you'll build everything from the core components to the real-time user interactions where Phoenix really shines. What's inside Functional programming in a web environment An introduction to Elixir Database interactions with Ecto Real-time communication with channels About the Reader For web developers familiar with a framework like Rails or ASP.NET. No experience with Elixir or Phoenix required. About the Author Geoffrey Lessel is a seasoned web developer who speaks and blogs about Elixir and Phoenix. Table of Contents PART 1 - GETTING STARTED Ride the Phoenix Intro to Elixir A little Phoenix overview PART 2 - DIVING IN DEEP Phoenix is not your application Elixir application structure Bring in Phoenix Making changes with Ecto.Changeset Transforming data in your browser Plugs, assigns, and dealing with session data Associating records and accepting bids PART 3 - THOSE IMPORTANT EXTRAS Using Phoenix channels for real-time communication Building an API Testing in Elixir and Phoenix
  scalatra in action: API Management Brajesh De, 2017-03-17 Maximize the impact of your assets and business services by providing APIs for developers and other users. The journey described in this book starts with identifying business assets. As part of the API team, you then need to identify and define the requirements of traffic management, security, mediation, and orchestration. You also must define metrics for the analytics to measure the success of the overall API program. API documentation and the ease of developer onboarding also determine the success of the APIs. Finally, monetization of these APIs leads to revenue generation for the enterprise. Author De — an expert in building and managing API solutions — provides enterprise architects, designers, and technologists with insight into the world of APIs and the various technical aspects of building and managing an effective API management solution. API Management: Developing and Managing APIs for your Organization: Introduces the basics of APIs and highlights their value Provides an overview of technologies for building an API management solution and defines the requirements, including how to build a RESTful API Offers design principles for building developer-friendly APIs Explains how to secure your APIs Shows how to use API analytics to measure the success of your APIs Demonstrates how to monetize APIs Finally, API Management touches on various technical nuances of creating, distributing, and managing an API. This book will not only help you learn how to design, build, deploy, and manage an API for an enterprise scale, but also generate revenue for your organization. What You'll Learn Discover the API life cycle Design and develop APIs Implement API security Test your APIs Deploy and monitor your APIs Who This Book Is For Enterprise architects, technology enthusiasts, security architects, and operations specialists.
  scalatra in action: Aurelia in Action Sean Hunter, 2018-07-24 Summary Aurelia in Action teaches you how to build fantastic single-page applications with the Aurelia framework. You'll learn about modern design practices and a modular architecture based on web components, perfect for hybrid web + mobile apps. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. About the Technology Try Aurelia, and you may not go back to your old web framework. Flexible and efficient, Aurelia enforces modern design practices and a modular architecture based on web components. It's perfect for hybrid web + mobile apps, with hot features like dynamic routes, pluggable pipelines, and APIs for nearly every flavor of JavaScript. About the Book Aurelia in Action teaches you how to build extraordinary web applications using the Aurelia framework. You'll immediately take advantage of key elements like web components and decorators when you start to explore the book's running example: a virtual bookshelf. As the app unfolds, you'll dig into templating and data binding the Aurelia way. To complete the project, you'll take on routing and HTTP, along with tuning, securing, and deploying your finished product. What's Inside Templating and data-binding Communication between components Server-side and SPA design techniques View composition About the Reader Written for developers comfortable with JavaScript and MVC-style web development. About the Author Sean Hunter is a web developer with nearly 10 years of experience. He's extremely passionate about all things Aurelia and has been working with the framework in production since the early beta days. Sean got a taste for teaching developers how to get started with Aurelia while visiting user groups across the UK, and he's been excited to expand on this teaching effort with this book. These days, Sean is working in a variety of web-development technologies with companies across Australia, and he blogs at https://sean-hunter.io. Table of Contents PART 1 - INTRODUCTION TO AURELIA Introducing Aurelia Building your first Aurelia application PART 2 - EXPLORING AURELIA View resources, custom elements, and custom attribute Aurelia templating and data bindin Value converters and binding behaviors Intercomponent communication Working with forms Working with HTTP Routing Authentication Dynamic composition Web Components and Aurelia Extending Aurelia Animation PART 3 - AURELIA IN THE REAL WORLD Testing Deploying Aurelia applications
  scalatra in action: HTTP/2 in Action Barry Pollard, 2019-03-06 Summary HTTP/2 in Action is a complete guide to HTTP/2, one of the core protocols of the web. Because HTTP/2 has been designed to be easy to transition to, including keeping it backwards compatible, adoption is rapid and expected to increase over the next few years. Concentrating on practical matters, this interesting book presents key HTTP/2 concepts such as frames, streams, and multiplexing and explores how they affect the performance and behavior of your websites. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. About the Technology HTTP—Hypertext Transfer Protocol—is the standard for exchanging messages between websites and browsers. And after 20 years, it's gotten a much-needed upgrade. With support for streams, server push, header compression, and prioritization, HTTP/2 delivers vast improvements in speed, security, and efficiency. About the Book HTTP/2 in Action teaches you everything you need to know to use HTTP/2 effectively. You'll learn how to optimize web performance with new features like frames, multiplexing, and push. You'll also explore real-world examples on advanced topics like flow control and dependencies. With ready-to-implement tips and best practices, this practical guide is sure to get you—and your websites—up to speed! What's Inside HTTP/2 for web developers Upgrading and troubleshooting Real-world examples and case studies QUIC and HTTP/3 About the Reader Written for web developers and site administrators. About the Authors Barry Pollard is a professional developer with two decades of experience developing, supporting, and tuning software and infrastructure. Table of Contents PART 1 MOVING TO HTTP/2 Web technologies and HTTP The road to HTTP/2 Upgrading to HTTP/2 PART 2 USING HTTP/2 HTTP/2 protocol basics Implementing HTTP/2 push Optimizing for HTTP/2 PART 3 ADVANCED HTTP/2 Advanced HTTP/2 concepts HPACK header compression PART 4 THE FUTURE OF HTTP TCP, QUIC, and HTTP/3 Where HTTP goes from here
  scalatra in action: Meteor in Action Stephan Hochhaus, Manuel Schoebel, 2015-09-17 Summary Meteor in Action teaches you full-stack web development using the Meteor platform. It starts with an overview of a Meteor application, revealing the unique nature of Meteor's end-to-end application model. Then you'll dive into the Blaze templating engine, discover Meteor's reactive data sources model, learn simple and advanced routing techniques, and practice managing users, permissions, and roles. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. About the Book You might call Meteor a reactive, isomorphic, full-stack web development framework. Or, like most developers who have tried it, you might just call it awesome. Meteor is a JavaScript-based framework for both client and server web and mobile applications. Meteor applications react to changes in data instantly, so you get impossibly responsive user experiences, and the consistent build process, unified front- and back-end package system, and one-command deploys save you time at every step from design to release. Meteor in Action teaches you full-stack web development with Meteor. It starts by revealing the unique nature of Meteo's end-to-end application model. Through real-world scenarios, you'll dive into the Blaze templating engine, discover Meteor's reactive data sources model, learn routing techniques, and practice managing users, permissions, and roles. Finally, you'll learn how to deploy Meteor on your server and scale efficiently. What's Inside Building your first real-time application Using MongoDB and other reactive data sources Creating applications with Iron Router Deploying and scaling your applications About the Reader Readers need to know the basics of JavaScript and understand general web application design. About the Authors Stephan Hochhaus and Manuel Schoebel are veteran web developers who have worked with Meteor since its infancy. Table of Contents PART 1 LOOK—A SHOOTING STAR! A better way to build apps My fridge! A reactive gamePART 2 3, 2, 1—IMPACT! Working with templates Working with data Fully reactive editing Users, authentications, and permissions Exchanging data Routing using Iron.Router The package system Advanced server methods PART 3 LEAVING THE CRATER Building and debugging Going into production
  scalatra in action: Terraform in Action Scott Winkler, 2021-08-24 An outstanding source of knowledge for Terraform enthusiasts of all levels. - Anton Babenko, Betajob Terraform in Action shows you how to automate and scale infrastructure programmatically using the Terraform toolkit. Summary In Terraform in Action you will learn: Cloud architecture with Terraform Terraform module sharing and the private module registry Terraform security in a multitenant environment Strategies for performing blue/green deployments Refactoring for code maintenance and reusability Running Terraform at scale Creating your own Terraform provider Using Terraform as a continuous development/continuous delivery platform Terraform in Action introduces the infrastructure-as-code (IaC) model that lets you instantaneously create new components and respond efficiently to changes in demand. You’ll use the Terraform automation tool to design and manage servers that can be provisioned, shared, changed, tested, and deployed with a single command. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. About the technology Provision, deploy, scale, and clone your entire stack to the cloud at the touch of a button. In Terraform, you create a collection of simple declarative scripts that define and manage application infrastructure. This powerful infrastructure-as-code approach automates key tasks like versioning and testing for everything from low-level networking to cloud services. About the book Terraform in Action shows you how to automate and scale infrastructure programmatically using the Terraform toolkit. Using practical, relevant examples, you’ll use Terraform to provision a Kubernetes cluster, deploy a multiplayer game, and configure other hands-on projects. As you progress to advanced techniques like zero-downtime deployments, you’ll discover how to think in Terraform rather than just copying and pasting scripts. What's inside Cloud architecture with Terraform Terraform module sharing and the private module registry Terraform security in a multitenant environment Strategies for performing blue/green deployments About the reader For readers experienced with a major cloud platform such as AWS. Examples in JavaScript and Golang. About the author Scott Winkler is a DevOps engineer and a distinguished Terraform expert. He has spoken multiple times at HashiTalks and HashiConf, and was selected as a HashiCorp Ambassador and Core Contributor in 2020. Table of Contents PART 1 TERRAFORM BOOTCAMP 1 Getting started with Terraform 2 Life cycle of a Terraform resource 3 Functional programming 4 Deploying a multi-tiered web application in AWS PART 2 TERRAFORM IN THE WILD 5 Serverless made easy 6 Terraform with friends 7 CI/CD pipelines as code 8 A multi-cloud MMORPG PART 3 MASTERING TERRAFORM 9 Zero-downtime deployments 10 Testing and refactoring 11 Extending Terraform by writing a custom provider 12 Automating Terraform 13 Security and secrets management
  scalatra in action: Spark GraphX in Action Michael Malak, Robin East, 2016-07-03 Summary Spark GraphX in Action starts out with an overview of Apache Spark and the GraphX graph processing API. This example-based tutorial then teaches you how to configure GraphX and how to use it interactively. Along the way, you'll collect practical techniques for enhancing applications and applying machine learning algorithms to graph data. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. About the Technology GraphX is a powerful graph processing API for the Apache Spark analytics engine that lets you draw insights from large datasets. GraphX gives you unprecedented speed and capacity for running massively parallel and machine learning algorithms. About the Book Spark GraphX in Action begins with the big picture of what graphs can be used for. This example-based tutorial teaches you how to use GraphX interactively. You'll start with a crystal-clear introduction to building big data graphs from regular data, and then explore the problems and possibilities of implementing graph algorithms and architecting graph processing pipelines. Along the way, you'll collect practical techniques for enhancing applications and applying machine learning algorithms to graph data. What's Inside Understanding graph technology Using the GraphX API Developing algorithms for big graphs Machine learning with graphs Graph visualization About the Reader Readers should be comfortable writing code. Experience with Apache Spark and Scala is not required. About the Authors Michael Malak has worked on Spark applications for Fortune 500 companies since early 2013. Robin East has worked as a consultant to large organizations for over 15 years and is a data scientist at Worldpay. Table of Contents PART 1 SPARK AND GRAPHS Two important technologies: Spark and graphs GraphX quick start Some fundamentals PART 2 CONNECTING VERTICES GraphX Basics Built-in algorithms Other useful graph algorithms Machine learning PART 3 OVER THE ARC The missing algorithms Performance and monitoring Other languages and tools
  scalatra in action: API Security in Action Neil Madden, 2020-11-20 A comprehensive guide to designing and implementing secure services. A must-read book for all API practitioners who manage security. - Gilberto Taccari, Penta API Security in Action teaches you how to create secure APIs for any situation. By following this hands-on guide you’ll build a social network API while mastering techniques for flexible multi-user security, cloud key management, and lightweight cryptography. A web API is an efficient way to communicate with an application or service. However, this convenience opens your systems to new security risks. API Security in Action gives you the skills to build strong, safe APIs you can confidently expose to the world. Inside, you’ll learn to construct secure and scalable REST APIs, deliver machine-to-machine interaction in a microservices architecture, and provide protection in resource-constrained IoT (Internet of Things) environments. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. About the technology APIs control data sharing in every service, server, data store, and web client. Modern data-centric designs—including microservices and cloud-native applications—demand a comprehensive, multi-layered approach to security for both private and public-facing APIs. About the book API Security in Action teaches you how to create secure APIs for any situation. By following this hands-on guide you’ll build a social network API while mastering techniques for flexible multi-user security, cloud key management, and lightweight cryptography. When you’re done, you’ll be able to create APIs that stand up to complex threat models and hostile environments. What's inside Authentication Authorization Audit logging Rate limiting Encryption About the reader For developers with experience building RESTful APIs. Examples are in Java. About the author Neil Madden has in-depth knowledge of applied cryptography, application security, and current API security technologies. He holds a Ph.D. in Computer Science. Table of Contents PART 1 - FOUNDATIONS 1 What is API security? 2 Secure API development 3 Securing the Natter API PART 2 - TOKEN-BASED AUTHENTICATION 4 Session cookie authentication 5 Modern token-based authentication 6 Self-contained tokens and JWTs PART 3 - AUTHORIZATION 7 OAuth2 and OpenID Connect 8 Identity-based access control 9 Capability-based security and macaroons PART 4 - MICROSERVICE APIs IN KUBERNETES 10 Microservice APIs in Kubernetes 11 Securing service-to-service APIs PART 5 - APIs FOR THE INTERNET OF THINGS 12 Securing IoT communications 13 Securing IoT APIs
  scalatra in action: Hands-on Scala Programming: Learn Scala in a Practical, Project-Based Way Haoyi Li, 2020-07-11 Hands-on Scala teaches you how to use the Scala programming language in a practical, project-based fashion. This book is designed to quickly teach an existing programmer everything needed to go from hello world to building production applications like interactive websites, parallel web crawlers, and distributed systems in Scala. In the process you will learn how to use the Scala language to solve challenging problems in an elegant and intuitive manner.
  scalatra in action: Prototype & Scriptaculous In Action Dave Crane, Bear Bibeault & Tom Locke, 2007-04 Prototype and Scriptaculous in Action is a comprehensive, practical guide that walks you feature-by-feature through the two libraries. First, you ll use Scriptaculous to make easy but powerful UI improvements. Then you ll dig into Prototype s elegant and sparse syntax. See how a few characters of Prototype code can save a dozen lines of JavaScript. By applying these techniques, you can concentrate on the function and flow of your application instead of the coding details. This is a comprehensive, practical guide that walks you feature-by feature through the two libraries. First, you ll use Scriptaculous to make easy but powerful UI improvements. Then you ll dig into Prototype s elegant and sparse syntax. By applying these techniques, you can concentrate on the function and the flow of your application instead of the coding details.· Introducing Prototype and Scriptaculous· Introducing QuickGallery· Simplifying Ajax with Prototype· Using Prototype s Advanced Ajax Features· Scriptaculous Effects· Scriptaculous Controls· Scriptaculous Drag and Drop· All About Objects· Fun with Functions· Arrays Made Easy· Back to the Browser· Prototype and Scriptaculous in Practice· Prototype, Scriptaculous, and Rails
Yahoo Mail
Nosso destino é uma caixa de entrada organizada e atualizada. Entre e comece a explorar todas as ferramentas gratuitas de organização de e-mail. Confira novos temas, envie GIFs, encontre...

Login - Sign in to Yahoo
Sign in to access the best in class Yahoo Mail, breaking local, national and global news, finance, sports, music, movies... You get more out of the web, you get more out of life.

Iniciar sessão — Entrar no Yahoo
Entre na conta para acessar o melhor Yahoo Mail, notícias locais, nacionais e internacionais, finanças, esportes, música, cinema… Aproveite a Web ao máximo e viva mais a vida.

Yahoo Mail | Email with smart features and top-notch security
Yahoo Mail: Your smarter, faster, free email solution. Organize your inbox, protect your privacy, and tackle tasks efficiently with AI-powered features and robust security tools.

Entrar ou sair do Yahoo | Yahoo Ajuda
Entre em sua conta do Yahoo, Rocketmail, ou Ymail de qualquer lugar e acesse seus serviços favoritos do Yahoo. Descubra como entrar e sair da sua conta.

Yahoo
Yahoo

Mail | Yahoo Mobile BR
Acesse todas as suas contas de e-mail em um só lugar, compartilhe fotos e GIFs animados facilmente e experimente a busca ultrarrápida. Além tudo isso, você nunca mais precisará se …

Yahoo Mail
Take a trip into an upgraded, more organized inbox. Sign in and start exploring all the free, organizational tools for your email. Check out new themes, send GIFs, find every photo you've …

Download Yahoo Mail App | Yahoo Mobile
Yahoo Mail has all the features you need to get through your inbox faster. Compatible with Gmail, Outlook, AOL, and Hotmail to give you one central place for all your accounts.

Entre no página inicial do Yahoo. | Yahoo Ajuda
Aproveite ao máximo o que o Yahoo tem para oferecer, ao entrar em sua conta toda vez que acessar nosso site. Descubra como é fácil entrar no Yahoo com seu nome de usuário e senha.

Fundamentos de un juez para dictar sentencia: Una mirada a las …
El fundamento legal es la base jurídica sobre la cual se apoya la autoridad del juez para resolver un caso concreto y emitir una sentencia. Cuando un juez dicta una sentencia, debe analizar y …

La base de la justicia: Los fundamentos que guían las sentencias ...
Jan 16, 2024 · Los fundamentos que guían las sentencias judiciales son principios legales y éticos que buscan proteger los derechos de todas las partes involucradas en un caso y …

De acuerdo con la Corte Suprema, así se deben motivar las decisiones ...
El numeral 4° del artículo 139 de la Ley 906 del 2004 impone a los jueces el deber de motivar las decisiones que afecten los derechos fundamentales de partes e intervinientes.

Sentencia C-548/97 - Corte Constitucional
Para que las decisiones de los jueces sean eficaces, es necesario que ellas sean ciertas, vinculantes y obligatorias, es decir, que su existencia no sea cuestionada, que su acatamiento …

4.2 Deber de motivar las decisiones judiciales Sentencia T-237/17
Apr 21, 2017 · En la Sentencia T-806 del 2000 la Corte afirmó que la motivación es uno de los elementos por medio de los cuales los jueces otorgan legitimidad a sus decisiones y erradican …

¿Cómo dicta el juez su sentencia? Descubre los factores clave
Para dictar una sentencia, el juez debe tener en cuenta todas las pruebas presentadas por las partes y valorarlas con objetividad y imparcialidad. Debe aplicar la ley al caso concreto y …

Modelos_de_toma_de_decisiones_de_los_jueces
El modelo legal en el estudio de la toma de decisiones a nivel judicial está enfocado en aspectos institucionales del sistema jurídico, incluyen estatutos y constituciones, así como limitaciones …

La importancia de conocer las palabras del juez al dictar …
May 10, 2023 · Es por eso que es fundamental conocer las palabras que el juez utiliza al dictar una sentencia y su significado, ya que esto nos permitirá comprender mejor las decisiones …

Funciones y responsabilidades del juez en un juicio: guía práctica
Dec 16, 2024 · La toma de decisiones es una de las responsabilidades más críticas del juez. Después de escuchar los argumentos y revisar la evidencia, el juez debe evaluar todos los …

Juez: ¿Qué es y cuál es su función en el sistema judicial?
El juez es un funcionario encargado de administrar justicia y tomar decisiones en un tribunal. Tiene la autoridad para interpretar y aplicar las leyes en un caso específico. Debe ser …