Web Scraping with PythonLearn web scraping and crawling techniques to access unlimited data from any web source in any format. With this practical guide, you'll learn how to use Python scripts and web APIs to gather and process data from thousands - or even millions - of web pages at once.
Ideal for programmers, security professionals, and web administrators familiar with Python, this book not only teaches basic web scraping mechanics, but also delves into more advanced topics, such as analyzing raw data or using scrapers for frontend website testing. Code samples are available to help you understand the concepts in practice. ...
Nginx EssentialsNginx is an open source and cross-platform reverse proxy server designed for low memory usage and high performance and concurrency.
This book provides both basic and in-depth knowledge to help you effectively solve challenges with Nginx, or comfortably go through a transition period when switching to Nginx.
Starting with the basics, you will learn by example how to set up, configure, and operate an Nginx installation and use features of Nginx to elegantly solve challenges you experience every day when running your website. You will learn to use the rewrite engine to solve day-to-day tasks and be able to configure access restrictions in Nginx. You will also be able to manage inbound traffic using a number of Nginx features and use Nginx for load balancing and fault-tolerance features. Finally, you will learn how to solve common performance problems and apply a number of performance-tuning strategies.
Through easy exploration of the most intricate topics, this book aims to bring ...
JavaScript Regular ExpressionsRegular expressions are patterns or templates that allow you to define a set of rules in a natural yet vague way, giving you the ability to match and validate text. Therefore, they have been implemented in nearly every modern programming language. JavaScript's implementation allows us to perform complex tasks with a few lines of code using regular expressions to match and extract data out of text.
This book starts by exploring what a pattern actually is and how regular expressions express these patterns to match and manipulate user data. You then move on to learning about the use of character classes to define a wild character match, a digit match, and an alphanumeric match. You will then learn to manipulate text and shorten data in URLs, paths, markup, and data exchange, as well as other advanced Regex features.
Finally, you will work through real-world examples, both in the browser and on the server side using Node.js. ...
Neo4j CookbookNeo4j is an open source graph database written in Java. Graph databases provide an excellent way to get richer insight into data and lower the bar for entry into the data science world. Starting with a practical and vital introduction to Neo4j and various aspects of Neo4j installation, you will learn how to connect and access Neo4j servers from programming languages such as Java, Python, Ruby, and Scala. You will also learn about Neo4j administration and maintenance before expanding and advancing your knowledge by dealing with large Neo4j installations and optimizing them for both storage and querying.
This is a practical guide full of examples and Neo4j recipes. The recipes are well explained with code samples that are updated for the latest version of Neo4j. ...
Learning WebRTCThe book begins by teaching you how to capture audio and video streams from the browser using the Media Capture and Streams API.
You will then create your first WebRTC application capable of audio and video calling. The book will also give you in-depth knowledge about signaling and building a signaling server in Node.js. While being introduced to the RTCDataChannel object, you will learn how it relates to WebRTC and how to add text-based chat to your application. You will also learn to take your application further by supporting multiple users through different technologies and scale its performance and security. This book will also cover several theories using full mesh networks, partial mesh networks, and multipoint control units. By the end of this book, you will have an extensive understanding of real-time communication and the WebRTC protocol and APIs. ...
Bootstrap EssentialsThis book will familiarize you with all the features, functionalities, and architectural knowledge of the Bootstrap platform. You will begin by discovering the mobile-first philosophy and what Bootstrap is. You will learn about Bootstrap's architecture and components, and how to use Bootstrap with LESS. You will create responsive layouts using Bootstrap CSS and work with the packaged components that come along with Bootstrap. You will proceed to explore the various JavaScript components and add-ons offered by Bootstrap. Finally, you will learn how to customize Bootstrap, compile and build your Bootstrap code, and extend Bootstrap with different extensions to create more advanced websites.
By the end of this book, you will be able to build, compile, and customize your own Bootstrap system to create mobile friendly websites. ...
Mastering jQueryMastering jQuery has been written not only to help maximize your skills with core functionality in the library, but also to explore some of the more intriguing ways of using the library to achieve real-world solutions that could feature on any website or online environment.
You'll start with a look at some of the more advanced ways to incorporate the library into your pages, followed by working with forms and advanced form validation using regular expressions. Next you'll move on to animating in jQuery, advanced event handling, and using jQuery effects.
Finally, you will develop practical examples of using jQuery with external functionality such as node-webkit, before finishing with a session on optimizing your version of the library for maximum efficiency and exploring best practices for using QUnit. ...
AWS System AdministrationAfter getting over the excitement of the scaling and cost-saving possibilities offered by Amazon Web Services, system administrators quickly come up against complexities and gotchas in the management of systems. How can they make sure auto-scaling kicks in when it is suppose to? How do they make sure DNS sends traffic to the right systems? How do they integrate automated management tools such as Chef and Puppet?
This book is a comprehensive guide to the administrative features of AWS and how to make the most of them to minimize your administrative work. You'll learn how to configure and manage powerful AWS tools, such as CloudFormation, OpsWorks, Elastic Load Balancing, and Route 53. AWS administration is no easier than stand-alone server administration - it's just different, and very rewarding once you set up your automation right. This book shows you how. ...
NGINX High PerformanceNGINX is one of the most common free, open source web servers. Its performance-oriented architecture and small footprint makes it an ideal choice for high-traffic websites.
NGINX offers great performance and optimal resource utilization to its administrators. This practical guide walks you through how to tune one of the leading free open source web servers to attain optimal performance for high-traffic sites. It also explores ways to improve network utilization for high loads.
The tour starts with an overview of the NGINX architecture. You will build and configure NGINX for optimal utilization of the hardware available. The book demonstrates various practices to improve last mile content delivery by using timeouts, caching, and compression. You'll also discover various free open source tools to test and benchmark web server performance, allowing you to verify NGINX performance at every step. ...
Jasmine JavaScript Testing, 2nd EditionTake your testing of JavaScript applications to a new level of efficiency and reliability with the help of this book. Starting with the fundamentals of Jasmine and behavior-driven development (BDD), you will learn about tooling and automation. You will learn how to create a sustainable code base with the help of Jasmine. You will also take a look at integrated testing with React.js and Karma, and how you can speed this process up by faking AJAX requests. As you progress through the book, you will learn about the challenges of testing an application built on top of a framework and how you can prevent your application from suffering from dependency management. You will understand the concept of client-side and server-side rendering and test applications using React.js. You will also learn to automate using webpack and work with JavaScript module systems using ECMA Script 6 (ES6) modules.
By the end of this book, you will be a competent web developer with good knowledge and a strong un ...