Books: 45


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. About the Technology Akka more » 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 1. Introducing Akka 2. Up and running 3. Test-driven development with actors 4. Fault tolerance 5. Futures 6. Your first distributed Akka app 7. Configuration, logging, and deployment 8. Structural patterns for actors 9. Routing messages 10. Message channels 11. Finite-state machines and agents 12. System integration 13. Streaming 14. Clustering 15. Actor persistence 16. Performance tips 17. Looking ahead « less
A Practical, Case-Study Approach
Build straightforward and maintainable APIs to create services that are usable and maintainable. Although this book focuses on distributed services, it also emphasizes how the core principles apply even to pure OOD and OOP constructs. The overall context of Creating Maintainable APIs is to classify more » the topics into four main areas: classes and interfaces, HTTP REST APIs, messaging APIs, and message payloads (XML, JSON and JSON API as well as Apache Avro). What You Will Learn: * Use object-oriented design constructs and their APIs * Create and manage HTTP REST APIs * Create and manage maintainable messaging APIs, including the use of Apache Kafka as a principal messaging hub * Handle message payloads via JSON Who This Book Is For:This book is for any level software engineers and very experienced programmers. « less
Learn Just Enough Python to Build Useful Tools
Learn only the essential aspects of Python without cluttering up your mind with features you may never use. This compact book is not a "best way to write code" type of book; rather, the author goes over his most-used functions, which are all you need to know as a beginner and some way beyond. Lean more » Python takes 58 Python methods and functions and whittles them down to 15: as author Paul Gerrard says, "I haven't found a need for the rest." What You'll Learn * Discover lean Python and how to learn just enough to build useful tools * Use Python objects, program structure, I/O, modules and more * Handle errors and exceptions * Test your code * Access the Web; do searching; and persist data Who This Book Is For This book is aimed at three categories of reader: The experienced programmer – if you already know a programming language, this book gives you a shortcut to understanding the Python language and some of its design philosophy. You work in IT and need a programming primer – you might be a tester who needs to have more informed technical discussions with programmers. Working through the examples will help you to appreciate the challenge of good programming. First-timer – you want a first book on programming that you can assimilate quickly to help you decide whether programming is for you. « less
Build data-driven React applications with ease using GraphQL and Relay
KEY FEATURES * Take your React applications to the next level with GraphQl and Relay * Explore the concepts of data fetching, data handling, and more * Learn to deploy your applications, which are compliant with GraphQl and Relay BOOK DESCRIPTION There’s a new choice for implementing APIs more » – the open source and Facebook-created GraphQL specification. Designed to solve many of the issues of working with REST, GraphQL comes alongside RelayJS, a React library for querying a server that implements the GraphQL specification. This book takes you quickly and simply through the skills you need to be able to build production ready applications with both GraphQL and RelayJS. Beginning with a solid foundation in the GraphQl specification, this book swiftly moves to how a data layer can be implemented for your web application using Relay. Get to grips with GraphQL and Relay concepts creating data containers, data masking, and more as your progress towards building a production-ready application. WHAT YOU WILL LEARN * Understand what problem GraphQL solves and how it differs from traditional REST architectures * Create a GraphQL server * Develop modular and maintainable GraphQL code * Grasp how to define GraphQL mutations * Comprehend how to define GraphQL queries * Modify a GraphQL server to be Relay-compliant * Develop a Relay client-side application with ReactJS that consumes a GraphQL endpoint ABOUT THE AUTHOR Samer Buna is a technical content author, software engineer, and mentor. He has a master's degree in information security and over ten years of progressive experience and success creating tailored solutions for businesses within many industries. Samer is passionate about everything JavaScript, and he loves exploring new libraries. His favorite technical stacks are Node.js for the backend and React.js for the frontend. Samer has authored a few books and online courses about React and GraphQL. You can follow him on Twitter at @samerbuna, and you can read more of what he writes at TABLE OF CONTENTS 1. An Introduction to GraphQL and Relay 2. The Query Language 3. The GraphQL Schema 4. Configuring React Applications to Use Relay 5. Making GraphQL Queries Relay-Compliant 6. Relay Variables and Object Identification 7. Relay Mutations 8. Deploying to the Cloud « less
Writing PHP Microservices, REST and Web Service APIs
Learn to write test-driven microservices, REST APIs, and web service APIs with PHP using the Lumen micro-framework, from the now popular Laravel family. This book shows you how testing APIs can help you write bullet-proof web application services and microservices. In the Lumen Programming Guide you more » will learn how to use Lumen―a micro-framework by Laravel―to write bullet-proof APIs. Lumen helps you write productive, maintainable APIs using modern application design. You will learn how to write fully-tested APIs and understand essential Lumen concepts used to build a solid foundation for writing API projects. What You Will Learn * Maintain your API's database structure through built-in database migrations * Write tests with factory data in a test database * Respond with consistent data output in JSON * Deal with PHP exceptions by using JSON responses * Create, read, update, and delete REST resources * Represent model associations in API responses * Build a solid foundation for writing tests with PHPUnit and Mockery * Validate data Who This Book Is For PHP developers with no Laravel experience. Only a basic understanding of HTTP and writing PHP applications is needed to get started. « less
Remember when service-oriented architecture (SOA) was all the rage? Companies jumped in before fully understanding SOA’s advantages and disadvantages, and struggled to make this complex architecture work. Today, we’re poised to repeat this same experience with microservices—only this time we’re prepared. more » With this concise ebook, author Mark Richards walks you through the ten most common microservice anti-patterns and pitfalls, and provides solutions for avoiding them. What’s the difference between anti-patterns and pitfalls? An anti-pattern seems like a good idea when you begin, but only leads you into trouble, while pitfalls are bad ideas from the start. Learn how to avert the most flagrant anti-patterns and pitfalls before you tussle with microservice granularity, data migration, and distributed processing. You’ll examine: - Data-Driven Migration Anti-Pattern - Timeout Anti-Pattern - "I Was Taught to Share" Anti-Pattern - Reach-in Reporting Anti-Pattern - Grains of Sand Pitfall - Developer Without a Cause Pitfall - Jump On The Bandwagon Pitfall - Static Contract Pitfall - Are We There Yet Pitfall - Give it a Rest Pitfall « less
Work with various Microsoft technologies using Applied Architecture Patterns
ABOUT THIS BOOK * Updated to include the most recent technologies, including .NET and SQL Server * Provides an architectural methodology for choosing Microsoft application platform technologies to meet the requirements of your solution * Presents solutions for messaging, workflow, data processing, more » and performance scenarios WHO THIS BOOK IS FOR This book is intended for architects, developers, and managers who need to improve their knowledge of the Microsoft application platform. This book will appeal to anyone, especially consultants, who want to get up to speed on selecting the most appropriate platform for a particular problem. A good understanding of the general Windows platform and development technologies would be helpful. WHAT YOU WILL LEARN * Organize the evaluation of candidate solutions to a given business problem * Learn about the new features of .NET 4.5 and its capabilities * Understand the core components and compelling aspects of BizTalk Server 2013 * Explore different integration patterns and antipatterns such as point-to-point, message broker, publish/subscribe, data aggregation versus data sharing, and enterprise message bus * Understand the architectural principles that SOA brings to the table and how they are different from open API * Implement fully automated workflows and workflows with manual operations * Use SharePoint to improve content management and collaboration in the enterprise IN DETAIL This book provides a method for choosing the right Microsoft application platform technologies to meet the requirements of your solution. It examines proven technologies such as SQL Server, BizTalk, SharePoint, and .NET. The book considers architectural patterns for solutions in the areas of messaging, workflow, data processing, and collaboration. This book will give you a proven framework to make the optimal technology selection and fulfil your business requirements. We will also discuss building web services and REST services in an SOA environment, as well as different approaches to building presentation layers, integration patterns, and much more. Applied Architecture Patterns on the Microsoft Platform, Second Edition,is your ultimate guide to Microsoft technologies and beyond. « less
Over 50 practical recipes to build web applications using Lift, the most secure web framework available
If you want the ultimate in security for your web applications you need to know the Lift framework. This book lets you dive straight into a whole range of features and techniques thanks to its 50+ practical recipes. Overview * Lift made easy with step-by-steps recipes written by a developer for more » developers * Practical examples covering topics from basic to advanced levels * Learn to use Schemifier to automatically create tables and columns * Understand how to integrate Lift with other technologies and social media * Filled with task-based recipes to create web applications in a very secure manner In Detail Developing secure web applications is one of the most important tasks developers have to deal with. With Lift, it is easy to create solid and formidable web applications as it is the most secure web framework available today. The View-First approach and being able to handle things as purely data transformation, makes working with Lift an exciting task. "Lift Application Development Cookbook" teaches you how to build web applications using this amazing framework. The book moves gradually, starting with the basics (starting a new project, submitting a form, and so on) before covering more advanced topics such as building a REST API and integrating your application with other technologies and applications. "Lift Application Development Cookbook" takes you on a journey of creating secure web applications. Step-by-step instructions help you understand how things work and how various elements relate to each other. You'll learn different ways to process a form, build dynamic HTML pages, and create an API using REST. You'll also learn how to work with relational and NoSQL databases and how to integrate your application with other technologies as well as with third-part applications such as Gmail and Facebook. By the end of the book, you will be able to understand how Lift works and be able to build web applications using this amazing and exciting framework. What you will learn from this book * Start a new web application using Lift * Manage and validate forms to handle data submitted by users * Build an application to create and maintain client data by using a REST interface * Use Mapper, an ORM system for relational databases, included with Lift * Use Liquibase to manage database changes incrementally * Integrate Lift and Akka * Schedule jobs using Quartz * Integrate your application with JMS queues * Use IoC frameworks such as Google Guice and Spring * Use social media to log in users * Fetch user data from social media Approach Lift Application Development Cookbook contains practical recipes on everything you will need to create secure web applications using this amazing framework. The book first teaches you basic topics such as starting a new application and gradually moves on to teach you advanced topics to achieve a certain task. Then, it explains every step in detail so that you can build your knowledge about how things work. Who this book is written for This book is for developers who have at least some basic knowledge about Scala and who are looking for a functional, secure, and modern web framework. Prior experience with HTML and JavaScript is assumed. « less
Build Rich Applications that Run on the Desktop, the Web, Mobile Devices...Anywhere! Using JavaFX, developers and graphic designers can work together to build robust, immersive applications and deploy them anywhere: on the desktop, on the Web, and on millions of Java-enabled mobile devices. JavaFX more » lets you maintain your existing graphics and seamlessly integrate them into Java applications. Plus, JavaFX Script is a declarative language that allows you to preserve your investment in the Java platform while allowing more creativity with JavaFX’s Rich Internet Application environment. JavaFX™: Developing Rich Internet Applications brings together all the knowledge, techniques, and reusable code you need to quickly deliver production-quality solutions. Writing for both developers and designers, the authors explain how JavaFX simplifies and improves the RIA development process, and they show how to make the most of its ready-built components and frameworks. JavaFX™ covers everything from data integration to multimedia, special effects to REST. The authors present a full chapter of code recipes and a complete case study application. This book’s wide-ranging content includes * Building and running JavaFX programs * Understanding the role of graphics designers in creating JavaFX Graphical Assets * Writing fast, efficient JavaFX Script programs * Using data binding to simplify Model-View-Controller application design * Creating rich user experiences with JavaFX visual components * Bringing user interfaces to life with lighting, reflection, and other special effects * Adding motion with the JavaFX animation framework * Incorporating pictures, sound, and videos in your applications * Creating RESTful applications with JSON and XML * Writing JavaFX applications that make the most of the underlying Java platform The Java™ Series is supported, endorsed, and authored by the creators of the Java technology at Sun Microsystems, Inc. It is the official place to go for complete, expert, and definitive information on Java technology. The books in this Series provide the inside information you need to build effective, robust, and portable applications and applets. The Series is an indispensable resource for anyone targeting the Java platform. « less
Build powerful, interactive plug-ins for your blog and to share online
* Everything you need to create and distribute your own plug-ins following WordPress coding standards * Walk through the development of six complete, feature-rich, real-world plug-ins that are being used by thousands of WP users * Written by Vladimir Prelovac, WordPress expert and developer of WordPress more » plug-ins such as Smart YouTube and Plugin Central * Part of Packt's Beginners Guide series: expect step-by-step instructions with an emphasis on experimentation and tweaking code In Detail If you can write WordPress plug-ins, you can make WordPress do just about anything. From making the site easier to administer, to adding the odd tweak or new feature, to completely changing the way your blog works, plug-ins are the method WordPress offers to customize and extend its functionality. This book will show you how to build all sorts of WordPress plug-ins: admin plug-ins, Widgets, plug-ins that alter your post output, present custom "views" of your blog, and more. WordPress Plug-in Development (Beginner's Guide) focuses on teaching you all aspects of modern WordPress development. The book uses real and published WordPress plug-ins and follows their creation from the idea to the finishing touches, in a series of carefully picked, easy-to-follow tutorials. You will discover how to use the WordPress API in all typical situations, from displaying output on the site in the beginning to turning WordPress into a CMS in the last chapter. In Chapters 2 to 7 you will develop six concrete plug-ins and conquer all aspects of WordPress development. Each new chapter and each new plug-in introduces different features of WordPress and how to put them to good use, allowing you to gradually advance your knowledge. This book is written as a guide to take your WordPress skills from the very beginning to the level where you are able to completely understand how WordPress works and how you can use it to your advantage. What you will learn from this book? * Get to know the WordPress code base, WordPress's plug-in architecture, and the plug-in application programming interface (API) and learn how to hack it * Master the WordPress database and the API - access and manipulate data, handle user roles and permissions, posts, and so on * Hook into the rest of WordPress using actions and filters * Change the way your WordPress backend looks by customizing menus, submenus, and the plug-in admin panel * Integrate AJAX and jQuery into your plug-ins to dynamically generate content * Hook directly to WordPress edit pages and use AJAX to generate fast searches * Integrate your plug-in with WordPress panels and the tinyMCE editor * Access and work with third-party APIs like Flickr * Implement localization support for users of other languages * Maintain and manage your plug-in using SVN and publish it to the WordPress Plugin Repository * Handle security issues and make your plug-ins safer to use We cover the development of six plug-ins from start to finish: * Digg-this: Adds a Digg This button to each post. * Live Blogroll: Adds a recent posts popup for each blog in your blogroll. * The Wall widget: Displays comments on the sidebar without reloading the page. * Snazzy Archives: Presents your site archives in a unique visual way. * Insights: Access your articles and Flickr images from within the WordPress edit page. * Post Types: Provides pre-defined post templates to quickly add a photo or a link to your blog. Approach This is a Packt Beginners Guide, which means it focuses on practical examples and has a fast-paced but friendly approach, with the opportunity to learn by experiment and play. Each chapter builds a practical plug-in from the ground up using step-by-step instructions. Individual sections show you how to code some functionality into your plug-in and follow up with a discussion of concepts. Who this book is written for? This book is for programmers working with WordPress, who want to develop custom plug-ins and to hack the code base. You need to be familiar with the basics of WordPress and PHP programming and believe that code is poetry; this book will handle the rest. « less