万本电子书0元读

万本电子书0元读

Python GUI Programming Cookbook
Python GUI Programming Cookbook
Burkhard A. Meier
¥80.65
Over 80 object-oriented recipes to help you create mind-blowing GUIs in Python About This Book Use object-oriented programming to develop amazing GUIs in Python Create a working GUI project as a central resource for developing your Python GUIs Packed with easy-to-follow recipes to help you develop code using the latest released version of Python Who This Book Is For If you are a Python programmer with intermediate level knowledge of GUI programming and want to learn how to create beautiful, effective, and responsive GUIs using the freely available Python GUI frameworks, this book is for you. What You Will Learn Create amazing GUIs with Python’s built-in Tkinter module Customize the GUIs by using layout managers to arrange the GUI widgets Advance to an object-oriented programming style using Python Develop beautiful charts using the free Matplotlib Python module Use threading in a networked environment to make the GUIs responsive Discover ways to connect the GUIs to a database Understand how unit tests can be created and internationalize the GUI Extend the GUIs with free Python frameworks using best practices In Detail Python is a multi-domain, interpreted programming language. It is a widely used general-purpose, high-level programming language. It is often used as a *ing language because of its forgiving syntax and compatibility with a wide variety of different eco-systems. Its flexible syntax enables developers to write short *s while at the same time, they can use object-oriented concepts to develop very large projects. Python GUI Programming Cookbook follows a task-based approach to help you create beautiful and very effective GUIs with the least amount of code necessary. This book uses the simplest programming style, using the fewest lines of code to create a GUI in Python, and then advances to using object-oriented programming in later chapters. If you are new to object-oriented programming (OOP), this book will teach you how to take advantage of the OOP coding style in the context of creating GUIs written in Python. Throughout the book, you will develop an entire GUI application, building recipe upon recipe, connecting the GUI to a database. In the later chapters, you will explore additional Python GUI frameworks, using best practices. You will also learn how to use threading to ensure your GUI doesn’t go unresponsive. By the end of the book, you will be an expert in Python GUI programming to develop a common set of GUI applications. Style and approach Every recipe in this programming cookbook solves a problem you might encounter in your programming career. At the same time, most of the recipes build on each other to create an entire, real-life GUI application.
GameMaker Programming By Example
GameMaker Programming By Example
Brian Christian
¥80.65
Master the development of 2D games by learning to use the powerful GameMaker Language and tools provided by the GameMaker: Studio workspace and engine! About This Book Rapidly develop games using the powerful yet easy easy-to to-use GameMaker: Studio engine Comprehensive: This is a comprehensive guide to help you learn and implement GameMaker’s features. Go through step-by-step tutorials to design and develop unique games Who This Book Is For If you have at least some basic programming experience of JavaScript or any other C-like languages, then this book will be great for you. No experience beyond that is assumed. If you have no game development experience and are looking for a hobby, are an experienced game developer looking to master some advanced features, or fit anywhere in that spectrum, then you will find GameMaker: Studio and this book to be very useful in helping you create exciting games. What You Will Learn Understand the GameMaker: Studio interface and tools to quickly create the various assets used in your games Translate some of the GameMaker: Studio drag and drop functions to the GameMaker language Create games with random elements for exciting gameplay Use the basic GameMaker file I/O and encryption systems Utilize the GameMaker networking functions to create multiplayer games Give AI routines to your enemies to make challenging gameplay Create particle systems to give your game exciting graphics Understand the various debugging techniques available in GameMaker: Studio In Detail This book is excellent resource for developers with any level of experience of GameMaker. At the start, we’ll provide an overview of the basic use of GameMaker: Studio, and show you how to set up a basic game where you handle input and collisions in a top-down perspective game. We continue on to showcase its more advanced features via six different example projects. The first example game demonstrates platforming with file I/O, followed by animation, views, and multiplayer networking. The next game illustrates AI and particle systems, while the final one will get you started with the built-in Box2D physics engine. By the end of this book, you have mastered lots of powerful techniques that can be utilized in various 2D games. Style and approach A This step-by-step guide that follows and with details ons different topics throughout the creation of various examples.
VMware vRealize Operations Essentials
VMware vRealize Operations Essentials
Matthew Steiner
¥80.65
Harness the power of VMware vRealize Operations to efficiently manage your IT infrastructure About This Book Extract the optimum performance, availability, and capacity of your IT infrastructure with the help of vRealise Operations Manager Leverage the power of strategic reports to drive tactful decision-making within the IT department A pragmatic guide to proficiently manage your applications and storage Who This Book Is For If you are a vSphere administrator and wish to optimize your virtual environment, this book is your go-to guide on vRealize Operations. As a vSphere administrator, it is assumed that you have a good understanding of both physical and virtual infrastructure. A basic knowledge of application monitoring and log analysis would be useful when we dive into the capabilities of the solution. What You Will Learn Architect, design, and install vRealize Operations Migrate from the previous vCenter Operations Manager 5.x version, configure vR Ops policies, and create custom groups Use out-of-the-box Dashboards, Views, and Reports and create your own customized Dashboards, Views, and Reports Apply the Alerting framework of Symptoms, Recommendations, and Actions, and create your own Alerting content Leverage the power of Capacity Planning to maximize the utilization of your virtual infrastructure Manage the rest of your infrastructure, including storage and applications, with vRealize Operations Management Packs Extend the solution with vRealize Hyperic and Log Insight In Detail This book will enable you to deliver on the operational disciplines of Performance, Health, Capacity, Configuration, and Compliance by making the best use of solutions provided by vRealize Operations. Starting with architecture, design, and sizing, we will ensure your implementation of vRealize Operations is a success. We will dive into the utilization of a solution to manage your vSphere infrastructure. Then, we will employ out-of-the-box Dashboards and the very powerful Views and Reporting functionality of vRealize Operations to create your custom dashboards and address your reporting requirements. Next, we go through the Alerting framework and how Symptoms, Recommendations, and Actions are used to achieve efficient operations. Later you will master the topic of Capacity Planning, where we look at how important it is to craft appropriate policies to match your requirements, and we’ll consider attitude toward capacity risk, which will aid you to build future project requirements into your capacity plans. Finally, we will look at extending the solution to manage Storage, Applications, and other IT infrastructures using Management Packs from Solution Exchange, as well as how the solution can be enhanced with the integration of Log Insight. Style and approach This book is a pragmatic, step-by-step guide that will quickly build your knowledge of the key capabilities of vRealize Operations. As well as learning about the solution, we will provide you with real-world examples that will help you customize and enhance your virtual environment.
Windows Phone 7 XNA Cookbook
Windows Phone 7 XNA Cookbook
Zheng Yang
¥80.65
Written in a cookbook style, this book offers solutions using a recipe based approach. Each recipe contains step-by-step instructions followed by an analysis of what was done in each task and other useful information. The cookbook approach means you can dive into whatever recipes you want in no particular order. If you are an aspiring programmer with some basic concepts in C# and object-oriented knowledge who wants to create games for Windows Phone 7, this book is for you. This book is also for the experienced programmers want to transfer from Windows or Xbox to the Windows Phone 7 platform. Only basic knowledge of C# and .Net is required.
WordPress 3 For Business Bloggers
WordPress 3 For Business Bloggers
Paul Thewlis
¥80.65
This is a practical, hands-on book based around a fictitious case study blog, which you will build on a development server using WordPress. The case study grows chapter by chapter, from installing your local development server, right up to the finished blog. This book is for anybody running or starting a business blog using WordPress, whether you plan to use your blog for PR and marketing, or want to profit directly from blogging.
PHP and MongoDB Web Development Beginner’s Guide
PHP and MongoDB Web Development Beginner’s Guide
Rubayeet Islam
¥80.65
The book follows a "Code first, explain later" approach, using practical examples in PHP to demonstrate unique features of MongoDB. This book is packed with step-by-step instructions and practical examples, along with challenges to test and improve your knowledge. This book assumes that you are experienced in web application development using PHP, HTML, and CSS. Having working knowledge of using a relational database system such as MySQL will help you grasp some of the concepts quicker, but it is not strictly mandatory. No prior knowledge of MongoDB is required.
Moodle 2.0 Course Conversion, Second Edition
Moodle 2.0 Course Conversion, Second Edition
Ian Wild
¥80.65
With clear instructions and plenty of screenshots, this book provides all the support and guidance you will need as you begin to convert your teaching to Moodle. Step-by-step tutorials use real-world examples to show you how to convert to Moodle in the most efficient and effective ways possible. Moodle Course Conversion carefully illustrates how Moodle can be used to teach content and ideas and clearly demonstrates the advantages of doing so. This book is for teachers, tutors, and lecturers who already have a large body of teaching material and want to use Moodle to enhance their course, rather than developing brand new ones. You won’t need experience with Moodle, but will need teacher-access to a ready-installed Moodle site. Teachers with some experience of Moodle, who want to focus on incorporating existing course materials will also find this book very useful
Flask Blueprints
Flask Blueprints
Jo?l Perras
¥80.65
Dive into the world of the Flask microframework to develop an array of web applications About This Book Structure, compose, and build powerful Flask HTML-based applications and JSON/XML-based APIs using advanced application design patterns Integrate third-party Flask extensions for tasks such as social authentication, sending emails, and interacting with databases and cache layers Build a series of Flask applications of increasing complexity Who This Book Is For If you are a Python web developer who has developed basic Flask applications and now wants to build a series of more complex web applications, then this is the book for you. What You Will Learn Use the virtualenv Python package to effectively isolate your development environments Convert a simple one-file Flask application into a more full-fledged multi-package application Integrate Flask-Login for simple user authentication, Flask-WTF for forms, and Flask-SQLAlchemy for database interactions Explore URL routing and dispatching in a blueprint structured application Create your own signals and consume them within your application Learn to leverage Werkzeug, the WSGI library that powers much of Flask Implement custom exceptions for handling non-20x response codes Write your own CLI tools for administrative and development tasks of your Flask application using Flask-Script/Click Build your Flask extensions to encapsulate reusable behaviors across your applications Integrate your application with open source JavaScript-based graphing libraries to create simple data visualizations In Detail Flask is a small but powerful web development framework for Python. Though Flask is termed a micro-framework, it is no way lacking in functionality; there are many extensions available to Flask which helps it to function at the same level as other large frameworks such as Django and Ruby on Rails. This book will demonstrate how to develop a series of web application projects with the Python web micro-framework, and leverage extensions and external Python libraries and APIs to extend the development of a variety of larger and more complex web applications. The book will start by explaining Python’s Virtualenv library and how to create and switch between multiple virtual environments. You’ll first build an SQL database-backed application, which will use Flask-WTF, Flask-SQLAlchemy, Jinja templates, and other methods. Next you’ll move on to a timeline application, built using concepts including pytest-Flask, the Blinker package, data modelling for user timelines, exception handling, and creating and organizing CLI tools. Moving on, you’ll discover how to implement a photo timeline application where you’ll explore topics such as writing and running celery tasks, API error handling and testing, and Werkzeug middlewares. Finally, the book walks you through creating an application which fetches data from GitHub and stores it locally. You will also learn how to install and configure Flask-Click extension. Style and approach This book covers how to effectively use the Flask micro-framework to develop a series of web applications. Each chapter focusses on the development of an application increasing in complexity with easy steps to follow.
Pentaho Analytics for MongoDB Cookbook
Pentaho Analytics for MongoDB Cookbook
Joel Latino
¥80.65
Over 50 recipes to learn how to use Pentaho Analytics and MongoDB to create powerful analysis and reporting solutions About This Book Create reports and stunning dashboards with MongoDB data Accelerate data access and maximize productivity with unique features of Pentaho for MongoDB A step-by-step recipe-based guide for making full use of Pentaho suite tools with MongoDB Who This Book Is For This book is intended for data architects and developers with a basic level of knowledge of MongoDB. Familiarity with Pentaho is not expected. What You Will Learn Extract, load, and transform data from MongoDB collections to other datasources Design Pentaho Reports using different types of connections for MongoDB Create a OLAP mondrian schema for MongoDB Explore your MongoDB data using Pentaho Analyzer Utilize the drag and drop web interface to create dashboards Use Kettle Thin JDBC with MongoDB for analysis Integrate advanced dashboards with MondoDB using different types of connections Publish and run a report on Pentaho BI server using a web interface In Detail MongoDB is an open source, schemaless NoSQL database system. Pentaho as a famous open source Analysis tool provides high performance, high availability, and easy scalability for large sets of data. The variant features in Pentaho for MongoDB are designed to empower organizations to be more agile and scalable and also enables applications to have better flexibility, faster performance, and lower costs. Whether you are brand new to online learning or a seasoned expert, this book will provide you with the skills you need to create turnkey analytic solutions that deliver insight and drive value for your organization. The book will begin by taking you through Pentaho Data Integration and how it works with MongoDB. You will then be taken through the Kettle Thin JDBC Driver for enabling a Java application to interact with a database. This will be followed by exploration of a MongoDB collection using Pentaho Instant view and creating reports with MongoDB as a datasource using Pentaho Report Designer. The book will then teach you how to explore and visualize your data in Pentaho BI Server using Pentaho Analyzer. You will then learn how to create advanced dashboards with your data. The book concludes by highlighting contributions of the Pentaho Community. Style and approach A comprehensive, recipe-based guide to take complete advantage of the Pentaho Analytics for MongoDB.
Mastering JavaScript
Mastering JavaScript
Ved Antani
¥80.65
Explore and master modern JavaScript techniques in order to build large-scale web applicationsAbout This BookWrite powerful code with the high-level functions that JavaScript offersTest and debug issues with JavaScript code using various modern mechanismsOffers an expert's eye on the latest ES6 features and how these advanced tasks fit together in JavaScript as a wholeWho This Book Is ForThis book is ideal for web developers who are looking to master modern JavaScript concepts and design principles. You should already have an intermediate level of JavaScript knowledge before starting this book.What You Will LearnGet a run through of the basic JavaScript language constructsGet familiar with the Functions and Closures of JavaScriptExplore Regular Expressions in JavaScriptCode using the powerful object-oriented feature in JavaScriptTest and debug your code using JavaScript strategiesMaster DOM manipulation, cross-browser strategies, and ES6Understand the basic concurrency constructs in Java* and best performance strategiesLearn to build scalable server application in JavaScript using Node.jsIn DetailJavaScript is a high-level, dynamic, untyped, lightweight, and interpreted programming language. Along with HTML and CSS, it is one of the three essential technologies of World Wide Web content production, and is an open source and cross-platform technology. The majority of websites employ JavaScript, and it is well supported by all modern web browsers without plugins. However, the JavaScript landscape has changed dramatically in recent years, and you need to adapt to the new world of JavaScript that people now expect. Mastering modern JavaScript techniques and the toolchain are essential to develop web-scale applications.Mastering JavaScript will be your companion as you master JavaScript and build innovative web applications. To begin with, you will get familiarized with the language constructs and how to make code easy to organize. You will gain a concrete understanding of variable scoping, loops, and best practices on using types and data structures, as well as the coding style and recommended code organization patterns in JavaScript. The book will also teach you how to use arrays and objects as data structures. You will graduate from intermediate-level skills to advanced techniques as you come to understand crucial language concepts and design principles. You will learn about modern libraries and tools so you can write better code.By the end of the book, you will understand how reactive JavaScript is going to be the new paradigm.Style and approachThis is a comprehensive guide with a clear focus on practical use cases and patterns. Each chapter consists of best practices, useful advice, and a bunch of easy-to-follow examples that will build up your skills as you advance through the book.
Spring Essentials
Spring Essentials
Shameer Kunjumohamed
¥80.65
Build mission-critical enterprise applications using Spring Framework and Aspect Oriented ProgrammingAbout This BookStep into more advanced features of aspect-oriented programming and API components to build enterprise grade systemsBuild lightning-fast web applications and REST APIs using Spring MVC and its asynchronous processing capabilities with the view technologies of your choiceExplore simplified but powerful data access techniques including JPA (Java Persistence Architecture) repositories and NoSQL data accessWho This Book Is ForIf you are a Java developer who is looking to master Enterprise Java Development using Spring Framework, then this book is ideal for you. Prior understanding of core Java programming and a high-level understanding of Spring Framework is recommended. Having sound knowledge of servlet-based web development in Java and basic Database concepts would be an advantage but not a requirement.What You Will LearnSet up and build standalone and web-based projects using Spring Framework with Maven or GradleGet familiar with JSP Form processing using Spring and Form Tag LibraryDevelop RESTful API applications for XML and JSON data transfers with non-blocking asynchronous capabilitiesExplore Spring’s comprehensive transaction support for declarative Transaction Management and its integration with Spring’s data access abstractionsInvestigate Spring Data access mechanisms with Spring Data Repositories, a simple and consistent data-access abstractionConstruct real-time applications using WebSocket with a SockJS fallback optionUnderstand how to secure your Spring Web and standalone applications using Spring Security declaratively and consistentlyGet to grips with the end-to-end development of an API-based modern SPA using EmberJS at the front end and SpringMVC at the back endIn DetailSpring is an open source Java application development framework to build and deploy systems and applications that run on the JVM. It is the industry standard and the most popular framework among Java developers with over two-thirds of developers using it.Spring Essentials makes learning Spring so much quicker and easier with the help of illustrations and practical examples. Starting from the core concepts of features such as inversion of Control Container and BeanFactory, we move on to a detailed look at aspect-oriented programming. We cover the breadth and depth of Spring MVC, the WebSocket technology, Spring Data, and Spring Security with various authentication and authorization mechanisms.Packed with real-world examples, you’ll get an insight into utilizing the power of Spring Expression Language in your applications for higher maintainability. You’ll also develop full-duplex real-time communication channels using WebSocket and integrate Spring with web technologies such as JSF, Struts 2, and Tapestry. At the tail end, you will build a modern SPA using EmberJS at the front end and a Spring MVC-based API at the back end.By the end of the book, you will be able to develop your own dull-fledged applications with Spring.Style and approachThis book is a practical guide based on logical modules of the whole Spring Framework family, with a start-small approach, increasing in complexity as it progresses. Every chapter is an amalgamation of theory and practical examples, with further discussion on additional features and approaches.
Learning Unreal Engine Game Development
Learning Unreal Engine Game Development
Joanna Lee
¥80.65
A step-by-step guide that paves the way for developing fantastic games with Unreal Engine 4About This BookLearn about game development and the building blocks that go into creating a gameA simple tutorial for beginners to get acquainted with the Unreal Engine architectureLearn about the features and functionalities of Unreal Engine 4 and how to use them to create your own gamesWho This Book Is ForIf you are new to game development and want to learn how games are created using Unreal Engine 4, this book is the right choice for you. You do not need prior game development experience, but it is expected that you have played games before. Knowledge of C++ would prove to be useful.What You Will LearnLearn what a game engine is, the history of Unreal Engine, and how game studios create gamesExplore the Unreal Engine 4 editor controls and learn how to use the editor to create a room in a game levelUnderstand the basic structures of objects in a game, such as the differences between BSP and static meshesMake objects interactive using level blueprintsLearn more about computer graphics rendering; how materials and light are rendered in your gameGet acquainted with the Material Editor to create materials and use different types of lights in the game levelsUtilize the various editors, tools, and features such as UI, the particle system, audio, terrain manipulation, and cinematics in Unreal Engine 4 to create game levelsIn DetailUnreal Engine 4 is a powerful game development engine that provides rich functionalities to create 2D and 3D games across multiple platforms. Many people know what a game is and they play games every day, but how many of them know how to create a gameUnreal Engine technology powers hundreds of games, and thousands of individuals have built careers and companies around skills developed using this engine.Learning Unreal Engine 4 Game Development starts with small, simple game ideas and playable projects that you can actually finish. The book first teaches you the basics of using Unreal Engine to create a simple game level. Then, you'll learn how to add details such as actors, animation, effects, and so on to the game. The complexity will increase over the chapters and the examples chosen will help you learn a wide variety of game development techniques. This book aims to equip you with the confidence and skills to design and build your own games using Unreal Engine 4. By the end of this book, you'll have learnt about the entire Unreal suite and know how to successfully create fun, simple games.Style and approach This book explains in detail what goes into the development of a game, provides hands-on examples that you can follow to create the different components of a game, and provides sufficient background/theory to equip you with a solid foundation for creating your own games.
Learning Linux Binary Analysis
Learning Linux Binary Analysis
Ryan "elfmaster" O'Neill
¥80.65
Uncover the secrets of Linux binary analysis with this handy guideAbout This BookGrasp the intricacies of the ELF binary format of UNIX and LinuxDesign tools for reverse engineering and binary forensic analysisInsights into UNIX and Linux memory infections, ELF viruses, and binary protection schemesWho This Book Is ForIf you are a software engineer or reverse engineer and want to learn more about Linux binary analysis, this book will provide you with all you need to implement solutions for binary analysis in areas of security, forensics, and antivirus. This book is great for both security enthusiasts and system level engineers. Some experience with the C programming language and the Linux command line is assumed.What You Will LearnExplore the internal workings of the ELF binary formatDiscover techniques for UNIX Virus infection and analysisWork with binary hardening and software anti-tamper methodsPatch executables and process memoryBypass anti-debugging measures used in malwarePerform advanced forensic analysis of binariesDesign ELF-related tools in the C languageLearn to operate on memory with ptraceIn DetailLearning Linux Binary Analysis is packed with knowledge and code that will teach you the inner workings of the ELF format, and the methods used by hackers and security analysts for virus analysis, binary patching, software protection and more.This book will start by taking you through UNIX/Linux object utilities, and will move on to teaching you all about the ELF specimen. You will learn about process tracing, and will explore the different types of Linux and UNIX viruses, and how you can make use of ELF Virus Technology to deal with them.The latter half of the book discusses the usage of Kprobe instrumentation for kernel hacking, code patching, and debugging. You will discover how to detect and disinfect kernel-mode rootkits, and move on to analyze static code. Finally, you will be walked through complex userspace memory infection analysis.This book will lead you into territory that is uncharted even by some experts; right into the world of the computer hacker.Style and approachThe material in this book provides detailed insight into the arcane arts of hacking, coding, reverse engineering Linux executables, and dissecting process memory. In the computer security industry these skills are priceless, and scarce. The tutorials are filled with knowledge gained through first hand experience, and are complemented with frequent examples including source code.
Swift 2 By Example
Swift 2 By Example
Giordano Scalzo
¥80.65
Create robust and extensible iOS apps using the advanced features of Swift 2 About This Book Get up to speed with the new features of Swift 2 by following the exhaustive examples in this book Specialize in developing real iOS apps, and 2D and 3D videogames using Swift and Cocoapods Learn how to build server API apps to feed your iOS client apps Who This Book Is For This book is ideal for those who want to learn to develop app in Swift, starting the right way. Whether you are an expert Objective-C programmer or are new to this platform, you’ll quickly grasp the code of real world apps, and discover how to use Swift effectively. Prior experience in development for Apple devices would be helpful, but is not mandatory. What You Will Learn Create a server in Swift to deliver JSON data to an iOS app Take advantage of Cocoapods to use third-party libraries Use a clean and effective architecture to decrease complexity and speed up development Take advantage of the most useful parts of the iOS SDK Build games with SpriteKit and SceneKit Develop an app running on the cloud to act as an API server for your client’s apps In Detail Swift is no longer the unripe language it was when launched by Apple at WWDC14, now it’s a powerful and ready-for-production programming language that has empowered most new released apps. Swift is a user-friendly language with a smooth learning curve; it is safe, robust, and really flexible. Swift 2 is more powerful than ever; it introduces new ways to solve old problems, more robust error handling, and a new programming paradigm that favours composition over inheritance. Swift 2 by Example is a fast-paced, practical guide to help you learn how to develop iOS apps using Swift. Through the development of seven different iOS apps and one server app, you’ll find out how to use either the right feature of the language or the right tool to solve a given problem. We begin by introducing you to the latest features of Swift 2, further kick-starting your app development journey by building a guessing game app, followed by a memory game. It doesn’t end there, with a few more apps in store for you: a to-do list, a beautiful weather app, two games: Flappy Swift and Cube Runner, and finally an ecommerce app to top everything off. By the end of the book, you’ll be able to build well-designed apps, effectively use AutoLayout, develop videogames, and build server apps. Style and approach These easy-to-follow tutorials show you how to build real-world apps. The difficulty and complexity level increases chapter by chapter. Each chapter is dedicated to build a new app, beginning from a basic and unstyled app through to a full 3D game. The last two chapters show you how to build a complete client-server ecommerce app right from scratch.
Extending SaltStack
Extending SaltStack
Joseph Hall
¥80.65
Extend the power of your infrastructure and applications with Salt modules About This Book Get the most up-to-date practical resource on writing new Salt modules and extending Salt Learn through use cases and encounter both commonly-used modules as well as advanced ones Effectively troubleshoot problems and hiccups encountered while building and putting modules to work Who This Book Is For This book is for both new and existing Salt developers who are looking to build and write new Salt modules. Some prior Python development experience is expected. What You Will Learn Understand the working of Salt's Loader system Write several of the most common types of Salt modules Interact between different kinds of modules and build new ones Submit open source modules upstream to the Salt project Make Salt interact with third-party services and applications In Detail Salt already ships with a very powerful set of tools, but that doesn't mean that they all suit your needs perfectly. By adding your own modules and enhancing existing ones, you can bring the functionality that you need to increase your productivity. Extending SaltStack follows a tutorial-based approach to explain different types of modules, from fundamentals to complete and full-functioning modules. Starting with the Loader system that drives Salt, this book will guide you through the most common types of modules. First you will learn how to write execution modules. Then you will extend the configuration using the grain, pillar, and SDB modules. Next up will be state modules and then the renderers that can be used with them. This will be followed with returner and output modules, which increase your options to manage return data. After that, there will be modules for external file servers, clouds, beacons, and finally external authentication and wheel modules to manage the master. With this guide in hand, you will be prepared to create, troubleshoot, and manage the most common types of Salt modules and take your infrastructure to new heights! Style and approach This book follows a step-by-step tutorial-based approach explaining the different types of modules, from fundamentals to complete and full-functioning modules.
Learning Functional Data Structures and Algorithms
Learning Functional Data Structures and Algorithms
Atul S. Khot
¥80.65
Learn functional data structures and algorithms for your applications and bring their benefits to your work now About This Book Moving from object-oriented programming to functional programmingThis book will help you get started with functional programming. Easy-to-understand explanations of practical topics will help you get started with functional data structures. Illustrative diagrams to explain the algorithms in detail. Get hands-on practice of Scala to get the most out of functional programming. Who This Book Is For This book is for those who have some experience in functional programming languages. The data structures in this book are primarily written in Scala, however implementing the algorithms in other functional languages should be straight forward. What You Will Learn Learn to think in the functional paradigm Understand common data structures and the associated algorithms, as well as the context in which they are commonly used Take a look at the runtime and space complexities with the O notation See how ADTs are implemented in a functional setting Explore the basic theme of immutability and persistent data structures Find out how the internal algorithms are redesigned to exploit structural sharing, so that the persistent data structures perform well, avoiding needless copying. Get to know functional features like lazy evaluation and recursion used to implement efficient algorithms Gain Scala best practices and idioms In Detail Functional data structures have the power to improve the codebase of an application and improve efficiency. With the advent of functional programming and with powerful functional languages such as Scala, Clojure and Elixir becoming part of important enterprise applications, functional data structures have gained an important place in the developer toolkit. Immutability is a cornerstone of functional programming. Immutable and persistent data structures are thread safe by definition and hence very appealing for writing robust concurrent programs. How do we express traditional algorithms in functional settingWon’t we end up copying too muchDo we trade performance for versioned data structuresThis book attempts to answer these questions by looking at functional implementations of traditional algorithms. It begins with a refresher and consolidation of what functional programming is all about. Next, you’ll get to know about Lists, the work horse data type for most functional languages. We show what structural sharing means and how it helps to make immutable data structures efficient and practical. Scala is the primary implementation languages for most of the examples. At times, we also present Clojure snippets to illustrate the underlying fundamental theme. While writing code, we use ADTs (abstract data types). Stacks, Queues, Trees and Graphs are all familiar ADTs. You will see how these ADTs are implemented in a functional setting. We look at implementation techniques like amortization and lazy evaluation to ensure efficiency. By the end of the book, you will be able to write efficient functional data structures and algorithms for your applications. Style and approach Step-by-step topics will help you get started with functional programming. Learn by doing with hands-on code snippets that give you practical experience of the subject.
Mastering F#
Mastering F#
Alfonso García-Caro Núñez
¥80.65
A comprehensive and in-depth guide to writing functional programs using F# About This Book Learn how to manage, run, and automate your servers using Puppet Explore how to use F# to develop large-scale applications quickly and simply, and become more productive in today’s age of cloud computing and multi-core programming This easy-to-follow guide is packed with real-world examples that will jump-start you with F# development on the .NET platform Who This Book Is For If you are a C# developer with a basic knowledge of F# and want to explore the functional programming paradigm further to master your F# skills, then this book is for you. What You Will Learn Understand the basics of F# and organize F# source code with Visual Studio Work with F# data structures and create functional data structures in F# interoperate with C# Build and use asynchronous programming patterns with F# Create and use type providers that help perform data analysis from within Visual Studio Develop applications with pure F# code in WPF or ASP.NET MVC Find out how to perform distributed programming with ServiceBus or ZeroMQ Visualize data with charts, and work with Excel and R language Type providers In Detail F# is a multi-paradigm programming language that encompasses object-oriented, imperative, and functional programming language properties. Now adopted in a wide range of application areas and is supported both by industry-leading companies who provide professional tools and by an active open community, F# is rapidly gaining popularity as it emerges in digital music advertising, creating music-focused ads for Spotify, Pandora, Shazam, and anywhere on the web. This book will guide you through the basics and will then help you master F#. The book starts by explaining how to use F# with Visual Studio, file ordering, and the differences between F# and C# in terms of usage. It moves on to explain the functional core of F# such as data types, type declarations, immutability, strong type interference, pattern matching, records, F# data structures, sequence expressions, and lazy evaluation. Next, the book takes you through imperative and asynchronous programming, F# type providers, applications, and testing in F#. Finally, we look into using F# with distributed programming and using F# as a suitable language for data science. In short, this book will help you learn F# for real-world applications and increase your productivity with functional programming. Style and approach This easy-to-follow guide with syntaxes will help you master the concepts of F#. Packed with in-depth examples of real-world uses, this book covers each topic in detail with a reference to C#, so you will understand the difference between the languages.
KVM Virtualization Cookbook
KVM Virtualization Cookbook
Konstantin Ivanov
¥80.65
Deploy, manage, and scale virtual instances using Kernel-based Virtual Machines About This Book ? Build, manage and scale virtual machines with practical step-by-step examples ? Leverage the libvirt user-space tools and libraries to manage the life-cycle of KVM instances ? Deploy and scale applications inside KVM virtual machines with OpenStack Who This Book Is For If you are a system administrator working KVM virtualization, this book will help you grow on your expertise of working with the infrastructure to manage things in a better way. You should have a knowledge of working with Linux based systems. What You Will Learn ? Deploy different workloads in isolation with KVM virtualization and better utilize the available compute resources ? Explore the benefits of running applications with KVM and learn to prevent the “bad-neighbor” effect ? Leveraging various networking technologies in the context of virtualization with Open vSwitch and the Linux bridge. ? Create KVM instances using Python and inspect running KVM instances ? Understand Kernel Tuning for enhanced KVM performance and better memory utilization In Detail Virtualization technologies such as KVM allow for better control over the available server resources, by deploying multiple virtual instances on the same physical host, or clusters of compute resources. With KVM it is possible to run various workloads in isolation with the hypervisor layer providing better tenant isolation and higher degree of security. This book will provide a deep dive into deploying KVM virtual machines using qemu and libvirt and will demonstrate practical examples on how to run, scale, monitor, migrate and backup such instances. You will also discover real production ready recipes on deploying KVM instances with OpenStack and how to programatically manage the life cycle of KVM virtual machines using Python. You will learn numerous tips and techniques which will help you deploy & plan the KVM infrastructure. Next, you will be introduced to the working of libvirt libraries and the iPython development environment. Finally, you will be able to tune your Linux kernel for high throughput and better performance. By the end of this book, you will gain all the knowledge needed to be an expert in working with the KVM virtualization infrastructure. Style and approach This book takes a complete practical approach with many step-by-step example recipes on how to use KVM in production. The book assumes certain level of expertise with Linux systems and virtualization in general. Some knowledge of Python programming is encouraged, to fully take advantage of the code recipes.
Mastering Bash
Mastering Bash
Giorgio Zarrelli
¥80.65
Your one stop guide to making the most out of Bash programming About This Book ? From roots to leaves, learn how to program in Bash and automate daily tasks, pouring some spice in your *s ? Daemonize a * and make a real service of it, ensuring it’s available at any time to process user-fed data or commands ? This book provides functional examples that show you practical applications of commands Who This Book Is For If you're a power user or system administrator involved in writing Bash *s to automate tasks, then this book is for you. This book is also ideal for advanced users who are engaged in complex daily tasks. What You Will Learn ? Understand Bash right from the basics and progress to an advanced level ? Customise your environment and automate system routine tasks ? Write structured *s and create a command-line interface for your *s ? Understand arrays, menus, and functions ? Securely execute remote commands using ssh ? Write Nagios plugins to automate your infrastructure checks ? Interact with web services, and a Slack notification * ? Find out how to execute subshells and take advantage of parallelism ? Explore inter-process communication and write your own daemon In Detail System administration is an everyday effort that involves a lot of tedious tasks, and devious pits. Knowing your environment is the key to unleashing the most powerful solution that will make your life easy as an administrator, and show you the path to new heights. Bash is your Swiss army knife to set up your working or home environment as you want, when you want. This book will enable you to customize your system step by step, making your own real, virtual, home out of it. The journey will take you swiftly through the basis of the shell programming in Bash to more interesting and challenging tasks. You will be introduced to one of the most famous open source monitoring systems—Nagios, and write complex programs with it in any languages. You’ll see how to perform checks on your sites and applications. Moving on, you’ll discover how to write your own daemons so you can create your services and take advantage of inter-process communication to let your *s talk to each other. So, despite these being everyday tasks, you’ll have a lot of fun on the way. By the end of the book, you will have gained advanced knowledge of Bash that will help you automate routine tasks and manage your systems. Style and approach This book presents step-by-step instructions and expert advice on working with Bash and writing *s. Starting from the basics, this book serves as a reference manual where you can find handy solutions and advice to make your *s flexible and powerful.
OAuth 2.0 Cookbook
OAuth 2.0 Cookbook
Adolfo Eloy Nascimento
¥80.65
Efficiently integrate OAuth 2.0 to protect your mobile, desktop, Cloud applications and APIs using Spring Security technologies. About This Book ? Interact with public OAuth 2.0 protected APIs such as Facebook, LinkedIn and Google. ? Use Spring Security and Spring Security OAuth2 to implement your own OAuth 2.0 provider ? Learn how to implement OAuth 2.0 native mobile clients for Android applications Who This Book Is For This book targets software engineers and security experts who are looking to develop their skills in API security and OAuth 2.0. Prior programming knowledge and a basic understanding of developing web applications are necessary. As this book's recipes mostly use Spring Security and Spring Security OAuth2, some prior experience with Spring Framework will be helpful. What You Will Learn ? Use Redis and relational databases to store issued access tokens and refresh tokens ? Access resources protected by the OAuth2 Provider using Spring Security ? Implement a web application that dynamically registers itself to the Authorization Server ? Improve the safety of your mobile client using dynamic client registration ? Protect your Android client with Proof Key for Code Exchange ? Protect the Authorization Server from invalid redirection In Detail OAuth 2.0 is a standard protocol for authorization and focuses on client development simplicity while providing specific authorization flows for web applications, desktop applications, mobile phones, and so on. This book also provides useful recipes for solving real-life problems using Spring Security and creating Android applications. The book starts by presenting you how to interact with some public OAuth 2.0 protected APIs such as Facebook, LinkedIn and Google. You will also be able to implement your own OAuth 2.0 provider with Spring Security OAuth2. Next, the book will cover practical scenarios regarding some important OAuth 2.0 profiles such as Dynamic Client Registration, Token Introspection and how to revoke issued access tokens. You will then be introduced to the usage of JWT, OpenID Connect, and how to safely implement native mobile OAuth 2.0 Clients. By the end of this book, you will be able to ensure that both the server and client are protected against common vulnerabilities. Style and approach With the help of real-world examples, this book provides step by step recipes for troubleshooting and extending your API security. The book also helps you with accessing and securing data on mobile, desktop, and cloud apps with OAuth 2.0.
Industrial Cybersecurity
Industrial Cybersecurity
Pascal Ackerman
¥80.65
Your one-step guide to understanding industrial cyber security, its control systems, and its operations. About This Book ? Learn about endpoint protection such as anti-malware implementation, updating, monitoring, and sanitizing user workloads and mobile devices ? Filled with practical examples to help you secure critical infrastructure systems efficiently ? A step-by-step guide that will teach you the techniques and methodologies of building robust infrastructure systems Who This Book Is For If you are a security professional and want to ensure a robust environment for critical infrastructure systems, this book is for you. IT professionals interested in getting into the cyber security domain or who are looking at gaining industrial cyber security certifications will also find this book useful. What You Will Learn ? Understand industrial cybersecurity, its control systems and operations ? Design security-oriented architectures, network segmentation, and security support services ? Configure event monitoring systems, anti-malware applications, and endpoint security ? Gain knowledge of ICS risks, threat detection, and access management ? Learn about patch management and life cycle management ? Secure your industrial control systems from design through retirement In Detail With industries expanding, cyber attacks have increased significantly. Understanding your control system’s vulnerabilities and learning techniques to defend critical infrastructure systems from cyber threats is increasingly important. With the help of real-world use cases, this book will teach you the methodologies and security measures necessary to protect critical infrastructure systems and will get you up to speed with identifying unique challenges.Industrial cybersecurity begins by introducing Industrial Control System (ICS) technology, including ICS architectures, communication media, and protocols. This is followed by a presentation on ICS (in) security. After presenting an ICS-related attack scenario, securing of the ICS is discussed, including topics such as network segmentation, defense-in-depth strategies, and protective solutions. Along with practical examples for protecting industrial control systems, this book details security assessments, risk management, and security program development. It also covers essential cybersecurity aspects, such as threat detection and access management. Topics related to endpoint hardening such as monitoring, updating, and anti-malware implementations are also discussed. Style and approach A step-by-step guide to implement Industrial Cyber Security effectively.