Take a look at our Web Programming books. Shulph carries a great selection of Web Programming books, and we are always adding more.
Unit test your Vue.js components with this fully-featured JavaScript testing framework Key Features Understand the various testing styles and their purpose Gain insight into how to test methods by avoiding dependencies Explore snapshot testing and its applications Book Description Unit testing in modern component-based JavaScript frameworks is not straightforward. You need a test suite that is reliable and runs quickly. Components are connected to one another, and the browser adds a layer of UI, which makes everything inter-dependent while we test components in isolation. Jest is a fully-featured JavaScript testing framework that will do all your work for you. This book shows you how to test Vue.js components easily and take advantage of the fully-featured Jest testing framework with the aid of practical examples. You'll learn the different testing styles and their structures. You'll also explore how your Vue.js components respond to various tests. You'll see how to apply techniques such as snapshot testing, shallow rendering, module dependency mocking, and module aliasing to make your tests smooth and clean. By the end of this book, you'll know all about testing your components by utilizing the features of Jest. What you will learn Set up a Vue-test project to get started with Jest Unit test your components using techniques such as shallow rendering Gain insights into how to test the reactive parts in the logic of the Vue.js components Explore how to test deeply rendered Vue.js components Perform easy and quick tests with module dependency mocking, module aliasing, and more Know-how and when to use snapshot testing Who this book is for If you are a programmer looking to make your development process smooth and bug-free, this is an ideal book for you. Prior knowledge and experience of JavaScript will help you quickly and easily grasp the concepts explained in this book.
Apply your experience of web development with HTML and JavaScript to build micro frontends for large-scale web projects using frameworks such as React and popular web tooling such as Node.js with Express or webpackKey FeaturesCut through the complexities of designing a monolithic web architecture using micro frontend architectureExplore architecture patterns for building large-scale applicationsLearn how to build, test, and secure your micro frontends efficientlyBook DescriptionMicro frontend is a web architecture for frontend development borrowed from the idea of microservices in software development, where each module of the frontend is developed and shipped in isolation to avoid complexity and a single point of failure for your frontend. Complete with hands-on tutorials, projects, and self-assessment questions, this easy-to-follow guide will take you through the patterns available for implementing a micro frontend solution. You'll learn about micro frontends in general, the different architecture styles and their areas of use, how to prepare teams for the change to micro frontends, as well as how to adjust the UI design for scalability. Starting with the simplest variants of micro frontend architectures, the book progresses from static approaches to fully dynamic solutions that allow maximum scalability with faster release cycles. In the concluding chapters, you'll reinforce the knowledge you've gained by working on different case studies relating to micro frontends. By the end of this book, you'll be able to decide if and how micro frontends should be implemented to achieve scalability for your user interface (UI).What you will learnUnderstand how to choose the right micro frontend architectureDesign screens for compositional UIsCreate a great developer experience for micro frontend solutionsAchieve enhanced user experiences with micro frontendsIntroduce governance and boundary checks for managing distributed frontendsBuild scalable modular web applications from scratch or by migrating an existing monolithWho this book is forThis book is for software/solution architects or (mostly lead) developers as well as web developers and frontend engineers. Beginner-level knowledge of HTML and CSS along with a solid understanding of JavaScript programming and its ecosystem, including Node.js and NPM, is assumed.
Work with everything you need to create TypeScript applications Key Features Learn enough about all aspects of TypeScript Answers the questions that new users ask about TypeScript Focus on simple examples and concise explanations Book Description TypeScript is designed for the development of large applications and can be used to develop JavaScript applications for both client-side and server-side execution. This book is the ideal introduction to TypeScript, covering both the basics and the techniques you need to build your own applications. We start by setting up the environment and learning about the build tools that support TypeScript. Then we look at scoping of a variable, and the difference between a undefined variable and a null variable. You will then see the difference between an object, an Object, an object literal, and an object built with a constructor, crucial concepts in understanding TypeScript. You will learn how to make your code more generic to increase the reusability of your classes, functions, and structures, and to reduce the burden of duplicating code. We look at creating definition files to transform the actual JavaScript code to be compatible with TypeScript. By the end of the book, you will have worked with everything you need to develop stunning applications using TypeScript. What you will learn Set up the environment quickly to get started with TypeScript Configure TypeScript with essential configurations that run along your code Structure the code using Types and Interfaces to create objects Demonstrate how to create object-oriented code with TypeScript Abstract code with generics to make the code more reusable Transform the actual JavaScript code to be compatible with TypeScript Who this book is for This book is for JavaScript developers who want to get started with TypeScript for building applications. No previous knowledge of TypeScript is expected.
Learn and explore all important features of Vue.js through a number of simple examples. Key Features Uses latest features such as Vue-cli 3, Vuex, and Nuxt Practical examples to understand Vue 2 quickly Step-by-step approach to reinforce concepts covered Book Description Vue.js is the latest trending frontend framework. Simplicity, reactivity, and ?exibility are some of the key benefits that Vue offers to developers. This book will help you learn everything you need to know to build stunning reactive web apps with Vue.js 2 quickly and easily. This book will take you through the Vue 2 framework. You will start by learning the different Vue installation options: CDN, NPM, and Vue CLI. Then we will look at the core concepts of Vue: templates and components – ways to modularize Vue code. You will learn how to utilize directives, which are Vue-specific HTML attributes with additional features. Also, you will see how Vue uses a streamlined approach to development, with reusable methods, computed properties, and watchers, and how it controls state with the help of its data option. You will learn about the concepts of reactive programming in Vue, and how to understand communication between parent and child components. We will take a look at props and slots, working with CSS, filters, and mixins. We will also look at ways to add transitions and animations to Vue apps. Then you will extend Vue by building custom directives and your own plugins. Finally, you will learn about Vuex – a Vue plugin that allows us to centralize state, and also introduce Nuxt, which is a framework that builds on top of Vue and solves some issues of single-page applications. After learning about these components, you will be ready to build your own reactive web apps with Vue.js 2. What you will learn Develop apps with Vue.js Reuse components using slots Use filters, mixins, and global mixins in Vue Build custom directives in Vue Work with CSS animations Work with templates, directives, methods, data, computed properties, and watchers Use Nuxt and Vue-Router Build and deploy an SSR Vue app Who this book is for This book is for people who want to learn and experience developing with Vue.js. Familiarity with HTML, CSS, and JavaScript will help you get the most from this book.
A fast paced that will teach you to build Static JavaScript Sites and Amazing Web Apps Using VuePress Key Features Build quick, SEO-friendly static websites with VuePress and Vue.js Develop and maintain your sites long term Use the power of Vue + webpack, and develop custom themes with Vue Book Description What are static site generators, why do you need them, and how are they better than general blogging or writing or content tools? This book answers all those questions as you learn how to build sites with VuePress. This book teaches you how to build static sites in VuePress in no time. All the site content is rendered as HTML by VuePress and is then executed as a single-page web app. This means everything works fast and loads quickly. You will start by installing and setting up the VuePress static site generator. You will learn about the powerful JavaScript framework Vue.js, which underpins VuePress, looking at its uses and advantages. You will then dig deep into the specifics of VuePress, covering content creation in Markdown, customization, internationalization, and deployment. You will also learn about security methods, configuration files for new installations, and many other techniques to have you building your own sites safely and quickly. By the end of the book, you will have built your own static website by leveraging the power of Vue.js and VuePress. What you will learn Put together a simple site in Markdown Use VuePress to generate a super-fast static site Customize the appearance of your VuePress site using custom themes Work with internationalization and localize your site in multiple languages Set up a custom home page with a call to action button as well as other pages and a navigation menu Deploy your JavaScript site to services such as Heroku, and Netlify Who this book is for If you want to create static sites easily, this book is for you. No knowledge of VuePress is required, but some experience with JavaScript will be helpful.
Combine the power of Angular, Bootstrap 4, FlexLayout, and Angular Material Design to build elegant user interfaces Key Features Learn to combine Angular 6 with Bootstrap 4 to design highly intuitive and responsive web interfaces Explore the design principles for professional web layout with Angular Material, Flexbox, and Bootstrap Avoid potential stumbling blocks in web development with the help of expert tips Book Description Angular and Bootstrap have undergone a major overhaul to embrace emerging web technologies that help developers build cutting-edge web applications. This book is for you if you're ready to enhance your web development skills beyond HTML and CSS. It begins with the basics of Angular and Bootstrap 4, along with an introduction to ES and TypeScript. You'll be able to refine your skills further with flex-layout's Responsive API to specify different layouts and sizing for various screen sizes. By using Angular Material, you'll discover how to make your web pages look professional. You'll study how to format output using Angular's pipes and use the built-in router to set up routes for all your components. With the help of Webpack, you'll be able to easily wrap up your project and use SASS to make things pretty. Furthermore, you can validate the forms you've built and debug your application. This book will also guide you in transitioning from Bootstrap to Angular smoothly, hooking up with a server, and using Firebase as the persistence layer. You'll not only develop the right skills, but also gain insights into the potential stumbling blocks and tips for how to avoid them. By the end of this book, you'll have a stunning e-commerce application running, along with the confidence to build your own applications. What you will learn Develop Angular single-page applications using an ecosystem of helper tools Get familiar with Bootstrap's new grid and helper classes Embrace TypeScript and ECMAScript to write more maintainable code Implement custom directives for Bootstrap 4 with the ng2-bootstrap library Understand the component-oriented structure of Angular and its router Use the built-in HTTP library to work with API endpoints Manage your app's data and state with observables and streams Combine Angular and Bootstrap 4 with Firebase to develop a solid example Who this book is for Whether you already know a little about Bootstrap or Angular or you're a complete beginner, this book will enhance your capabilities in both frameworks. It will guide you in easily building a fully functional web app. Working knowledge of HTML, CSS, and JavaScript is required to get a better understanding of Bootstrap and Angular.
Learn core WordPress concepts and components to create modern WordPress-based solutions Key Features Learn the foundations of WordPress development and its hook-based architecture Choose the right components for any development task Build flexible solutions that works with existing plugins and themes Book Description WordPress is the most used CMS in the world and is the ideal way to share your knowledge with a large audience or build a profitable business. Getting started with WordPress development has often been a challenge for novice developers, and this book will help you find your way. This book explains the components used in WordPress development, when and where to use them, and why you should be using each component in specific scenarios. You begin by learning the basic development setup and coding standards of WordPress. Then you move into the most important aspects of the theme and plugin development process. Here you will also learn how themes and plugins fit into the website while learning about a range of techniques for extending themes and plugins. With the basics covered, we explore many of the APIs provided by WordPress and how we can leverage them to build rapid solutions. Next, we move on to look at the techniques for capturing, processing, and displaying user data when integrating third-party components into the site design. Finally, you will learn how to test and deploy your work with secure and maintainable code, while providing the best performance for end users. What you will learn Explore the role of themes, plugins, and built-in features in development Adapt to built-in modules and built-in database structures Write code for WordPress's hook-based architecture Build, customize, and integrate WordPress plugins Extend themes with custom design templates Capture and process data with built-in features and custom forms Improve usability with AJAX and third-party components Manage non-functional aspects, such as security, performance, and migration Who this book is for This book is for web developers and site owners who want to build custom websites with WordPress. Basic knowledge of PHP, JavaScript, HTML and CSS is required to get most out of this book.