Web programming Books
APress Principles of Package Design
Book SynopsisApply design principles to your classes, preparing them for reuse. You will use package design principles to create packages that are just right in terms of cohesion and coupling, and are user- and maintainer-friendly at the same time. The first part of this book walks you through the five SOLID principles that will help you improve the design of your classes. The second part introduces you to the best practices of package design, and covers both package cohesion principles and package coupling principles. Cohesion principles show you which classes should be put together in a package, when tosplit packages, and if a combination of classes may be considered a package inthe first place. Package coupling principles help you choose the right dependencies and prevent wrong directions in the dependencygraph of your packages. What You'll LearnApply the SOLID principles of class designDetermine if classes belong in the same packageKnow whether it is safe for packages to depend on each otheTable of ContentsPart 1: Class Design.- Chapter 1: The Single Responsibility Principle.- Chapter 2: The Open/Closed Principle.- Chapter 3: The Liskov Substitution Principle.- Chapter 4: The Interface Segregation Principle.- Chapter 5: The Dependency Inversion Principle.- Part 2: Package Design.- Chapter 6: The Release/Reuse Equivalence Principle.- Chapter 7: The Common Reuse Principle.- Chapter 8: The Common Closure Principle.- Chapter 9: The Acyclic Dependencies Principle.- Chapter 10: The Stable Dependencies Principle.- Chapter 11: The Stable Abstractions Principle.- Chapter 12: Conclusion.- Appendix A: The Full Page Class.-
£58.49
APress The Full Stack Developer
Book SynopsisTable of Contents1. The Modern Web2. Planning Your Work3. User Experience4. Designing Systems5. Ethics6. Front-End7. Testing8. JavaScript9. Accessibility10. APIs11. Storing Data12. Security13. Deployment14. In Production15. Constant Learning16. Epilogue
£37.49
APress Building Digital Experience Platforms
Book SynopsisUse digital experience platforms (DXP) to improve your development productivity and release timelines. Leverage the pre-integrated feature sets of DXPs in your organization''s digital transformation journey to quickly develop a personalized, secure, and robust enterprise platform.In this book the authors examine various features of DXPs and provide rich insights into building each layer in a digital platform. Proven best practices are presented with examples for designing and building layers. A special focus is provided on security and quality attributes needed for business-critical enterprise applications. The authors cover modern and emerging digital trends such as Blockchain, IoT, containers, chatbots, artificial intelligence, and more.The book is divided into five parts related to requirements/design, development, security, infrastructure, and case study. The authors employ proven real-world methods, best practices, and security and integration techniques derived fTable of ContentsPart 1: Requirements and Design.- Chapter 1: Introduction to Digital Experience Platforms (DXP).- Chapter 2: Gathering Requirements.- Chapter 3: Design.- Part 2: Development of the Banking Experience Platform.- Chapter 4: User Interface Design.- Chapter 5: Designing Integration Layer.- Part 3: Securing Banking Experience Platform.- Chapter 6: DXP Security.- Chapter 7: DXP Information Security.- Part 4: Infrastructure and NFR for Banking Experience Platform.- Chapter 8: Quality Attributes and Sizing of DXP.- Chapter 9: DXP Performance Optimization.- Chapter 10: Transforming Legacy Banking Applications to Banking Experience Platforms.- Part 5: End to End Case Study.- Chapter 11: End-to-End DXP Case Study.- Appendix A: Open-Source Tools and Frameworks.- Appendix B: Source Code.- Appendix C: Further Reading.-
£47.49
APress Pro React 16
Book SynopsisUse the enormously popular React framework to build dynamic JavaScript applications that take advantage of the capabilities of modern browsers and devices. You will learn how React brings the power of strong architecture and responsive data to the client, providing the foundation for complex and rich user interfaces.Best-selling author Adam Freeman explains how to get the most from React. He begins by describing the React architecture and the benefits it offers and then shows you how to use React and its associated tools and libraries in your projects, starting from the nuts and bolts and building up to the most advanced and sophisticated features, going in-depth to give you the knowledge you need.Each topic is presented clearly and concisely. Chapters include common problems and how to avoid them.What You''ll Learn Gain a solid understanding of the React design Create rich and dynamic web app clients using ReactTable of ContentsPart 1 - Getting Started with React 1 - Your First React Application 2 - Understanding React 3 - HTML and JSX Primer 4 - JavaScript Primer 5 - SportsStore: A Real Application 6 - SportsStore: REST and Checkout 7 - SportsStore: Administration 8 - SportsStore: Authentication and Deployment Part 2 - Working with React 9 - Understanding React Projects 10 - Stateless Components 11 - Stateful Components 12 - Events 13 - Reconciliation and Lifecycle 14 - Composing Applications 15 - Forms and Validations 16 - Using Refs 17 - Unit Testing Part 3 - Creating Complete React Applications 18 - Creating Complete Applications 19 - Using a Data Store 20 - Using the Data Store APIs 21 - Using URL Routing 22 - Advanced URL Routing 23 - Using RESTful Web Services 24 - Understanding GraphQL 25 - Consuming GraphQL
£49.49
APress Building Android Apps in Python Using Kivy with
Book Synopsis Start building Python-based Android applications using Kivy with Android Studio. Through in-depth examples, this book teaches you everything you need to create your first Android application in Python and publish on Google Play. Building Android Apps in Python Using Kivy with Android Studio takes you through the basics of Kivy by discussing its application structure, widgets, and event handling. The KV language is then introduced for separating the logic and GUI by adding widgets within a KV file. You will then learn how to utilize Android camera using Kivy, build the HTTP server using Flask, and create and manage multiple screens to help you design your own applications. Through detailed step-by-step instructions, you will create your first multi-level cross-platform game that includes animation and sound effects. Following this, the process of converting the Kivy application into an Android application using Buildozer and Python-4-Android is covered iTable of Contents
£49.49
APress Pro D3.js
Book SynopsisGo beyond the basics of D3.js to create maintainable, modular, and testable charts and to package them into a library that can be distributed as open source software or kept for private use. This book will show you how to transform regular D3.js chart code into reusable and extendable modules.You know the basics of working with D3.js, but it''s time to become a professional D3.js practitioner. This book is your launching pad to refactoring code, composing complex visualizations from small components, working as a team with other developers, and integrating charts with a Continuous Integration system. You''ll begin by creating a production-ready chart using D3.js v5, ES2015, and a test-driven approach and then move on to using and extending Britecharts, the reusable charting library based on Reusable API patterns. Finally, you''ll see how to use D3.js along with React to document and build your charts to compose a charting library you can release into the NPM repository.Table of Contents1. Introduction to Data Visualizations with D3.js 2. An Archetypal D3.js Chart 3. D3.js Code Encapsulation APIs 4. The Reusable API 5. Making the Bar Chart Production-Ready 6. Britecharts 7. Using and Customizing Britecharts8. Extending a Chart 9. Testing Your Charts 10. Building Your Library11. Creating Documentation 12. Using Your Library with React
£49.49
APress Essential Angular for ASP.NET Core MVC 3
Book SynopsisCombine the strengths of Angular, the leading framework for developing complex client-side applications, and ASP.NET Core MVC 3, the latest evolution of Microsoft''s framework for server-side applications. This new edition offers updated Angular, ASP.NET Core 3, Entity Framework Core 3 examples, an all-new chapter on interoperability with Blazor, and more!Best-selling author Adam Freeman brings together these two key technologies and explains how to use ASP.NET Core MVC 3 to provide back-end services for Angular applications. This fast-paced and practical guide starts from the nuts and bolts and gives you the knowledge you need to combine Angular and ASP.NET Core MVC 3 in your projects.Each topic is covered clearly and concisely and is packed with the essential details you need to learn to be truly effective.What You Will Learn Gain a solid understanding of how ASP.NET Core MVC 3 and Angular can work together Utilize botTable of Contents1: Understanding Angular and ASP.NET Core MVC 2: Getting Ready 3: Creating the Combined Project 4: Creating the Data Model 5: Creating the RESTful Web Service 6: Completing the RESTful Web Service 7: Structuring the Angular Application 8: Creating the Angular Store 9: Completing the Angular Store 10: Using Angular with Blazor 11: Administering the Application 12: Securing the Application 13: Preparing for Deployment
£35.99
APress Beginning Database Programming Using ASP.NET Core
Book SynopsisHit the ground running with this book to quickly learn the fundamentals of HTML form processing, user authentication, and database CRUD (Create, Read, Update, and Delete) operations using the ASP.NET Core family of technologies. You will utilize cutting-edge and popular technology options from both the server side and client side to help you achieve your web application goals as quickly as possible.Developers who want to learn ASP.NET Core and complementary technologies are often overwhelmed by the large number of options involved in building modern web applications. This book introduces you to the most popular options so that you can confidently begin working on projects in no time. You will learn by example, building a sample application that demonstrates how the same application can be built using different options. This experiential approach will give you the basic skills and knowledge to understand how the options work together so that you can make an informed decision abouTable of ContentsChapter 01 : Introduction to ASP.NET Core Chapter 02 : Sample Application Chapter 03 : ASP.NET Core MVC Chapter 04 : ASP.NET Core Razor Pages Chapter 05 : ASP.NET Core Web API Chapter 06 : jQuery Chapter 07 : Angular Chapter 08 : Blazor Chapter 09 : Azure SQL Database, Azure Cosmos DB, and MongoDB Chapter 10 : Deployment
£44.99
APress Beginning Rails 6
Book SynopsisSpringboard your journey into web application development and discover how much fun building web applications with Ruby on Rails can be. This book has been revised to cover what''s new in Rails 6 including features such as WebPack, advanced JavaScript integration, Action Mailbox, Action Text, system and parallel testing, Action Cable testing, and more. Beginning Rails 6 gently guides you through designing your application, writing tests for the application, and then writing the code to make your application work as expected. It is a book that will guide you from never having programmed with Ruby, to having a Rails 6 application built and deployed to the web. After reading and using this book, you''ll have the know-how and the freely available source code to get started with your own Rails-based web development in days. What You Will Learn Create Ruby on Rails 6 web applications froTable of Contents1. Introducing the Rails Framework2. Getting Started3. Getting Something Running4. Introduction to the Ruby Language5. Working with a Database: Active Record6. Advanced Active Record: Enhancing Your Models7. Action Pack: Working with the View and the Controller8. Advanced Action Pack9. JavaScript and CSS10. Sending and Receiving Email11. Testing Your Application12. Internationalization13. Deploying Your Rails ApplicationsA. Databases 101B. The Rails CommunityC. Git NOTES below: for Planned Revisions for Beginning Rails 6 Chapter 1: Introducing the Rails Framework The majority of chapter 1 is still relevant, needing only minor, superficial changes. This may also be a good place to address the “is rails dead?” question. In short, no -- Rails is not dead, it’s mature. Chapter 2: Getting StartedThis chapter needs to be updated to include more recent installation instructions and screenshots for more recent versions of technologies involved. The general idea is the same, though.Chapter 3: Getting Something Running This chapter needs minor updates to:Reflect the new directory structure created by RailsReflect that Rails 6 now uses webpack instead of the asset pipelineChapter 4: Introduction to the Ruby LanguageThis chapter needs little, if any revision, as the basics of Ruby which it covers haven’t changed much.Chapter 5: Working with a Database: Active RecordThis chapter needs little, if any revision.Chapter 6: Advanced Active Record: Enhancing Your ModelsThis chapter seems like it would need only minor revisions. It is a dense chapter, though, with lots of code samples that need to be verified.Chapter 6.5: ActiveModelWe could add this chapter, showing readers how they can create objects very similar to ActiveRecord models described in the previous chapter, but which aren’t directly backed by the database. We would explain why this can be useful, and include an example of usage that fits in with the sample application being developed throughout the app.Chapter 7: Action Pack: Working with the View and the Controller Like the previous chapter, this chapter is still mostly relevant, but has a lot of code samples and screenshots which need verification and updating.Also, the following sections have some changes in Rails 6 that should be updated:“Using Form Helpers” (`form_with` was added, and is the preferred way going forward.)“Rendering a Collection of Partials” ( Rails 6 has a newer, more performant way of rendering a collection of partials which should be described)Also, a section on Caching could be added, though it’s not new, and may not be appropriate for a “Beginning” book.Chapter 7.5: ActionTextIn this chapter, we would introduce ActionText, which gives the developer a simple path for adding a WYSIWYG editor to their application. This would be a short chapter, and we would show how to add a WYSIWYG editor to the sample application.Chapter 8: Advanced Action PackThis section only needs minor updates to verify code samples are still correct, and to update screenshots. Chapter 8.5: ActiveStorageActiveStorage facilitates the attaching of files to records. (e.g., product images, downloadable pdfs, etc.) We would explain why this is useful, how to configure it, and then provide code samples for how to enhance the sample application with images for each article, or something like that.)Chapter 9: JavaScript and CSSThis chapter needs significant revision. The structure of the chapter is good, but the underlying technologies have changed significantly, and all code samples need to be replaced. Thankfully this is a relatively short chapter. Chapter 10: Sending and Receiving E-Mail The existing content is mostly still relevant. Hower, the following changes should be made:We could add a section on “Previewing Emails” (https://edgeguides.rubyonrails.org/action_mailer_basics.html#previewing-emails), a new feature which aids development of emails sent by a Rails app.We could add a small section on “Action Mailer Callbacks” The section on “Receiving E-Mail” should be updated to reflect the new “ActionMailbox” featureChapter 10.5: ActiveJobIn this chapter, we would explain the concept of background jobs, explain why they’re useful, and then provide a working sample which ties into the sample application. (Namely, as a way of sending the email developed in the previous chapter.)Chapter 11: Testing Your ApplicationThis chapter will need some more significant updates, as Rails 6 has changed some concepts and introduced new ones:“Parallel testing” is new, and should be introduced -- it can dramatically increase the speed of running the test suite“Functional Testing Your Controllers” needs to be revised to reflect new technology“System Testing” could be added to introduce readers to the concept of browser-based testingSmall sections for testing ActiveJob and ActionMailer, and ActionCable could be addedChapter 12: InternationalizationThis chapter is still mostly relevant, and would only need small revisions. Additionally, we could introduce the concept of “lazy lookup”, allowing developers to rely on convention to make their usage of internationalization keys throughout their code more concise.Chapter 12.5: ActionCableWe could add a chapter to introduce this concept to the reader, explaining how it could be used to add “real-time” functionality to their application. (The easiest to understand example is a chat system, where you want to see messages from another user as soon as they are submitted without having to refresh the page.)We could add sample code to add something like a chat system to the application, though it seems like a stretch. I may try to think of a more relevant feature to add to the sample application.Chapter 13: Deploying Your Rails Applications This short chapter is still mostly relevant, but needs minor revisions to reflect newer technologies and software versions.Appendix A: Databases This appendix needs little (or no) revision.Appendix B: The Rails CommunityThis appendix is mostly fine as-is; I would just want to make sure links are still valid, and that we’re not overlooking any new sources.Appendix C: GitThis appendix is still mostly relevant. I would just want to update links and references to version numbers, and make sure that example output and function listings are up-to-date.
£41.24
APress Essential Java for AP CompSci
Book SynopsisTable of Contents1. WELCOME TO COMPUTER SCIENCE2. SPRINT 01: INTRODUCTION3. SPRINT 02: SETTING UP THE JAVA JDK AND INTELLIJ4. SPRINT 03: SETTING UP GITHUBa. QUIZ 01b. QUIZ 025. SPRINT 04: PROGRAMMING LANGUAGES6. SPRINT 05: HISTORY AND USES OF JAVA7. SPRINT 06: HOW JAVA WORKSa. QUIZ 038. SPRINT 07: FLOWCHARTINGa. ASSIGNMENT 01: PBJ’Db. QUIZ 049. SPRINT 08: HELLO, WORLDa. QUIZ 0510. SPRINT 09: SIMPLE JAVA PROGRAM STRUCTURE11. SPRINT 10: TEXT LITERALS AND OUTPUTa. ASSIGNMENT 02: EE’D12. SPRINT 11: VALUE LITERALS13. SPRINT 12: OUTPUT FORMATTING14. SPRINT 13: COMMENTS AND WHITESPACE15. SPRINT 14: ABSTRACTION OF NUMBERS16. SPRINT 15: BINARYa. QUIZ 0617. SPRINT 16: UNICODE18. SPRINT 17: VARIABLES19. SPRINT 18: MATH. UGH.a. QUIZ 07b. ASSIGNMENT 03: SILO’D20. SPRINT 19: MATH FUNCTIONS21. SPRINT 20: MANAGING TYPEa. ASSIGNMENT 04: SPACE’Db. QUIZ 08c. QUIZ 09d. QUIZ 10e. QUIZ 1122. SPRINT 21: RANDOM NUMBERS23. SPRINT 22: CAPTURE INPUT24. SPRINT 23: CREATING TRACE TABLES25. SPRINT 24: FUNCTIONSa. ASSIGNMENT 05: ORC’D26. SPRINT 25: NESTED FUNCTIONS27. SPRINT 26: FUNCTIONS AND VALUESa. QUIZ 1228. SPRINT 27: FUNCTIONS AND SCOPEa. QUIZ 13b. QUIZ 14c. QUIZ 15d. ASSIGNMENT 06: ULTIMA’De. ASSIGNMENT 07: CYCLONE’D29. SPRINT 28: BOOLEAN VALUES AND EQUALITYa. QUIZ 16b. ASSIGNMENT 08: SPRINT’Dc. USER STORY: 52-PICKUP30. SPRINT 29: SIMPLE CONDITIONAL STATEMENTSa. USER STORY: YAHTZEEb. USER STORY: YAHTZEE TESTINGc. QUIZ 17d. QUIZ 18e. QUIZ 1931. SPRINT 30: MATCHING CONDITIONS WITH THE SWITCH STATEMENT32. SPRINT 31: THE TERNARY OPERATOR33. SPRINT 32: THE STACK AND THE HEAP34. SPRINT 33: TESTING EQUALITY WITH STRINGSa. ASSIGNMENT 09: ESCAPE’Db. USER STORY: ESCAPE’D WHITE BOX35. SPRINT 34: DEALING WITH ERRORS36. SPRINT 35: DOCUMENTING WITH JAVADOC37. SPRINT 36: FORMATTED STRINGS38. SPRINT 37: THE WHILE LOOPa. QUIZ 20b. QUIZ 21c. QUIZ 2239. SPRINT 38: AUTOMATIC PROGRAM LOOPS40. SPRINT 39: THE DO/WHILE LOOPa. ASSIGNMENT 10: SEQUENCE’Db. USER STORY: DICEYc. USER STORY SOLUTION: DICEYd. USER STORY: CONVERTERe. USER STORY SOLUTION: CONVERTER41. SPRINT 40: PROBABILITY42. SPRINT 41: SIMPLIFIED ASSIGNMENT OPERATORS43. SPRINT 42: THE FOR LOOPa. QUIZ 23b. ASSIGNMENT 11: ODDS’D44. SPRINT 43: NESTING LOOPSa. USER STORY: MAP BUILDER45. SPRINT 44: STRINGS AS COLLECTIONSa. ASSIGNMENT 12: PALINDROME’Db. QUIZ 2446. SPRINT 45: MAKE COLLECTIONS USING ARRAYSa. QUIZ 2547. SPRINT 46: CREATING ARRAYS FROM STRINGSa. ASSIGNMENT 13: ELECTION’Db. QUIZ 2648. SPRINT 47: MULTIDIMENSIONAL ARRAYS49. SPRINT 48: LOOPING THROUGH MULTIDIMENSIONAL ARRAYSa. QUIZ 27b. QUIZ 2850. SPRINT 49: BEYOND ARRAYS WITH ARRAYLISTS51. SPRINT 50: INTRODUCING GENERICS52. SPRINT 51: LOOPING WITH ARRAYLISTSa. ASSIGNMENT 14: LIST’D53. SPRINT 52: USING FOR…EACH LOOPSa. ASSIGNMENT 15: NUMBER’Db. QUIZ 29c. QUIZ 3054. SPRINT 53: THE ROLE-PLAYING GAME CHARACTERa. ASSIGNMENT 16: ROLL’D55. SPRINT 54: POLYMORPHISMa. ASSIGNMENT 17: EXTEN’D56. SPRINT 55: MAKE ALL THE THINGS…CLASSES57. SPRINT 56: CLASS, EXTEND THYSELF!a. QUIZ 3158. SPRINT 57: I DON'T COLLECT THOSE; TOO ABSTRACT.59. SPRINT 58: ACCESS DENIED: PROTECTED AND PRIVATEa. QUIZ 32b. QUIZ 3360. SPRINT 59: INTERFACING WITH INTERFACESa. QUIZ 34b. QUIZ 35c. QUIZ 36d. QUIZ 37e. ASSIGNMENT 18: STARSHIP’D61. SPRINT 60: ALL I'M GETTING IS STATIC62. SPRINT 61: AN ALL-STAR CAST, FEATURING NULL63. ANSWER KEY
£41.24
APress Using Gatsby and Netlify CMS
Book SynopsisLeverage the powerful new combination of Gatsby and Netlify CMS, a free open source content management solution, to build blazing fast apps. This book shows you how to create a React-powered website using the Gatsby framework for the frontend, and Netlify CMS as the content backend. Through the course of the book you''ll gradually build a website for a coffee shop that includes a blog and a bakery/coffee menu that is customizable through Netlify CMS. The project starts with a bare-bones Gatsby site to which you''ll add functionality such as setting up/configuring the CMS, creating different types of content, and writing some Gatsby glue code to consume the Markdown data via plugins. When done, you''ll be well-equipped to build on your existing JavaScript and React knowledge to effectively use Gatsby and Netlify CMS for yourself or your clients. Using Gatsby and Netlify CMS is an ideal guide for anyone looking to build their own sites and manTable of Contents1. Introduction to Netlify CMS 2. Gatsby Crash Course 3. Setting Up the Example Project 4. Setting Up Netlify CMS 5. The Netlify CMS Application 6. Sourcing Blog Data 7. Dynamic Page Creation 8. Blog Pagination 9. Adding More Content 10. Creating the Coffee Menu 11. Working with Images 12. Customizing the CMS 13. The Editorial Workflow14. Wrap Up
£40.49
APress Gatsby ECommerce
Book SynopsisTable of ContentsPart 1 Chapter 1. Getting Started Chapter 2. Laying the Foundations Part 2 Chapter 3. Styling the Shop Chapter 4. Sourcing Data Chapter 5. Building the Catalog Chapter 6. Checkout and Order Processing Part 3 Chapter 7. Adding a Blog Chapter 8. Finessing our site Chapter 9. Testing and Optimization Chapter 10. Deployment into Production Part 4 Chapter 11. Migrating from WooCommerce Chapter 12. Adapting for Mobile Chapter 13. Updating the Payment Process
£37.49
APress Developing Web Components with TypeScript
Book SynopsisIntermediate-level readersTable of ContentsChapter 1: Introduction Chapter 2: Making Web Components Chapter 3: Shadow DOM Chapter 4: Events Chapter 5: Templates Chapter 6: Slots Chapter 7: Components and Styles Chapter 8: Making Single Page Apps Chapter 9: Professional Web Components Appendix A - Component Library Documentation
£41.24
APress Pro PHP 8 MVC
Book SynopsisExamine the building blocks that make any good MVC framework using PHP 8. This book exposes all the considerations that many developers take for granted when using a popular framework, and teaches you how to make this MVC framework your own.You'll quickly get started writing your first bit of framework code,then, you build a variety of examples using aspects of an MVC framework, including a router, a template engine, a database library, a persistence engine (ORM), and a testing framework.In the next section, you'll implement sessions, caches, file systems, queues, logging, and mail. You'll wrap up by building a larger scale sample web application: a sales website for a company that sells rockets. Along the way, this book lays bare all the secret parts of MVC to take with you to apply to your own PHP-based MVC projects.What You Will LearnBuild PHP-based web applications using the model view controller (MVC) architecture Write your first bit of framework codeCompare the code Table of Contents1: Ways to Use PHP2: Writing Our First Bit of Code3: Building a Router4: Building a Template Engine5: Building a Validator6: Building a Database Library7: Building an Object-Relational Mapper Library8: Building a Dependency Injection Container9: Testing Our Framework10: Config, Cache, Sessions, Filesystems11: Queues, Logging, Emails12: Publishing Your CodeAfterword: Wrapping Up
£49.49
Apress TestDriven Development with React Apply
Book Synopsis A Very Brief History of Test-Driven Development Test-Driven Development (TDD) Techniques that can help implement TDD Summary Further reading References Getting Started with Jest Set up the environment Jest at first glance Using matchers in Jest Mock & Stub Summary Test-Driven Development 101 Writing tests Triangulation method How to implement tasking with TDD Summary Project Setup Application Requirements Create the project Summary Creating the Book List Acceptance tests for book list Talk to the book server Adding a loading indicator Implementing Book Detail View Acceptance tests Unit tests Testing data User Interface refinement
£35.99
APress RealTime Twilio and Flybase
Book SynopsisUse Flybase and Twilio with Node.js to build real-time solutions and understand how real-time web technologies work. Written by the founder of Flybase, this book offers you practical solutions for communicating effectively with users on the modern web.Flybase.io is a web platform, used to store and retrieve data in real-time, as well as to send and receive real-time events such as triggers for incoming calls, incoming messages, agents logging off, etc. You will learn to send daily SMS messages, build an SMS call center to provide support to users, and build a call center to handle incoming and outgoing phone calls from the browser. You''ll also build a group calling system to let groups send messages to each other: handy for managing events.Real-Time Twilio brings to light using the winning combination of Flybase and Twilio with Node.js for anyone with basic web development skills.What You''ll LearnDevelop web apps withTable of Contents1. Introducing Real-Time Apps 2. Build a real-time SMS call center 3. Build a Live Blogging tool 4. Build a Real-time Group Chat App 5. Creating a Click to Call Call Center 6. Building A Salesforce Powered Call Center7. Sending Daily SMS Reminders8. Building a real-time Call Tracking Dashboard
£29.99
APress Decoupled Django
Book SynopsisApply decoupling patterns, properly test a decoupled project, and integrate a Django API with React, and Vue.js. This book covers decoupled architectures in Django, with Django REST framework and GraphQL. With practical and simple examples, you'll see firsthand how, why, and when to decouple a Django project. Starting with an introduction to decoupled architectures versus monoliths, with a strong focus on the modern JavaScript scene, you'll implement REST and GraphQL APIs with Django, add authentication to a decoupled project, and test the backend. You'll then review functional testing for JavaScript frontends with Cypress. You will also learn how to integrate GraphQL in a Django project, with a focus on the benefits and drawbacks of this new query language.By the end of this book, you will be able to discern and apply all the different decoupling strategies to any Django project, regardless of its size. What You''ll Learn &Table of ContentsChapter 1: Introduction to the decoupled world. Chapter Goal: Introduce the reader to terminology and structure of a decoupled architecture. No of pages: 16 Sub -Topics 1. A review of the concept of monolithic applications vs decoupled applications. 2. What is decoupling? 3. Why and when to decouple? 4. A brief introduction to REST. 5. A brief introduction to GraphQL. Chapter 2: JavaScript meets django. Chapter Goal: Introduce the reader to the modern JavaScript scene, help the reader understand how modern frontend tools fit within Django. No of pages: 13 Sub -Topics 1. An overview of modern JavaScript. 2. An overview of JavaScript and Django in production setups. 3. A review of the most popular frontend libraries: Vue, React, Next.js, and the differences between them. Chapter 3: Modern Django and Django REST Framework. Chapter goal: Introduce the reader to intermediate Django concepts, and Django REST framework. No of pages: 11 Sub -Topics 1. A brief introduction to Django REST framework and how it fits within a Django project, compared to the basic Django building blocks (MVT architecture, forms, models, views). 2. An introduction to ASGI and async Django. Chapter 4: Advantages and disadvantages of a decoupled architecture. Chapter Goal: Help the reader make an informed choice by outlining advantages and disadvantages of a decoupled architecture. No of pages: 12 Sub -Topics 1. Why and when to decouple? 2. An overview of the various approaches for decoupling a Django project. How to choose between the various approaches. 3. Advantages of decoupling a Django project. 4. Disadvantages of decoupling a Django project. Chapter 5: Setting up a Django project. Chapter Goal: Help the reader to prepare a Django project. No of pages: 9 Sub -Topics 1. How to split setting files. 2. How to configure Django to use environment variables. 3. How to run Django under ASGI. Chapter 6: Decoupled Django with Django REST Framework. Chapter Goal: Help the reader understand how to decouple a Django project with Django REST framework. No of pages: 31 Sub -Topics 1. How to install and enable Django REST framework. 2. Django REST framework serializers. 3. How to create API endpoint with Django REST framework. 4. Django REST relationships. 5. Working with Vue.js in Django. Chapter 7: API security, and deployment Chapter Goal: Help the reader secure and deploy a decoupled Django project. No of pages: 23 Sub -Topics 1. Django and Django REST hardening 2. Deploying a decoupled Django project Chapter 8: Django REST meets Next.js. Chapter Goal: Help the reader pair a Django REST project with Next.js, the React framework. No of pages: 24 Sub -Topics 1. Django as a headless CMS 2. A reintroduction to React and its ecosystem 3. Working with Next.js and Django REST Chapter 9: Testing in a Decoupled World. Chapter Goal: Teaches the reader how to test a decoupled Django REST project and a JavaScript frontend. No of pages: 22 Sub -Topics 1. A brief introduction to functional and unit testing. 2. Testing the frontend with Cypress 3. Testing Django REST framework and Django Chapter 10: Authentication and authorization Django REST framework. Chapter Goal: Help the reader understand how to set up authentication and authorization in a decoupled Django project. No of pages: 21 Sub -Topics 1. A review of the most important authentication mechanisms in Django and Django REST framework 2. What is token based authentication? What is JWT? JWT drawbacks 3. Using session-based authentication for single-page apps 4. How to handle authentication in the frontend Chapter 11: GraphQL in Django with Ariadne. Chapter Goal: Help the reader understand what GraphQL is and how it fits into the Python/Django landscape. No of pages: 39 Sub -Topics 1. Creating a GraphQL schema in Ariadne 2. Working with resolvers 3. Implementing mutations 4. Connecting React to a GraphQL backend Chapter 12: GraphQL in Django with Strawberry. Chapter Goal: Help the reader understand in practice how to decouple a Django project with GraphQL and Strawberry. No of pages: 30 (estimated) Sub -Topics 1. Creating a GraphQL schema in Straberry 2. Working with resolvers 3. Implementing mutations in the frontend
£44.99
APress Practical Vaadin
Book SynopsisImplement web applications in Java using the open-source Vaadin framework version 20 and later. This easy-to-follow book covers all the key concepts and steps to become competent with modern versions of Vaadin. The book covers everything from setting up the development environment to implementing advanced features such as Server Push and database connectivity. The book helps you become proficient in the Vaadin framework, prepare for Vaadin certifications, and shows you how to apply the power of the Java programming language in developing applications for the web. Author Alejandro Duarte starts with an introduction to web development and its key technologies. He then describes and demonstrates how Vaadin simplifies web development by allowing you to implement web graphical user interfaces using the Java programming language without having to code in JavaScript or HTML. Once a solid foundation on the key web and Vaadin concepts is established, Duarte digs deeper into explaining layoutsTable of ContentsPart I. Getting Started1. The World of Vaadin2. Setting Up the Development EnvironmentPart II. The Fundamentals of Vaadin3. Layouts4. UI Components5. Data Binding6. The Grid ComponentPart III. Advanced Features7. Multi-view Navigation and Routing8. Server Push9. The Element API10. Custom Styles and Responsiveness11. Client-side Views with TypeScriptPart IV. Integrations and Database Connectivity12. Spring Boot13. Jakarta EE
£41.24
APress The Protractor Handbook
Book SynopsisTable of Contents1. Getting Started 2. Installation a. Prerequisites b. Installation process c. Installation Details 3. Locators a. ID b. Class c. Name Attribute d. Tag Name e. Link Text f. Partial Link Text g. Element with certain text h. CSS Query Selector i. xPath j. JS Function k. Chain Selectors l. React Selectors m. Custom Selectors 4. Browser APIs a. Get count of elements returned from an Array of element b. Get First element returned from an Array of element c. Get Text of an element d. Get any element returned from an Array of elements e. Get Last element returned from an Array of elements f. 'Then' function g. Iterate all elements h. Getting all links of a page i. Map function j. Reduce function k. Returns the most relevant locator of an element l. Scroll an element Into View m. Click on an element n. Double Click on an element o. Right click on an element p. Send text to an Input field q. Send text to an Input field via addValue r. Send Keyboard keys to an element s. Get Value of an element t. Clear the text inside an Input field u. Hover Mouse on an element v. Navigating to new URL in a browser w. Navigating Back in a browser x. Navigating Forward in a browser y. Refreshing a web-page z. Restarting a browser aa. Getting & Setting Window Size & position bb. Getting Element Size cc. Maximizing the Browser dd. Minimizing the Browser ee. Browser fullscreen mode ff. Open a new Window gg. Get the URL of the current page hh. Get the Title of the current page ii. Send JavaScript to do a task Vanilla JSCode jj. Send JavaScript to do a task Handeling Datepicker kk. Send JavaScript to do a task Clicking ll. Send JavaScript to do a task Detecting Broken image mm. Taking Full page Screenshot nn. Switching Between Windows oo. Switching between Frames pp. Closing the page qq. Closing the browser rr. Alerts Accepting an Alert ss. Alerts Dismissing an Alert tt. Alerts Reading message of an Alert uu. Alerts Sending message to an Alert vv. Selecting from a Dropdown ww. Drag and Drop xx. Uploading a file yy. Submitting a form zz. Display Cookies aaa. delete Cookies bbb.Set Cookies ccc. Basic authentication ddd.GeoLocations 5. Element APIs a. Is the element Present? isExisting b. Is the element Present? toExist c. Is the element Present? ToBePresent d. Is the element Present in DOM? ToBeExisting e. Is the element Present inside another element? f. Is the element Enabled? IsEnabled g. Is the element Enabled? ToBeEnabled h. Is the element Disabled? ToBeEnabled i. Is the element Visible? IsDisplayed j. Is the element Visible? ToBeDisplayed k. Is the element Visible? toBeVisible l. Is the element Visible on the screen? toBeDisplayedInViewport m. Is the element Visible on the screen? toBeVisibleInViewport n. Is the element Selected? isSelected o. Is the element Selected? ToBeSelected p. Is the element Selected? ToBeChecked q. Is the element Clickable? isClickable r. Is the element Clickable? toBeClickable 6. Some Additional Protractor IO Methods a. Is the element Focused? isFocused b. Is the element Focused? toBeFocused c. Does the element have a specific Attribute? toHaveAttribute d. Does the element have a specific Attribute? toHaveAttr e. Does element contains a specific text Attribute? toHaveAttributeContaining f. Does the element have a specific Class? toHaveClass g. Does element contains specific text in Class? toHaveClassContaining h. Does the element have a specific Property? toHaveProperty i. Does the element have a specific Value? toHaveValue j. Does the element have a specific Href? toHaveHref k. Does element contains specific text in Href? toHaveHrefContaining l. Does the element have specific Link? toHaveLink m. Does element contains specific text in Link? toHaveLinkContaining n. Does the element have a specific text toHaveText o. Does element contains a specific text? p. Does the element have specific ID? q. Count of Element 7. Waits a. Wait until b. Hard Sleep c. Wait for element to be Clickable d. Wait for element to be Displayed e. Wait for element to be Enabled f. Wait for element to Exist g. Chapter 8: Other APIs h. Dealing with shadow DOM i. Getting the page source j. Getting active element k. Getting the Property of element l. Getting the CSS Property of element m. Getting the Tag Name of the element n. Getting the Location of an element o. Getting Size of the element p. Getting the HTML build of the element q. Debug 8. Jasmine Assertions a. To verify if strings match by value b. To verify if strings match by value & type c. To verify if a value is Truthy d. To verify if a value is Falsy e. To verify if a value is equal(==) f. To verify if a value & type both are equal(===) g. To verify if a value is not equal(==) h. To verify if a value & type are not equal(==) i. To verify if a value is above j. To verify if a value is below k. To verify if a Expected is True l. To verify if a Expected is false m. To verify if a Expected is an array n. To verify if a Expected is a String o. To verify if Array contains a value p. To verify length of an Array 9. Timeouts a. Setting & Getting various Timeout b. Session Script Timeout c. Session Page Load Timeout d. Session Implicit Wait Timeout e. WaitForTimeout Protractor related timeouts f. Framework related timeouts 10. Parallel Execution a. Framework Options b. Protractor with Mocha c. Protractor with Jasmine d. Protractor with Cucumber e. Protractor with Mocha & TypeScript 11. Conclusion a. Advantages b. Disadvantages c. Challenges
£37.49
APress Spring REST
Book SynopsisDesign and develop Java-based RESTful APIs using the latest versions of the Spring MVC and Spring Boot frameworks. This book walks you through the process of designing and building a REST application while delving into design principles and best practices for versioning, security, documentation, error handling, paging, and sorting. Spring RESTprovides a brief introduction to REST, HTTP, and web infrastructure. You will learn about several Spring projects such as Spring Boot, Spring MVC, Spring Data JPA, and Spring Security, and the role they play in simplifying REST application development. You will learn how to build clients that consume REST services. Finally, you will learn how to use the Spring MVC test framework to unit test and integration test your REST API. After reading this book, you will come away with all the skills to build sophisticated REST applications using Spring technologies. What You Will LearnBuild Java-based microservices, native cloud, or any applications uTable of Contents1. Introduction to REST2. Spring MVC & Spring Boot Primer3. RESTful Spring4. Beginning the QuickPoll Application5. Error Handling6. Documenting REST Services7. Versioning, Paging, and Sorting8. Security9. Clients and Testing10. HATEOASA. Installing cURL on Windows
£26.99
APress Pro Microservices in .NET 6
Book SynopsisKnow the fundamentals of creating and deploying microservices using .NET 6 and gain insight from prescriptive guidance in this book on the when and why to incorporate them.The microservices architecture is a way of distributing process workloads to independent applications. This distribution allows for the independent applications to scale and evolve separately. It also enables developers to dismantle large applications into smaller, easier-to-maintain, scalable parts. While the return is valuable and the concept straightforward, applying it to an application is far more complicated. Where do you start? How do you find the optimal dividing point for your app, and strategically, how should your app be parceled out into separate services?Pro Microservices in .NET 6 will introduce you to all that and more. The authors get you started with an overview of microservices, .NET 6, event storming, and domain-driven design. You will use that foundational infTable of Contents 1. Introducing Microservices - Sean 2. ASP.NET Core Overview- Sean 3. Searching for Microservices- Sean 4. First Microservice- Sean 5. Microservice Messaging- Sean 6. Decentralizing Data - Josh 7. Testing Microservices - Sean 8. Containerization - Matthew 9. Healthy Microservices – Rob
£49.49
APress Building Offline Applications with Angular
Book SynopsisGet a complete overview of offline installable applications. Businesses need reliable applications that enable users to access data and their applications in spite of a bad network connection.Traditional websites work only when connected to the network. With a large number of users depending on mobile phones and tablets for work, social interactions, and media consumption, it's important that the web applications can work on a weak network connection and even offline.This step-by-step guide shows you how to build an Angular application that considers offline access and uses its ready-made features and configurations.Build Offline Applications with Angularhelps bridge the gap between native apps and web applications. What You Will LearnGet started with an installable Angular applicationUnderstand the importance of performant, reliable, and offline access of a web applicationDiscover solutions for building Angular applications for speedy response in low bandwidth scenariosUse IndexedDBTable of ContentsChapter 1: Introduction Build Modern Web Application.- Chapter 2: Getting Started.- Chapter 3: Install Angular Application.- Chapter 4: Service Workers.- Chapter 5: Cache Data with Service Workers .- Chapter 6: Upgrade Applications .- Chapter 7: Introduction to IndexedDB.- Chapter 8: Create Entity - Use case.- Chapter 9: Create Data Offline.- Chapter 10: Dexie.JS for IndexedDB.- Addendum.- Reference.
£42.49
APress Pro ASP.NET Core 6
Book SynopsisProfessional developers will produce leaner applications for the ASP.NET Core platform using the guidance in this best-selling book, now in its 9th edition and updated for ASP.NET Core for .NET 6. It contains detailed explanations of the ASP.NET Core platform and the application frameworks it supports. This cornerstone guide puts ASP.NET Core for .NET 6 into context and dives deep into the tools and techniques required to build modern, extensible web applications. New features and capabilities such as MVC, Razor Pages, Blazor Server, and Blazor WebAssembly are covered, along with demonstrations of how they are applied.ASP.NET Core for .NET 6 is the latest evolution of Microsoft's ASP.NET web platform and provides a host-agnostic framework and a high-productivity programming model that promotes cleaner code architecture, test-driven development, and powerful extensibility.Author Adam Freeman has thoroughly revised this market-leading book and explains how to get the mosTable of ContentsPart 1 1. Putting ASP.NET Core into Context 2. Getting Started 3. Your First ASP.NET Core Application 4. Using the Development Tools 5. Essential C# Features 6. Unit Testing ASP.NET Core Applications 7. SportsStore 8. SportsStore: Navigation & Cart 9. SportsStore: Completing the Cart 10. SportsStore: Adminstration 11. SportsStore: Security & Deployment Part 2 12. Understanding the ASP.NET Core Platform 13. Using URL Routing 14. Using Dependency Injection 15. Using the Platform Features, Part 1 16. Using the Platform Features, Part 2 17. Working with Data Part 3 18. Creating the Example Project 19. Creating RESTFul Web Services 20. Advanced Web Service Features 21. Using Controllers with Views 22. Using Controllers with Views, Part 2 23. Using Razor Pages 24. Using View Components 25. Using Tag Helpers 26. Using the Built-In Tag Helpers 27. Using the Forms Tag Helpers 28. Using Model Binding 29. Using Model Validation 30. Using Filters 31. Creating Form Applications Part 4 32. Creating the Example Application 33. Using Blazor Server, Part 1 34. Using Blazor Server Part 2 35. Advanced Blazor Features 36. Blazor Forms and Data 37. Blazor Web Assembly 38. Using ASP.NET Core Identity39. Applying ASP.NET Core Identity
£49.49
APress Beginning gRPC with ASP.NET Core 6
Book SynopsisBroaden your developer experience by learning how to use gRPC and ASP.NET Core together on the Microsoft's developer framework, .NET 6 and discover a new way of developing APIs with gRPC. Beginning gRPC with ASP.NET Core6is your guide to quickly and efficiently getting down to the business of building gRPC applications in the Microsoft .NET ecosystem. Readers will dive in and build an application using gRPC and the latest technologies such Angular and ASP.NET Core Razor Pages.This book will teach you how to set up an efficient application using industry best practices such as security, monitoring, logging, and more. You will do this by performing Create, Read, Update, and Delete (CRUD) operations on a SQL Server database with Entity Framework Core. From there you will build web applications using Angular and ASP.NET Core Razor pages combined with gRPC APIs. After reading the book, you'll be able to take advantage of the full range of developer opportunities with gRPC, and come awayTable of ContentsPart I: Getting Started with .NET 6 Chapter 1: Welcome to Modern .NET Chapter 2: Introducing ASP.NET Core 6Part II: gRPC fundamentalsChapter 3 : Understanding the gRPC Specification Chapter 4: Protbufs Chapter 5: Creating an ASP.NET Core gRPC Application Chapter 6: API Versioning Part III: gRPC and ASP.NET Core Chapter 7: Create a gRPC Client Chapter 8: From WCF to gRPC Chapter 9: Import and Display Data with ASP.NET Core Razor Pages, Hosted Services, and gRPC Chapter 10: The gRPC-web Specification Chapter 11: Create a gRPC-web service from a gRPC-service with ASP.NET Core Part IV: gRPC-web and ASP.NET Core Chapter 12: Import and Display Data with Angular 12 and gRPC-webPart V: Security Chapter 13: Secure your Application with OpenId Connect
£46.74
APress Build Your Own IoT Platform
Book SynopsisEvery solution that is in some way related to the IoT needs a platform; learn how to create that platform with us. This book is about being agile and reducing your time to market without breaking the bank. It is about designing something that can scale incrementally without rework and potentially disrupting the current work.So, the key questions are: What does it take? How long does it take? And, how much does it take to build your own IoT platform? This book answers these questions and provides you with step-by-step guide to building your own IoT platform. In this book, the author highlights what the core of an IoT platform looks like. There are always some must-haves and some nice-to-haves. This book distinguishes the two and focuses on building the must-haves. Building your IoT platform is not only the most significant cost-saver but can also be a satisfying learning experience. This edition will extend your work with a sample project to clarify the concepts Table of Contents Chapter 1: So… You Want to Build Your Own! · The Background of IoT and Our Focus · How Many Platforms Are Out There? · Platforms Supporting Network Servicing · Platforms Sitting Between Networks and Applications · Application-Layer Development Platforms · What Should a Good IoT Platform Have? · Why Should You Build Your Own IoT Platform? · Summary Chapter 2: The Building Blocks of an IoT Solution · The Functional Blocks of an IoT Solution · The Detailed Block Diagram of an IoT Platform · Is Everything from this Block Architecture Mandatory? · What Is the Proposed Approach? · Summary Chapter 3: The Essentials for Building Your Own Platform · Deciding Cloud Instance Specifics · Additional Specifications · Where Do We Get this Cloud Instance? · What About Our Own Machine? · Expanding on the IoT Platform Block Diagram · Edge Interface, Message Broker, and Message Bus · Message Router and Communications Management · Time-Series Storage and Data Management · REST API Interface · Microservices · Rule Engine · Device Manager and Application Manager · Our Own IoT Platform Block Diagram · Summary Chapter 4: Let’s Create Our Platform Wish List · Connecting with the Platform in Real Time · Using MQTT as the Message Broker · How Do We Want to Store the Data? · Data Storage Schema · Accessing Platform Resources Through APIs · Data Accessing APIs · Elementary Microservices and Utilities · Routing and Filtering Data and Messages · Updated Block Diagram of Our IoT Platform · Summary Chapter 5: Here We Go! · Initializing the Cloud Instance · Register and Create · Choosing an Operating System Image · Choosing the Size · Choosing a Datacenter Region · Finalizing and Creating the Instance · Connecting to Our Cloud Instance · Installing Basic Software Stacks · Installing Apache · Installing MySQL · Installing PHP · Securing the Instance and Software · It’s Easier with a Domain Name · Add Virtual Hosts to Our Web Server · Installing SSL Certificates · Installing Node.js and Node-RED · Modifying Node-RED Settings · Securing our Node-RED Editor · Summary Chapter 6: The Message Broker · What Is MQTT? · Publish and Subscribe Paradigm · Other Features of a Message Broker and MQTT · Quality of Service · Keep Alive Period · Last Will and Testament · The Retained Message · The Best Part: WebSocket · Are We Using the Best Message Broker Option? · When to Utilize a Message Broker and When Not To · Installing a Message Broker · Securing a Message Broker · Summary Chapter 7: Building the Critical Components · Creating a Time-Series Core Database · Installing Required Nodes in Node-RED · Creating First Flow for Our Platform · Adding MQTT Publish Capability · REST API Message Publisher · Creating the Database Listener · REST API Message Retriever · Verifying that Everything Is Working as Expected · Running Node-RED in the Background Continuously · Summary Chapter 8: Configuring the Message Broker · The Difference Between WebSocket and Normal MQTT · Why Is WebSocket Important? · Adding WebSocket to Our MQTT Configuration · Testing WebSocket · Let’s Add User Access Controls · Let’s Check If This Is Working · Using the Forever Tool with the Message Broker · Summary Chapter 9: Creating a REST Interface · Data Access APIs · Adding Time-Based Filters · Data Deletion APIs · Removing Data Records Completely · Adding Microservices to the Platform · Getting the Current Timestamp · Random Code Generator · Adding New Modules to Node-RED · UUID Generator · Email and Text Message Microservice APIs · Configuration of Nodes · SMS Sending Utility · Email-Sending Utility · Summary Chapter 10: Rule Engine and Authentication · Start with the Rule Engine Logic · Creating a Database · Building the Flow Sequence · Testing the Rule Engine · Rule Management APIs · Enable and Disable a Specific Rule · Enable and Disable All Rules · Create a New Rule · Building Another Rule Engine with Node-RED · Adding Authentication to the Data API · What Are Our Options? · What Is the Plan? · Adding Authentication Middleware · Enable and Test Authentication · Our Core Platform Is Ready Now · Summary Chapter 11: Documentation and Testing · Preparing a Valid OpenAPI Specification Document · Platform API Specification File Explained · Preparing Distribution Package for Final Upload · Upload API Docs and Make It Live · Authorize and Test API · Summary Chapter 12: Connecting Your Hardware · Why learn hardware alongwith IoT platform? · Available hardware options · Creating bespoke designs · Choosing the best option for your project · Connectivity options and suitability for project · Various topologies and arrangements § The “why” behind each topology and arrangement · Connecting our hardware to the platform § Two possible modes o Using REST API o Using MQTT o Can you use both? Why and when? § Requirements for each mode o Circuit specific o Firmware specific § How to incorporate them in hardware o Circuit specific o Firmware specific · Other considerations for connecting the hardware · Summary Chapter 13: Let's Build a Better Mousetrap · Backstory of better mousetrap case study § How I got this opportunity § What does “better” mean? § How I decided to approach this problem § Importance of top-down approach · System architecture § High level system design process § Block diagram and explanation · Hardware selection § What are different scenarios § What are potential options § What is on our shortlist · Connectivity choice § What are different scenarios § What are potential options § What is on our shortlist · Front-end application § What are different scenarios § What are potential options § What is on our shortlist · Hardware arrangement § Hardware construction (overview) § How it works § Testing the hardware · Backend buildup on the platform § What additions we need on the platform side § How to build them (details) § Testing the backend · Dashboard for visualization § Building a basic dashboard § How to pool the data · Additional services I built in the mousetrap application § Workflow for CRM § Client alert mechanism § Operator Scheduling § Compliance reporting § Machine learning provision for intelligent pest management § Other business benefits · Project takeaways – real life and for you (as a reader) · Summary Chapter 14: Unlimited Possibilities · What do I mean by unlimited possibilities? · Why is this platform so capable? · Five ideas you can work on § One button – based on my 1btn project o The concept o Block diagram o Key ideas and things to work on o Potential applications § Smart street lamps o The concept o Block diagram o Key ideas and things to work on o Potential applications § Council garbage collection management o The concept o Block diagram o Key ideas and things to work on o Potential applications § Datacenter climate control o The concept o Block diagram o Key ideas and things to work on o Potential applications § People counter for Covid-19 gathering compliance in shops & stores o The concept o Block diagram o Key ideas and things to work on o Potential applications · Summary Chapter 15: What We Built and the Takeaways · Increasing Security for the Cloud Instance · What About SQL Injection Through APIs? · Should We Have Used MongoDB Instead of MySQL? · Some Experts Might Still Try to Talk You Out of This · How Is Our Platform Different from AWS, Google, and Azure? · There Is a New Version of MQTT · My Platform Is Ready. Now What? · The Next Big Thing · If You Need to Find More Resources · Finally
£46.74
APress Web Application Development with Streamlit
Book SynopsisTransition from a back-end developer to a full-stack developer with knowledge of all the dimensions of web application development, namely, front-end, back-end and server-side software. This book provides a comprehensive overview of Streamlit, allowing developers and programmers of all backgrounds to get up to speed in as little time as possible. Streamlit is a pure Python web framework that will bridge the skills gap and shorten development time from weeks to hours. This book walks you through the complete cycle of web application development, from an introductory to advanced level with accompanying source code and resources. You will be exposed to developing basic, intermediate, and sophisticated user interfaces and subsequently you will be acquainted with data visualization, database systems, application security, and cloud deployment in Streamlit. In a market with a surplus demand for full stack developers, this skill set could not possiblTable of Contents Part I: Introduction to Streamlit 1 Getting Started with Streamlit 1.1 Why Streamlit? 1.2 How Streamlit Works 1.3 Firing it up 2 Streamlit Basics 2.1 The Streamlit API 2.2 Creating a basic app Part II: Developing Advanced Interfaces and Applications 3 Architecting Streamlit’s Front-end Design 3.1 Designing the application 3.2 Provisioning multi-page applications 3.3 Data wrangling 4 Graphing in Depth 4.1 Visualization stack 4.2 Exploring Plotly data visualizations Part III: Interfacing with Database and Back-end Systems 5 Database Integration 5.1 Relational Databases 5.2 Non-relational databases 6 Back-end Servers 6.1 The need for back-end servers 6.2 Front-end/ Back-end Communication 6.3 Working with JSON files 6.4 Provisioning a back-end server 6.5 Multi-threading and multi-processing request 6.6 Connecting Streamlit to a Back-end Server Part IV: Enforcing Application Security and Privacy 7 Session State 7.1 Introducing session IDs 7.2 Implementing session state persistently 7.3 Recording user insights 7.4 Implementing session state natively 7.5 Cookies management 8 Authentication and Application Security 8.1 Developing user accounts 8.2 Verifying user credentials 8.3 Secrets management 8.4 Anti-SQL injection measures with SQL Alchemy 8.5 Configuring Git Ignore variables Part V: Deploying Streamlit to the Cloud 9 Persistent Deployment 9.1 Deployment to Streamlit Sharing 9.2 Deployment to Linux 9.3 Deployment to Windows Server 10 Exposing Local Streamlit to the World Wide Web 10.1 Port forwarding over network gateway 10.2 Reverse Port Forwarding using NGROK Part VI: Streamlit Custom Components 11 Building Streamlit components with React.js 11.1 Introduction to Streamlit custom components 11.2 Using React.js to create custom HTML components 11.3 Deploying components as a Pip package 12 Extra-Streamlit-Components Package 12.1 Stepper bar 12.2 Splash screen . . 12.3 Tab bar 12.4 Cookie Manager Part VII: Streamlit Case Studies 13 General Use Cases 13.1 Data science & machine learning applications 13.2 Dashboards and real-time applications 13.3 Time-series applications 13.4 Advanced application development 14 Steamlit at Work 14.1 Iberdrola Renewables 14.2 DummyLearn.com
£49.49
APress Learn API Testing
Book SynopsisExplore software web application architecture, API testing, coding practices, and the standards for better API test automation development and management. This book focuses on aspiring software testing engineers currently working in API testing, and those starting their journey in the field of software testing. You''ll begin with an introduction to API testing and software web applications involving APIs. The book then moves on to the authentication standards used in the software industry, and the tools, the frameworks, and the libraries used in API testing. As the book progresses, you''ll learn about the test pyramid, how to test an API, what makes a good test script, and various coding guidelines. Finally, you get to write your own API test script. Learn API Testing is your pathway to understanding a typical software web application, its requests and responses, and the properties of a good test script. What You''ll learn<Table of ContentsChapter 1: Introduction to API TestingChapter Goal: Help the reader identify the purpose of the book, target audience and skills set required to perform API Testing No of pages - Sub -Topics 1. What is API Testing 2. Why We Need API Testing 3. Types of API Testing 4. Advantages Chapter 2: Software Application Chapter Goal: Gain knowledge about software web application standards which involves APIs No of pages: - Sub - Topics 1. REST Client/Server Architecture 2. Monolithic Vs. Microservices based web application 3. HTTP(s) 4. Header(s) 5. Request / Response 6. Response Codes Chapter 3: Authentication Chapter Goal: Standard authentication used in industry No of pages : - Sub - Topics: 1. Basic Authentication 2. Session Based Authentication 3. Token / JWT Based Authentication 4. OAuth2 Based Authentication Chapter 4: Tools Chapter Goal: Understanding of Tools used for doing API Testing No of pages: - Sub - Topics: 1. Postman 2. CURL 3. RestAssured 4. TestNG 5. Log4j 6. Java - Spring Boot Chapter 5: Test Pyramid Chapter Goal: Testing types and hierarchy of each type No of pages: - Sub - Topics: 1. Black Box Testing 2. Grey Box Testing 3. Unit Testing 4. Components of Test Pyramid Chapter 6: Testing The API · Chapter Goal: API Testing Paradigm (Internal/External APIs., CDCT) No of pages: - Sub - Topics: 1. Manual Test Script/ Workflows/ Use Cases 2. What to Test a. Schema b. Data c. Data Type 3. Coverage Good / Bad 4. Headers Testing a. Request Header i. Correct Header ii. Missing Header iii. Incorrect Header iv. Unsupported Type b. Response Header i. Supported Type ii. Header Response iii. Response Codes 5. Request Body a. Format Unsupported b. Special Characters c. Too long String d. Invalid value e. Wrong data type f. Empty data/object g. Required fields h. Null i. Redundant fields j. DELETE already deleted entity k. Use PUT in place of POST etc. 6. Response Body a. Actual Data vs. Expected Data b. Limit 7. Internal vs. External APIs 8. CDCT – Consumer Driver Contract Testing 9. Risk a. Importance of Negative Testing Chapter 7: A Good Test Script Chapter Goal: Properties of a Good test script No of pages: - Sub - Topics: 1. Components of a Good Test Script 2. Example Chapter 8: Coding Guidelines Chapter Goal: Using standard coding guidelines for better test management and review. No of pages: - Sub - Topics: 1. Google Best Practices 2. Test Naming Conventions 3. Method Naming Convention 4. Others Chapter 9: Organize Test Framework Chapter Goal: Organize a test framework in a way that is usable across any team / project No of pages: - Sub - Topics: 1. Maven Project 2. Dependencies 3. Spring Boot 4. Properties File/Environment Based 5. End Points 6. Authentication 7. Request 8. Response 9. Test Data a. JSON b. File c. HashMap d. TestNG data provider 10. Logging Chapter 10: First Test Chapter Goal: Write first test to get a feel of API testing No of pages: - Sub - Topics: 1. Developing First Test 2. Executing First Test 3. Check Results 4. Check Logging Chapter 11: API Documentation Chapter Goal: API documentation is a mandatory requirement for writing API tests, swagger is the tool that is being used, we will see how to read the swagger API documentation for better understanding on the End Points. No of pages: - Sub - Topics: 1. Swagger 2. Why We Need API Documentation 3. Understanding the API Documentation Chapter 12: Case Study – Shopping Cart APIs Chapter Goal: A Sample application is used to demonstrate the industrial way of doing API testing, this is an equivalent to a workshop on doing API testing. No of pages: - Sub - Topics: 1. Setting Up Application 2. Goal Setting 3. Test Environment (Docker Container) 4. Test Data Preparation 5. Agile Testing 6. Shopping Cart API End Points 7. Understanding Business Requirements 8. Manual Tests Scripts 9. Implementing Test Framework 10. Writing Test 11. Test Suite 12. Execution 13. Results 14. Utilities
£42.49
APress Beginning Ansible Concepts and Application
Book SynopsisLearn the concepts and develop the skills to be a true Ansible artist and use it inside and outside the box. This book applies key concepts immediately while building up your Ansible skills layer by layer through easy to grasp examples and engaging projects. You'll also think about security, why testing is important, and how to use version control safely. As a beginner to Ansible, you'll be guided step-by-step through creating your first Ansible playbook to deploying your first server and writing more complex cross-dependency playbooks. From the first line of code to the last, you'll constantly iterate and simplify your playbooks, iwhile taking on more complex topics as you construct a full Wordpress website stack consisting of a database, web servers, and load balancer. This book will prompt you to think about how these fit together and will explain what to do to ensure maintainability long into the future. Don't just use Ansible. Completely change how you go about provisioning, conTable of ContentsChapter 1 – Setting the SceneFoundations of AnsiblCreate an environment Challenges to come Chapter 2 – Say Hello to AnsibleIntroduce Ansible History Tools Chapter 3 – Getting Ansible and Setting Up the EnvironmentDownload and set up AnsibleUsing virtual python environments Using VirtualBox Chapter 4 – Your First Steps with AnsiblePlay with AnsibleRevision control and security aspectsPython 2 vs 3 Chapter 5 – Run Your First playbook Create and run your first playbookStructure of a playbookPut servers under source control Chapter 6 – Designing an InventoryUsing localhost Inventories Chapter 7 – Setting Your Sights – Target the Servers You WantSetting up real serversPlaybook skills and inventory skillsWriting the playbook Chapter 8 – Batteries Included – The Core ModulesCore modulesInstalling packages, copying config files, and making changes to system configWeb based documentation Chapter 9 – Gathering Data and the Power of FactsUsing fact gatheringAutomatic (implicit) fact-gathering for every playbookExplicit fact gatheringStat to gain information on files, directories, and symbolic links Chapter 10 – The Building Blocks of Ansible – Roles Chapter 11 – Making Decisions and Controlling FlowConditionals Options includes and when clauses Chapter 12 – Repeating YourselfLoops Syntax Chapter 13 – Jinja 2 and the Power of Templates Chapter 14 – Structuring Your Repo for SuccessBasic directory structure Organize groups of variables, vaults, roles, and tasks to ensure your playbooks are scalable Chapter 15 – Locking Away Your SecretsAnsible-vaultsEnvironment specific encrypted stores Chapter 16 – Extending the Power of AnsibleCreation of custom modulesModule types (actions, filters, callback to name a few)Hints and tips on when a plugin is the right course of action Chapter 17 – Dynamically Generating Your InventoryInventory, or CMDBInventory source Simple web service to pull in the ansible inventory at runtimeMeta groups Chapter 18 – CommunityShare playbooks with like-minded sysadminsAnsible Galaxy Chapter 19 - Troubleshooting Ansible Chapter 20 – Other Projects Around AnsiblePOSSIBLE: document interesting projects that make use of Ansible's power, such as ansible-cmdb
£49.49
APress Just React
Book Synopsis Here is your perfect companion for learning about and developing React applications. This book introduces concepts innovatively, using real-world examples based on the most recommended practices to help you establish a firm foundation. This comprehensive approach provides a strong focus on building components by using React hooks. You''ll begin by learning web fundamentals, next-generation JavaScript, and how React fits into this. In the chapters that follow, you''ll build a React application from scratch and learn about JSX, components, props, state management, prop drilling, context, and lifecycle events. Along the way you''ll build a multi-component app and see how the components interact. Debugging and styling React applications are also discussed. You''ll then take an in depth look at React hooks and see how to create a custom hook. There is also a penultimate chapter that explores important concepts such as routing and authentication. The book concludes withTable of Contents Chapter 1: Time to React Chapter Goal: The purpose of this chapter is to introduce you to React and to introduce the role it plays in modern web development. No of pages: 20 Subtopics 1. Think before you React 2. How React Reacts compared to JavaScript? 3. React Vs Angular . 4. Where to React? Chapter 2: JavaScript Before You React Chapter Goal: Next gen JavaScript (ES6 and above) is the subject of this chapter. The goal of this chapter is to get you familiar with the latest features of this most popular programming language. No of pages: 40 Sub - Topics 1. Variables, Conditionals, and loops 2. Functions and Arrow Functions 3. Modules 4. Events 5. Reference Types 6. Async Await 7. Template Literals. Chapter 3: Start Reacting Chapter Goal: The goal of this chapter is to get you started on your React journey. You will gain an in-depth understanding of React project setup and fundamental concepts. No of pages: 60 Sub - Topics: 1. Set up an environment to ‘React’ 2. How to React? 3. create-react-app 4. Introduction to Components 5. JSX 6. Reacting to inputs 7. Styling your component 8. Virtual DOM 9. Props and State 10. Just React to Child 11. React on a Condition Chapter 4: Think React Chapter Goal: Using the most recommended concepts of React, this chapter creates a fully functional application. You'll gain an understanding of state management, component interactions etc., and you will start thinking the React way. No of pages:50 Sub - Topics: 1. VS Code Extensions 2. Restructuring the React form 3. Combining Reactions 4. Sibling Reactions 5. Component chat continues… 6. Reacting to edits 7. More Reactions to the parent Chapter 5: Rethink React Chapter Goal: The goal of this chapter is to get you to rethink. It will show you how to identify and fix common problems with React applications. You will learn some advanced concepts such as code splitting and React Context. No of pages:50 Sub - Topics: 1. React Lazy and Suspense 2. Props Drilling 3. Multi View React app 4. React Context Chapter 6: React to Bugs Chapter Goal: This chapter covers several ways to debug React applications. It mostly focuses on how you, as a developer, react to bugs in React applications.You will learn about the rich capabilities of Chrome DevTools and React DevTools. No of pages:30 Sub - Topics: 1. Chrome Reacts 2. Don’t React, Debug first 3. Console Reactions 4. React to Errors 5. React Developer Tools 6. React to Bugs within VS Code Chapter 7: Reacting in style Chapter Goal: The purpose of this chapter is to present different ways of styling components, their pros and cons, and introduce some tools to assist you in styling React components. No of pages:30 Sub - Topics: 1. CSS-in-JS 2. Styled Components 3. CSS Style Sheets 4. Sassy CSS (SCSS) 5. CSS Modules 6. Overview of CodeSandbox and Material UI 7. Responsive React Chapter 8: Hook into React Chapter Goal: In this chapter, we will cover in depth about React Hooks with examples. You will learn about all the hooks and how to create custom hooks. No of pages:60 Sub - Topics: 1. Life of a Class 2. Life of a Function and the birth of Hooks 3. useState 4. useEffect 4. useRef 5. useReducer 6. Remember to React 7. useMemo 8. useCallback 9. useContext 10. Few more ‘Hookies’ 11. Custom ‘Hookies’ Chapter 9: React more Chapter Goal: This chapter covers basics about Routing, Authentication, sending HTTP requests from a React App, Redux and a few other concepts we haven't talked about so far in other chapters. etc. No of pages:50 Sub - Topics: 1. React to Routes 2. Identify before React 3. . HTTP Reactions 4. Redux Chapter 10: New Reactions Chapter Goal: This chapter summarizes all the new features in React 18 No of pages:20 Sub - Topics: 1. New Root and the new way to Render 2. React Concurrently 3. React slowly for faster response 4. Server on Suspense 5. Automatic Batching 6. ’Too Strict’ Mode 7. New ‘Hookies’
£49.49
APress Practical GitOps
Book SynopsisIn the advanced section that follows, this simple EC2 server is expanded into an application that is deployed on an AWS EKS (Elastic Kubernetes Service) using AWS RDS (Relational Database Service) exposed through an AWS ALB (Application Load Balancer) protected using AWS ACM (AWS Certificate Manager), and accessible by setting the AWS Route53.Table of ContentsPart I - Setting up GitOpsChapter 1: What is GitOps? 1. The Era of DevOps 2. Infrastructure as Code 3. What is GitOps? Chapter 2: Introduction to AWS 1. Introduction to AWS 2. Creating an EC2 machine from AWS Console 3. Creating an EC2 machine using aws-cli Chapter 3: Introduction to Terraform 1. Introduction to Terraform 2. Basic Syntaxes 3. Creating an EC2 machine using Terraform Chapter 4: Introduction to Terraform Cloud and Workspaces 1. Preparing for Multi-environment 2. Introduction to Terraform Workspaces 3. Introduction to Terraform Cloud 4. Attaching Github Repo to Terraform Cloud Chapter 5: Introduction to Github Actions 1. Drawbacks of connecting to Github Repository 2. Introducing Github Actions 3. Deploying EC2 terraform code using Github Actions 4. Multi-environment strategy Chapter 6: WordPress on AWS EKS 1. AWS EKS,EFS,RDS Architecture 2. Walkthrough of Terraform Code 3. Walkthrough of Kubernetes Manifest Files 4. Deploying Wordpress in Dev and Prod. Part II - Operating with GitOps Chapter 7: Authentication and Authorization 1. Kubernetes Provider Authentication in Terraform 2. Exploring the aws-auth ConfigMap 3. Understanding IRSA(IAM Roles and Service Accounts) 4. Connect AWS IAM Role with Kubernetes Service Account 5. AWS User access in Kubernetes Chapter 8: Security and Secret Management 1. Implementing HTTPS using AWS ACM 2. Storing Database Password in AWS Secrets Manager 3. Integrating Security tools in GitOps pipeline Chapter 9: Backup and Disaster Recovery 1. Database Snapshot in AWS SSM Parameter Store 2. Deploying in Another AWS Region Chapter 10: Observability 1. Collecting Metrics and Logs 2. Performance Monitoring using Graphana/Prometheus 3. Log Collection using EFK (Elastic Filebeat and Kibana)
£37.49
APress The Essential Guide to HTML5
Book SynopsisGain a deep, practical knowledge of the basic tools used for webpages: hypertext markup language (HTML5), cascading style sheets (CSS), and JavaScript. This updated version includes new and improved games and exercises, and will serve total beginners as well as people with some programming language experience, but not familiar with the combination of HTML, CSS, and JavaScript.You''ll begin at an introductory level with the focus on technical features as well as programming techniques. Each chapter features a familiar game such as Rock-Paper-Scissors, Craps, Memory, and Blackjack or generic examples such as working with Mazes. Other projects include constructing and saving a maze; a basic word guessing game; ballistic games (Cannonball and Slingshot); a quiz requiring items to be put in order; and an animation demonstration featuring a ball, photo or video clip bouncing within a rectangle. The Appendix contains examples of advanced techniqTable of ContentsChapter 1 : The BasicsChapter 2: Dice GameChapter 3: Bouncing Things: Ball, Image, VideoChapter 4: Cannonball and SlingshotChapter 5: Memory Game (aka Concentration): Polygons or PhotosChapter 6: Quiz, with audio and video rewardChapter 7: Mazes, including making and storing a maze using localStorageChapter 8: Rock, Paper, Scissors, with sound effectsChapter 9: Guess a WordChapter 10: BlackjackAppendix: Making a path with Eyes following.- Moving connected circles.- Determining if Line Crossed.- Demonstration of Scalar Vector Graphics.- Index
£49.49
APress Building Browser Extensions
Book SynopsisAlmost all web developers today have plenty of experience with building regular web page apps, but a lot of that knowledge doesn''t transfer over when it comes to creating browser extensions. This book provides a complete reference for how to build modern browser extensions. Creating and deploying a browser extension is more like building a mobile app than a website. When you start building an extension you''ll often find there are a large number of new concepts and idiosyncrasies to wrangle with. This book reveals how to successfully navigate around these obstacles and how to take advantage of the limited resources available. You''ll see how a browser extensions work, their component pieces, and how to build and deploy them. Additionally, you''ll review all the tricky bits of extension development that most developers have to learn through trial and error. The current transition from manifest v2 to v3 is of special interest, and an entire chapter will beTable of ContentsChapter 1:Introduction to Browser ExtensionChapter 2:Components of Browser Extensions Chapter 3: Crash CourseChapter 4: Extension ArchitectureChapter 5: Extension ManifestsChapter 6:Manifest v2 versus v3Chapter 7: Background ScriptsChapter 8: Popup and Options PagesChapter 9: Content ScriptsChapter 10: Devtools PagesChapter 11: Extension and browser APIsChapter 12: PermissionChapter 13:NetworkingChapter 14:Extension Development and DeploymentChapter 15: Cross-Browser Extensions Chapter 16: Tooling and Frameworks.
£49.49
APress Introducing ReScript
Book SynopsisThis book serves as a succinct guide on ReScript, a functional language for building web applications. Using examples of ReScript language features along with explanations of fundamental concepts in functional programming, this book will show web developers with a background in JavaScript how to effectively use ReScript to its full potential. In Introducing ReScript, you'll learn how to use features in ReScript that JavaScript lacks, such as type inference, null-safety, algebraic data types, pattern matching, and more. Along the way, you'll pick up functional programming concepts like immutability and higher-order functions. You'll also gain a sense of how ReScript works under the hood and how to leverage interoperability between ReScript and JavaScript. Whether you're a web developer interested in dabbling with functional programming or you just want to learn how to write safer and cleaner code for web applications, this book is a great way for you to get started with ReScript. Table of ContentsChapter 1, IntroChapter Goal: Learn what functional programming is, and the background of the ReScript language● What is ReScript?● Why should you learn ReScript?● What is functional programming?● Why should you learn functional programming?Chapter 2, BasicsChapter Goal: Learn the basic features of ReScript, like expressions and operators- Development environment setup- Hello, World in ReScript- Expressions- Operators- If expressions- Let expressions- Printing and debuggingChapter 3, FunctionsChapter Goal: learn how functions work in ReScript- Defining a function- Applying a function- Polymorphic functions- Anonymous functionsChapter 4, Lists and ArraysChapter Goal: learn the data structures for ordered data in ReScript, learn about immutable data structures- Building a list- Accessing a list- Mutating a list- Arrays and mutability- IterationChapter 5, Records and ObjectsChapter Goal: learn the ways to represent composite data types in ReScript- Records- ObjectsChapter 6, Pattern Matching and DestructuringChapter Goal: learn one of ReScript's most powerful features and how to work with the shape of your data- Pattern matching/switch- Destructuring with let- Destructuring in functionsChapter 7, Algebraic Data TypesChapter Goal: learn how represent complex data in ReScript's type system- Variants- Polymorphic Variants- Options- TuplesChapter 8, Higher Order ProgrammingChapter Goal:- Higher order functions- Map- Filter- Reduce- Generalizing to other data structures- Piping- CurryingChapter 9, ModulesChapter Goal: Introduce modules in ReScript, and how they can be used for higher order programming- What are modules- Scope/visibility- Signature- Import/Export- FunctorsChapter 10, Using ReScript in ProductionChapter Goal: learn about ReScript's interoperability with JavaScript- Calling ReScript from JavaScript- Calling JavaScript from ReScript- Embedding JavaScript in ReScript- Working with DOM- Working with JSON- Runtime representation
£22.49
APress Developing Web Components with Svelte
Book Synopsis1: Getting Started.- 2: Creating Basic Components.- 3: Building Action Components.- 4: Building the Navigation Components.- 5: Creating Notification Components.- 6: Creating Grid Components.- 7: Writing Documentation.- 8: Documenting More Components.- 9. Testing Components.- 10: Deploying into Production.- 11: Taking Things Further.Table of Contents1: Getting Started 2: Creating Basic Components 3: Building Action Components 4: Building the Navigation Components 5: Creating Notification Components 6: Creating Grid Components 7: Writing Documentation 8: Documenting More Components 9. Testing Components 10: Deploying into Production 11: Taking Things Further
£41.24
APress Pro Kotlin Web Apps from Scratch
Book SynopsisBuild production-grade web apps from scratch - without using frameworks - with Kotlin on the Java platform. You''ll learn how to use and compose libraries, how to choose between different libraries, and the benefits of explicit and straight-forward code, vs. the implicit magic, conventions, and inversion of control you often see in frameworks.The book teaches the Kotlin language by building production-ready Kotlin code. You''ll gain a deep understanding of the idiomatic use of the Kotlin language along with knowledge of how to apply Kotlin in production-grade web apps. The book also bridges the gap between building from scratch and using existing frameworks. For example, you''ll learn how to integrate Spring Security-based authentication in web apps written from scratch, so you can leverage existing tooling in your organization without having to take on the entire Spring framework. The first section of the book sets up tTable of ContentsPart I. Up and Running with a Web App1. Setting Up A Development Environment2. Setting Up the Web App Skeleton3. Configuration Files4. Decoupling Web Handlers from Specific LibrariesPart II. Libraries and Solutions5. Connecting to and Migrating SQL Databases6. Querying a SQL Database7. Automated Tests with jUnit 58. Parallelizing Service Calls with Coroutines 9. Building Traditional Web Apps with HTML and CSS10. Building API Based Backends11. Deploying to Traditional Server Based Environments12. Build and Deploy to a Serverless Environment13. Setup, Teardown and Dependency Injection with Spring Context14. Enterprise Authentication using Spring SecurityPart III. Tools of the Trade15. Choosing the Right Library16. An Assortment of Kotlin TricksAppendix A: Using Jooby Instead of KtorAppendix B: Using Hoplite Instead of Typesafe ConfigAppendix C: Using Spek Instead of jUnit 5
£41.24
APress HighPerformance Web Apps with FastAPI
Book SynopsisBuild APIs and web apps based on Asynchronous Server Gateway Interface (ASGI). This book provides a comprehensive explanation of using Pydantic models to construct the request/response objects in a FASTAPI path operation.You'll start by reviewing type hints in Python and the asynchronous processing concepts. One of the highlights of FastAPI is its auto generation of API docs. Pydantic library is the main pillar on top of which FastAPI is built. You'll see that ASGI has a far better performance compared to most of the other popular Python frameworks as they implement Web server Gateway Interface (WSGI), which is synchronous in nature and hence having slower response time.This book thoroughly explains how FastAPI interacts asynchronously with relational as well as NOSQL databases. Modern web apps use template engines to interact with the front-end. In this book, you will learn to use jinja2 templates and static assets. Swagger UI and OpenAPI standards are also covered in detail. Finally,Table of ContentsBuild High Performance Web Apps with FastAPIChapter 1. Introduction to FastAPI Chapter 2. Installation of FastAPIChapter 3. Request Body Chapter 4. Templates Chapter 5. Response Chapter 6. Using Databases Chapter 7. Middleware Chapter 8. Testing and Debugging Chapter 9. Deployment Build High Performance Web Apps with FastAPI Chapter 10. Advanced Features
£41.24
APress Practical Highcharts with Angular
Book SynopsisLearn to create stunning animated and interactive charts using Highcharts and Angular. This updated edition will build on your existing knowledge of HTML, CSS, and JavaScript to develop impressive dashboards that will work in all modern browsers. You will learn how to use Highcharts, call backend services for data, and easily construct real-time data dashboards so you can club your code with jQuery and Angular. This book provides the best solutions for real-time challenges and covers a wide range of charts including line, area, maps, plot, and much more. You will also learn about arc diagrams, bubble series, dependency wheels, and error bar series. After reading this book, you'll be able to export your charts in different formats for project-based learning. Highcharts is one the most useful products worldwide for developing charting on the web, and Angular is well known for speed. Using Highcharts with Angular developers can build fast, interactive dashboards. Get up to speed usinTable of ContentsChapter 1: Getting Started with Highcharts · Benefits of Highcharts · History of Highcharts · Basics of Charting · Setup and Configuration · Creating Your First Chart · Summary Chapter 2: Concept of Highcharts · Scalable Vector Graphics · Choosing the Right Chart Type Based on Requirements · Bar Charts · Line Charts · Scatter Plots · Maps · Setting Layouts · Alignment · Setting Up Chart Margins· Legends· Setting Up Plot Lines · Setting Credits · Summary Chapter 3: Integrating Highcharts with Angular · What Is Angular?· What’s New in Angular · Configuring Angular · Setting Up Node.js· Code Editor · Setting Up Angular CLI· TypeScript · Highcharts Angular Wrapper · Summary Chapter 4: Different Charting Types · Pie Charts · Donut Chart · Drilldown Charts · Required Dependencies · Setting Up the Unique Name for a Series · Line Charts · Area Charts · Scatter Charts · Histogram Charts · Heat Map Series Charts · Stacked Bar Charts · Column Pyramid Charts · Gauge Charts· Arc Digram · Deviation Chart· Bubble Series· Dependency Wheel· Error bar series· Organisation Chart· Sunburst Chart· Summary Chapter 5: Working with Real-Time Data · Web API · What Is REST? · Web API Development Using Visual Studio · Solution Explorer · ConfigureService( )· Configure( ) · Routing · Attribute Routing · Database Creation · Adding Entity Framework · Angular-Highcharts UI Application · Services in Angular · Events in Highcharts · Drilldown Event · LegendItem Click Event · CheckBoxClick Event · Highcharts Wrapper for .NET · LineSeries Chart with a Highcharts Wrapper· Gauge Series Chart with a Highcharts Wrapper · SeriesData Classes · Summary Chapter 6: Themes and Additional Features of Highcharts · Themes in Highcharts · Applying a Dash Style Series to a Line Chart · Combinations in Highcharts · Zoom Option in Highcharts · Setting an Image in a Chart Area · 3 D Charts · Cylinder Chart · Funnel 3D · Pyramid 3D · Pie 3D Chart · Exporting and Printing Charts · Additional Chart Features · Radar Chart · Pareto Chart · Bell Curve Chart · Organization Chart · Timeline Chart · Gantt Chart · Summary Chapter 7: Building a Real-Time Dashboard · Real-Time Dashboard Application · Features of the App · Creating a Web API · Setting Up a Database · Creating a Database First Approach Using Entity Framework · Routing in an Angular App · Summary
£41.24
APress Pro RESTful APIs with Micronaut
Book Synopsis1. Fundamentals of RESTful APIs.- 2. Micronaut.- 3. Introduction to XML and JSON.- 4. API Design and Modeling.- 5. Introduction to JAX-RS.- 6. API Portfolio and Framework - Services.- 7. API Platform and Data Handler.- 8. API Management and CORS.Table of Contents1. Fundamentals of RESTful APIs2. Introducing Micronaut Framework3. API Design and Modeling4. Introduction to XML and JSON 5. Introduction to JAX-RS6. API Portfolio and Framework - Services7. API Platform and Data Handler8. API Management and API Client9. API Security and Caching.
£37.49
Springer-Verlag Berlin and Heidelberg GmbH & Co. KG Getting Started with Angular
Book Synopsis
£33.74
APress Continuous Integration CI and Continuous Delivery
Book SynopsisUse continuous Integration (CI) and continuous delivery (CD) to improve the speed of software delivery. This book presents a game changer-how to use pipelines to automate the software delivery process. The theories about CI/CD are much the same, but the book covers what the development of pipelines looks like and how testing of pipelines themselves should be performed.Most teams just plunge into coding, without thinking about the CI/CD process itself. Why don''t we use the same development method for pipelines that we use for apps? Pipelines code development undergoes similar stages as application code development, such as requirements analysis, development, testing, implementation, operations, and monitoring. This is the starting point of the book. It describes the current challenges with pipeline development and how this process can be improved and structured. It describes in detail how to design pipelines and shows examples in BPMN 2.0 notation.Table of ContentsChapter 1. The CI/CD pitfallChallenges Chapter 2. Concepts Principles Positioning of CI/CD Application Lifecycle Management (ALM) CI/CD strategy Naming convention Chapter 3. Requirements analysis Generic Workflow Technology Information Security Resource constraints Manageability Operations Quality Assurance Metrics Monitoring Governance Chapter 4. Pipeline design CI/CD and pipeline design approach BPMN 2.0 BPMN elements overview BPMN in action Level of detail Logical design versus realization The Generic CI/CD Pipeline Validate entry criteria Execute build Perform unit tests Analyze code Package artifact Publish artifact Provision test environment Deploy artifact to test Perform test Validate infrastructure compliancy Validate exit criteria Perform dual control Provision production environment Deploy artifact to production Notify actor Design strategies Context diagram Branching strategy Trunk-based workflow Feature branch workflow Gitflow Build strategy Build time – Vertical scaling Build time – Full builds versus incremental builds Build time – Parallel builds Build targets Cross-platform builds Multi-team build strategy Test strategy Automated versus manual tests Functional versus non-functional tests Parallel execution versus sequential execution Manual tests performed by specialists Long execution time versus short execution time Production deployment strategy Recreate deployment strategy Blue/green deployment Canary testing deployment A/B test strategy Separation of concerns Delegation Application architecture Orchestrator Event-based CI/CD Resource constraints Parallelize stages and tasks Timeboxed delivery Commercial of the Shelf Chapter 5. Pipeline development Pipeline specification Multi-branch, multi-stage pipeline User interface-based pipelines Scripted pipelines Declarative pipelines Declarative Jenkins pipeline Declarative Azure DevOps pipeline Repositories - Everything as code (EaC) Development in the value streams Simplified pipeline development Extended pipeline development Advanced pipeline development Develop a base pipeline Pipeline generation Pipeline of pipelines (DevOps assembly line) Trigger Validate entry criteria Execute build Perform unit tests Analyze code Package artifact Publish artifact Provision test environment Deploy artifact to test Perform test Validate infrastructure compliancy Deploy artifact to production Notify actor Constructs Triggers Execution environment Connections Conditions and conditional variables Matrix Deployment strategy Auto-cancel On success/failure Fail fast Priority Parallelism Shards Templates Decorator Gates and approvals Workflow Plugins Feature management Third-party libraries and containers Versioning and tagging Environment repository Secrets management Sustainable pipeline development Chapter 6. Test pipelines Testability of pipelines Unit tests Performance tests Pipeline compliance Acceptance tests Chapter 7. Pipeline implementation Organizational preparations CI/CD Infrastructure preparations System Security Target environment preparations System Security Pipeline preparations Release note Runbook Artifact promotion Chapter 8. Operate and monitor Operations Monitoring Systems monitoring Platform monitoring Security monitoring Share information Events, alerts, incidents and notifications References
£41.24
APress Beginning Ethereum Smart Contracts Programming
Book SynopsisUse this book to write an Ethereum blockchain smart contract, test it, deploy it, and create a web application to interact with your smart contract. This new edition has been expanded and updated to cover web3.js APIs, additional Consensus Protocols, non-Fungible Tokens (NFTs), developing NFT tokens using ERC-721, and more! Beginning Ethereum Smart Contracts Programming, second edition is your fastest and most efficient means of getting started if you are unsure where to begin and how to connect to the Ethereum blockchain. The book begins with a foundational discussion of blockchain and the motivation behind it. From there, you will get up close and personal with the Ethereum blockchain, learning how to use an Ethereum client (geth) to create a private Ethereum blockchain to perform transactions such as sending Ethers to another account on another node. You will learn about smart contracts without haviTable of Contents---NEW Chapter---- Chapter 1 - Technologies Behind Blockchain Basic Cryptography Types of Cryptographic algorithms Symmetric Asymmetric Hashing Digital Signature Summary Chapter 2 - Understanding Blockchain ---NEW Section--- Consensus Protocols Proof of Stake (PoS) Proof of Elapsed Time Proof of Space ... ----------------- Chapter 3 - Implementing Your Own Blockchain using Python Chapter 4 - Connecting to the Ethereum Blockchain using Geth Chapter 5 - Creating Your Own Private Ethereum Test Networks Chapter 6 - Using the Crypto Wallet - MetaMask Chapter 7 - Getting Started with Solidity Smart Contracts Chapter 8 - Testing Smart Contracts using Ganache Chapter 9 - Building Decentralized Apps using the web3.js APIs Chapter 10 - Handling Smart Contract Events Chapter 11 - Project - Online Lottery Chapter 12 - Creating Tokens using ERC-20 ---revised using OpenZepplin’s contract--- ---NEW Chapters---- Chapter 13 - Creating Non-Fungible Tokens using ERC-721 What is a NFT? Storing Digital Assets using IPFS What is IPFS Uploading a file to IPFS Accessing a file from IPFS NFT and IPFS Creating the NFT Token Contract Deploying the contract Minting the NFT Token Contract Getting the Owner of the NFT Getting the Name and Symbol of NFT Finding the Balance of NFT for an Address Getting the Owner of the NFT Getting the TokenURI Transferring a NFT Transferring Ownership of the NFT Contract Chapter 14 – Introduction to DeFi What is Decentralized Finance Stablecoins Types of Stablecoins USDC DAI Services in DeFi Components in DeFi Applications of DeFi ------------------
£41.24
APress Frameworkless FrontEnd Development
Book SynopsisExplore an alternative method of front-end application development without using frameworks or third-party libraries. This updated book provides you with the required skills and freedom to consider a no framework approach when choosing a technology for creating a new project. New topics covered include a brief history of JavaScript frameworks and their key developments, how to protect domain code, and how to work with frameworkless in legacy applications. You'll work through the most important issues in a clear and sensible way, using practical methods and tools to gain an understanding of non-functional requirements. This book answers questions on important topics such as state management, making a routing system, creating a REST client using fetch, and reveals the trade-offs and risks associated with choosing the wrong framework or tool for your project, as well as provides sustainability, and functional alternatives. Frameworkless Front-End Development breaksdown the concept of Table of Contents
£31.99
APress TypeScript Basics
Book SynopsisTable of Contents1.Getting Started.- 2. TypeScript Basics.- 3. TypeScript Compilers.- 4. Classes and Interfaces 5. Advanced Types 6. Generics & Decorators.- 7. To-do List With TypeScript.- 8.Drag Drop Project.- 9.Modules and Webpack.- 10. React TypeScript Project.- 11. React Redux with TypeScript..
£31.99
APress Angular for Business
Book SynopsisPart I:Core Concepts.- 1: A Gentle Introduction to Angular.- 2: A Brief Introduction to Typescript.- 3: Angular CLI Quick Reference.- 4: Making a Simple Angular Component.- 5: Offline Networks.- 6: Custom Angular Checkboxes with [(ngModel)] Support.- 7: Error Handling Strategies for Handling Data 8: Upgrading Angular.- 9: Understanding Service API's.- 10: Deploy with Azure with ng Deploy.- 11: Hosting an API.- 12: Progressive Web Applications (PWAs).- 13: RxJS: To Use or Not to Use?.- Part ii: Testing and Debugging.- 14: Test-Driven Development with Angular.- 15: Unit Testing Strategies.- 16: Debugging with Docker Containers.- Part III: The Command Line.- 17: What Do All Those Symbols Mean?.- Part IV: Source Control.- 18: Fixing Broken Git Commits.- 19: Archiving Your Git Repositories.- Part V: Communication and Training.- 20: How We Learn and Teach.- 21: Slow Down to be Noticed.- 22: Watch Your LanTable of ContentsPart I:Core Concepts.- 1: A Gentle Introduction to Angular.- 2: A Brief Introduction to Typescript.- 3: Angular CLI Quick Reference.- 4: Making a Simple Angular Component.- 5: Offline Networks.- 6: Custom Angular Checkboxes with [(ngModel)] Support.- 7: Error Handling Strategies for Handling Data 8: Upgrading Angular.- 9: Understanding Service API’s.- 10: Deploy with Azure with ng Deploy.- 11: Hosting an API.- 12: Progressive Web Applications (PWAs).- 13: RxJS: To Use or Not to Use?.- Part ii: Testing and Debugging.- 14: Test-Driven Development with Angular.- 15: Unit Testing Strategies.- 16: Debugging with Docker Containers.- Part III: The Command Line.- 17: What Do All Those Symbols Mean?.- Part IV: Source Control.- 18: Fixing Broken Git Commits.- 19: Archiving Your Git Repositories.- Part V: Communication and Training.- 20: How We Learn and Teach.- 21: Slow Down to be Noticed.- 22: Watch Your Language.- 23: Agile Planning and Management with Trello.- Part VI: Other Topics.- 24: Automate Screenshots with Protractor.- 25: Image Repositories.
£38.24
APress Practical GraphQL
Book SynopsisMaster the query language that is revolutionizing how websites are developed and built. This book is a hands-on guide to GraphQL, and will teach you how to use this open source tool to develop and deploy applications quickly and with minimal fuss. Using a project-based approach, you'll learn how to use GraphQL from the ground up. You'll start with the basics, including set up and key details regarding queries and mutations, before moving on to more advanced topics and projects. Over the course of the book, you will gain a thorough understanding of the web development ecosystem from frontend to backend by building React applications using Prisma Apollo Client and MongoDB. After completing this book, you'll be equipped with the knowledge and skills needed to turbo charge your own enterprise projects.What You'll LearnUnderstand what GraphQL is and how to use itDistinguish between queries and mutations, and how to leverage themGaina greater knowledge of full-stack applications with ReaTable of Contents1.Getting Started. - 2. Queries.- 3. Mutations.- 4. Full Stack GraphQL.- 5 App with Prisma.- 6. Connecting with the Frontend.
£38.24
APress Frontend Development with JavaFX and Kotlin
Book SynopsisBuild elegant, responsive, and stable Java Virtual Machine-based client applications (Fat Clients) with modern user interfaces. This book introduces JavaFX as a frontend technology and utilizes Kotlin instead of Java for coding program artifacts to boost code expressiveness and maintainability. Author Peter Späth employs a hands-on approach, providing practical examples and code to demonstrate each concept. Mid-level Java programming knowledge and a basic understanding of Kotlin are the only prerequisites; experience with JavaFX and frontend coding is not essential. JavaFX is a modern frontend programming toolkit equipped with containers, menus, buttons, sliders, text fields, and various other controls necessary for communicating with your users, all of which are covered here. Despite its name, JavaFX applications can be coded with programming languages other than Java. The central requirement is that any language targeting JavaFX compiles to artifacts runnable on a Java Virtual MachTable of ContentsChapter 1: Getting started.- Chapter 2: Properties, Bindings, and Observable Collections.- Chapter 3: Stages and Scenes.- Chapter 4 : Nodes and Controls.- Chapter 5 : Lists and Tables.- Chapter 6 : Event Handling.- Chapter 7: Effects and Animation.- Chapter 8: Concurrency.
£38.24
APress Learn Microservices with Spring Boot 3
Book SynopsisThis book will show you how to build Java-based microservices architecture using the popular Spring Boot framework by evolving a small monolith application to an event-driven architecture composed of several services. This third edition has been updated to cover Spring Boot 3, including its compatibility with Java 17 and Jakarta EE 10, and employs an incremental approach to teach the structure of microservices, test-driven development, and common patterns in distributed systems such as service discovery, load balancing, routing, centralized logs, per-environment configuration, and containerization. Authors Moisés Macero and Tarun Telang get the ball rolling by introducing you to the fundamentals of microservices and Spring Boot before walking you through the development of a basic Spring Boot application. You'll then see how to build a front end using React, and learn how to use the data layer to read and write data from and to other systems via Spring Boot and its access to Spring DTable of Contents
£44.99
APress JavaScript for Web Developers
Book SynopsisLearn the basics of JavaScript to enhance your web pages. This book focuses on modern JavaScript programming and encourages a well-organized approach to programming in general. JavaScript for Web Developers explains each foundational concept of the language, followed by a practical implementation of that lesson to reinforce what you've learned. Author Mark Simon starts with the basics of JavaScript programming, followed by a tutorial on manipulating HTML elements. You will then learn to work with forms, along with CSS and Event Listeners. Hands-on projects will not only solidify each concept in your mind, but they will also give you greater confidence and help you absorb best practices. The book concludes with coverage of Ajax, which will enable you to send and retrieve data from a server asynchronously without interfering with the display and behavior of an existing web page. After reading this book, you will be able to use JavaScript to design and program your own web applications. What Will You LearnUnderstand the basics of JavaScript programmingManipulate and modify web pages with JavaScriptUse JavaScript to interact with HTML and CSSWork with data and understand the basics of working with AjaxWho Is This Book ForBeginning web developers with little to no experience using JavaScript.Table of ContentsChapter 1: Working With JavaScript.- Chapter 2: Project — A Simple Guessing Game.- Chapter 3: Manipulating HTML Elements.- Chapter 4: Project — Creating a Slide Show.- Chapter 5: Working with Forms.- Chapter 6: Project — Creating a Custom Calculator Form.- Chapter 7: Interacting with CSS and Event Listeners.- Chapter 8: Project— Showing and Hiding Content.- Chapter 9: Project— Building a Lightbox Gallery.- Chapter 10: Project - An Introduction to Ajax.
£37.99