Book description
Unlock the powers of functional programming hidden within JavaScript to build smarter, cleaner, and more reliable web apps
About This Book
Write powerful code with the high-level functions that JavaScript offers
Discover what functional programming is, why it's effective, and how it's used in JavaScript
Understand and optimize JavaScript's hidden potential as a true functional language
Who This Book Is For
If you are a JavaScript developer interested in learning functional programming, looking for the quantum leap toward mastering the JavaScript language, or just want to become a better programmer in general, then this book is ideal for you. This guide is aimed at programmers, involved in developing reactive frontend apps, server-side apps that wrangle with reliability and concurrency, and everything in between.
What You Will Learn
Get a run through of the basic JavaScript language constructs
Code using the powerful object-oriented feature in JavaScript
Master DOM manipulation, cross-browser strategies, and ES6
Understand the basic concurrency constructs in Javascript and best performance strategies
Harness the power of patterns for tasks ranging from application building to code testing
Build large-scale apps seamlessly with the help of reactive patterns
Explore advanced design patterns, including dependency injection
Develop more powerful applications with currying and function composition
Create more reliable code with closures and immutable data
In Detail
JavaScript is a high-level, dynamic, untyped, lightweight, and interpreted programming language and functional programming is a style that emphasizes and enables smarter code that minimizes complexity and increases modularity. It's a way of writing cleaner code through clever ways of mutating, combining, and using functions. And JavaScript provides an excellent medium for this approach. By learning how to expose JavaScript's true identity as a functional language, we can implement web apps that are more powerful, easier to maintain and more reliable.
The java script: Functional Programming for JavaScript Developers course will take you on a journey to show how functional programming when combined with other techniques makes JavaScript programming more efficient. The first module Mastering JavaScript, stress on practical aspects of Javascript development likeFunctions and Closures, Runtime debugging techniques, project layout, events and DOM processing, build tools, Object-oriented patterns, isomorphismeverything that a modern Javascript project would need.
The second module, Mastering JavaScript Design Patterns - Second Edition, will explore how design patterns can help you improve and organize your JavaScript code. Youll get to grips with creational, structural, and behavioral patterns as you discover how to put them to work in different scenarios. This updated edition will also delve into reactive design patterns and microservices as they are a growing phenomenon in the world of web development. It will also show you some advanced patterns, including dependency injection and live post processing.
The third module, Functional Programming in JavaScript, will help you to write real-world applications by utilizing a wide range of functional techniques and styles. It explores the core concepts of functional programming common to all functional languages, with examples of their use in JavaScript.
Style and approach
This course will begin with providing insights and practical tips on advanced JavaScript features to build highly scalable web and mobile system and move on to some design patterns with JavaScript. Finally, the course ends with presenting the functional programming techniques and styles in JavaScript.
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: Functional Programming for JavaScript Developers
- Table of Contents
- JavaScript: Functional Programming for JavaScript Developers
- JavaScript: Functional Programming for JavaScript Developers
- Credits
- Preface
-
1. Module 1
-
1. JavaScript Primer
- A little bit of history
- How to use this book
- Hello World
- Summary
- 2. Functions, Closures, and Modules
- 3. Data Structures and Manipulation
- 4. Object-Oriented JavaScript
- 5. Testing and Debugging
- 6. ECMAScript 6
- 7. DOM Manipulation and Events
- 8. Server-Side JavaScript
-
1. JavaScript Primer
-
2. Module 2
- 1. Designing for Fun and Profit
- 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. The Powers of JavaScript's Functional Side – a Demonstration
- 2. Fundamentals of Functional Programming
- 3. Setting Up the Functional Programming Environment
- 4. Implementing Functional Programming Techniques in JavaScript
- 5. Category Theory
- 6. Advanced Topics and Pitfalls in JavaScript
- 7. Functional and Object-oriented Programming in JavaScript
- A. Common Functions for Functional Programming in JavaScript
- B. Glossary of Terms
- A. Bibliography
- Index
Product information
- Title: JavaScript: Functional Programming for JavaScript Developers
- Author(s):
- Release date: August 2016
- Publisher(s): Packt Publishing
- ISBN: 9781787124660
You might also like
book
Functional Programming in JavaScript
Functional Programming in JavaScript teaches JavaScript developers functional techniques that will improve extensibility, modularity, reusability, testability, …
book
Mastering Javascript Functional Programming
Master Functional Programming techniques with this comprehensive guide for writing cleaner, safer, high-performing JavaScript codes About …
book
JavaScript : Object-Oriented Programming
Build sophisticated web applications by mastering the art of Object-Oriented Javascript About This Book Learn popular …
book
Learning JavaScript Design Patterns
With Learning JavaScript Design Patterns, you’ll learn how to write beautiful, structured, and maintainable JavaScript by …