To get the most out of this book
- Follow the instructions at the beginning of each chapter and section.
- Check the latest code examples on GitHub.
- It helps to be familiar with full-stack web development, but it is not a pre-requisite.
- If you are a beginner, follow the book in the published order, coding your solution alongside the content in each chapter.
- You can begin going through any chapter, so long as you clone the prior chapter's implementation from GitHub and understand the assumptions covered in Chapter 2, Setting Up Your Development Environment.
Download the example code files
You can get the latest version of the example code files for this book on GitHub. There are four projects that directly supports the content in this book:
- Web development environment setup scripts at https://github.com/duluca/web-dev-environment-setup
- Local Weather App at https://github.com/duluca/local-weather-app
- LemonMart at https://github.com/duluca/lemon-mart
- LemonMart Server at https://github.com/duluca/lemon-mart-server
In each chapter you can find specific instructions to access chapter specific versions of code examples. When demonstrating continuous integration and continuous deployment configuration, Git branches and GitHub pull requests are utilized to demonstrate specific configuration elements.
You can download a snapshot of example code files for this book at the time of publishing from your account at http://www.packtpub.com. If you purchased this book elsewhere, you can visit http://www.packtpub.com/support and register to have the files emailed directly to you.
You can download the code files by following these steps:
- Log in or register at http://www.packtpub.com.
- Select the SUPPORT tab.
- Click on Code Downloads & Errata.
- Enter the name of the book in the Search box and follow the on-screen instructions.
Once the file is downloaded, please make sure that you unzip or extract the folder using the latest version of:
- WinRAR / 7-Zip for Windows
- Zipeg / iZip / UnRarX for Mac
- 7-Zip / PeaZip for Linux
The code bundle for the book is also hosted on GitHub at https://github.com/PacktPublishing/Angular-for-Enterprise-Ready-Web-Applications-Second-Edition. We also have other code bundles from our rich catalog of books and videos available at https://github.com/PacktPublishing/. Check them out!
Download the color images
We also provide a PDF file that has color images of the screenshots/diagrams used in this book. You can download it here: http://www.packtpub.com/sites/default/files/downloads/9781838648800_ColorImages.pdf.
Conventions used
There are a number of text conventions used throughout this book.
CodeInText
: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. For example; "Mount the downloaded WebStorm-10*.dmg
disk image file as another disk in your system."
A block of code is set as follows:
{
"name": "local-weather-app",
"version": "0.0.0",
"license": "MIT",
...
}
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
"scripts": {
"ng": "ng",
"start": "ng serve",
"build": "ng build",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e"
},
Any cross-platform or macOS specific command-line input or output is written as follows:
$ brew tap caskroom/cask
Windows specific command-line input or output is written as follows:
PS> Set-ExecutionPolicy AllSigned; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
Bold: Indicates a new term, an important word, or words that you see on the screen, for example, in menus or dialog boxes, also appear in the text like this. For example: "Browser vendors are supposed to implement these technologies as defined by the World Wide Web Consortium (W3C)."
Warnings or important notes appear like this.
Tips and tricks appear like this.