Book description
Explore and master modern JavaScript techniques with ES2015 in order to build large-scale web applications
About This Book
This course offers an expert's eye on the latest ES6 features and how these advanced tasks fit together in JavaScript as a whole
Discover robust JavaScript implementations of classic and advanced design patterns
Learn about modern web architectures and build real-world apps on top of them
Who This Book Is For
This course is for experienced developers familiar with other object-oriented languages who wants to learn new capabilities of ES-2015 to improve their web development skills and build professional-quality web applications. This also goes for those who want to explore some modern JavaScript features, techniques, and architectures in order to develop cutting-edge web applications.
What You Will Learn
Get a run through of the basic language constructs, Functions, and Closures of JavaScript
Code using the powerful object-oriented feature in JavaScript
Master DOM manipulation, cross-browser strategies, and ES6
Harness the power of patterns for tasks ranging from application building to code testing
Identify the best use cases for microservices
Gain expertise in responsive and dynamic website design
Enable real-time communications between client-client and client-server/server-client
Write complete applications using functional reactive programming
In Detail
JavaScript is a high-level, dynamic, untyped, lightweight, and interpreted programming language. Mastering modern JavaScript techniques and the toolchain are essential to develop web-scale applications. This Learning Path will upgrade your skills to ES2015, and you will get to introduce yourself to popular frameworks like React and Angular 2.
In the first module, you will get familiar with the language constructs and how to make code easy to organize. You will gain a concrete understanding of variable scoping, loops, and best practices on using types and data structures, as well as the coding style and recommended code organization patterns in JavaScript. By the end of the module, you will understand how reactive JavaScript is going to be the new paradigm.
Over the course of the next module, you will explore how design patterns can help you improve and organize your JavaScript code. You’ll get to grips with creational, structural, and behavioral patterns and get a deeper look at patterns used in functional programming, as well as model view patterns and patterns to build web applications. By the end of the module, you'll be saved of a lot of trial and error and developmental headaches, and you will be on the road to becoming a JavaScript expert.
In the last leg of this course, you will shift your focus to network programming concepts as you build a real-time web application with websockets. Along the way, you’ll explore how the power of JavaScript can be increased multi-fold with high performance techniques. By the end of this module, you’ll be a skilled JavaScript developer with a solid knowledge of the latest JavaScript techniques, tools, and architecture to build modern web apps.
This Learning Path combines some of the best that Packt has to offer in one complete, curated package. It includes content from the following Packt products:
Mastering JavaScript by Ved Antani
Mastering JavaScript Design Patterns, Second Edition by Simon Timms
Modern JavaScript Applications by Narayan Prusty
Style and approach
This course is a comprehensive guide with a clear focus on practical use cases and patterns. Each chapter consists of best practices, useful advice, and a bunch of easy-to-follow examples that will build up your skills as you advance.
Downloading the example code for this book. You can download the example code files for all Packt books you have purchased 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 code file.
Table of contents
-
JavaScript: Moving to ES2015
- Table of Contents
- JavaScript: Moving to ES2015
- JavaScript: Moving to ES2015
- Credits
- Preface
-
1. Module 1
-
1. JavaScript Primer
- A little bit of history
- How to use this module
- Hello World
- Summary
- 2. Functions, Closures, and Modules
- 3. Data Structures and Manipulation
- 4. Object-Oriented JavaScript
- 5. JavaScript Patterns
- 6. Testing and Debugging
- 7. ECMAScript 6
- 8. DOM Manipulation and Events
- 9. Server-Side JavaScript
-
1. JavaScript Primer
-
2. Module 2
- 1. Designing for Fun and Profit
- 1. Classical Design Patterns
- 2. Organizing Code
- 3. Creational Patterns
- 4. Structural Patterns
- 5. Behavioral Patterns
- 6. Functional Programming
- 7. Reactive Programming
- 8. Application Patterns
- 9. Web Patterns
- 10. Messaging Patterns
- 11. Microservices
- 12. Patterns for Testing
- 13. Advanced Patterns
- 14. ECMAScript-2015/2016 Solutions Today
-
3. Module 3
- 1. Breaking into Microservices Architecture
- 2. Building a Coupon Site
- 3. Communication between Browsers in Real Time
- 4. Building a Chatroulette
-
5. Bidirectional Communication in Real Time
- Introducing WebSocket
- Introduction to Socket.IO
- Summary
- 6. Building a Live Score Site
- 7. Functional Reactive Programming
- 8. Building an Advanced Profile Search Widget
-
9. New Features of Bootstrap 4
- Downloading Bootstrap 4
- Browser and device support
- Understanding the rem and em CSS units
- The grid system
- Global margin reset
- Spacing utility classes
- Display headings
- Inverse tables
- The card component
- Outline buttons
- Moving from Less to Sass
- Text alignment and float utility classes
- Reboot
- Flexbox support
- JavaScript improvements
- Adding Tether
- The 21:9 aspect ratio class
- Customizing Bootstrap 4
- Glyphicons dropped
- Summary
- 10. Building User Interfaces Using React
- 11. Building an RSS Reader Using React and Flux
-
12. New Features of Angular 2
- The Angular 2 architecture
- Introducing web components
- Setting up an Angular 2 project
- Angular 2 fundamentals
- Styling components and shadow DOM
- Angular 2 change detection
- Understanding view children and content children
- Component lifecycle methods
- Writing templates
- Outputs
- Understanding providers
- The difference between providers and the viewProviders property
- Summary
- 13. Building a Search Engine Template Using AngularJS 2
- 14. Securing and Scaling Node.js Applications
- Bibliography
- Index
Product information
- Title: JavaScript: Moving to ES2015
- Author(s):
- Release date: March 2017
- Publisher(s): Packt Publishing
- ISBN: 9781787125919
You might also like
book
jQuery 2.0 Development Cookbook
As a web developer, you can benefit greatly from this book - whatever your skill level. …
book
6 JavaScript Projects
There's no doubt that the JavaScript ecosystem changes fast. Not only are new tools and frameworks …
book
HTML, XHTML, and CSS: Your visual blueprint™ for designing effective Web pages
If you’ve ever been curious about any of the multitude of internet acronyms, the web technologies …
book
HTML, XHTML, & CSS, Sixth Edition: Visual QuickStart Guide
Need to learn HTML fast? This best-selling reference's visual format and step-by-step, task-based instructions will have …