Beginning Functional JavaScript
Home > Computing and Information Technology > Computer programming / software engineering > Web programming > Beginning Functional JavaScript: Functional Programming with JavaScript Using EcmaScript 6
Beginning Functional JavaScript: Functional Programming with JavaScript Using EcmaScript 6

Beginning Functional JavaScript: Functional Programming with JavaScript Using EcmaScript 6


     0     
5
4
3
2
1



Out of Stock


Notify me when this book is in stock
X
About the Book

Learn functional programming concepts using JavaScript ES6. You will learn concepts such as currying, partial functions, higher-order functions, and monads. Programming languages have evolved from focusing on procedures to objects and now on function. JavaScript supports functional programming and allows developers to write well-crafted code. What You Will Learn: Master functional programming concepts Identify how functions are treated in JavaScript Understand real-world functional libraries and create a functional library that mimics underscore.js Perform pure-error handling techniques such as functors and monads Discover ES6 functional features such as spread operators and generators Who This Book Is For: JavaScript developers (or beginners) who want to understand functional programming concepts and the functional nature of the language.

Table of Contents:
Chapter 1: Functional Programming In Simple Terms Chapter Goal: Introduce to the reader the functional programming concepts in simple English terms. The chapter is supposed to consist of theory and few executable Javascript code both in imperative terms and functional terms, thus showcasing the advantages of functional programming over imperative. No of pages : 25 Sub -Topics 1. What is functional programming? Why it matters? 2. Functional programming thought process and its advantages. 1. Talking about side effects 2. Functions in Math and in programming 3. Immutability leads to parallel code 4. Testable 5. Easy to reason about your code. 3. Lets understand functions in Javascript 4. What we are going to build in this book? Chapter 2: Fundamentals of Javascript functions Chapter Goal: This chapter is sort of refresher on Javascript functions. What they are and how they can be written in es6 world etc. No of pages: 20 Sub - Topics 1. Javascript Functions 2. Functions vs Methods in Javascript 3. Functions old way and ES6 way 4. Anonymous functions or arrow functions 5. Deep Dive. Functions Prototype. Chapter 3: Functions === Data. Chapter Goal: In this chapter we are going give a different thought process on how functions are treated as data in Javascript world. We will be covering what is data and how function as data allows several things possible in Javascript. No of pages: 20 Sub - Topics: 1. Datas in Javascript 2. Functions as Data in Javascript 3. Higher order functions 3. Our first functional approach to “loop” problem Chapter 4: Arrays Chapter Goal: This chapter is going to create lot of functional libraries for the Arrays. The chapter explains the importance of Arrays as collections in Javascript, No of pages: 30 Sub - Topics: 1. Arrays in Javascript 2. How to access arrays, delete, loop them etc 3. Create functional libraries using the above approaches learned. 4. Example problem and using the libraries that we created to show how functional programming helps them. Chapter 5: Closures and Currying Chapter Goal: This chapter introduces yet another important concepts in Javascript called closures. No of pages: 20 Sub - Topics: 1. What all functions can see? 2. Remembering where you born. 3. Introducing Closures. 4. Using closures create a in built bind function 5. Introduce Currrying with that created function 6. Use closures create functions and add it to our functional lib 7. Show examples of the above created functions. 8. Are closures impure? Chapter 6: Composition and Pipelines Chapter Goal: In this chapter we are going to see how and what is compostion. No of pages: 20 Sub - Topics: 1. What is compostion? 2. Unix philoshophy – build small things well and good 3. Creating composing function 4. Currying leads to Composition. 5. Pipelines 6. Showing examples of how to use composition 7. Category theory Chapter 7: Functors Chapter Goal: In this chapter we are going to discuss on what Functors are and how they will be useful to us. No of pages: 20 Sub - Topics: 1. A bit of algebra 2. Container Theory 3. First Functor 4. Adding Container functor code to our library 5. Showing examples of how to use the functors Chapter 8: MayBe And Either Functors Chapter Goal: In this chapter we are going to talk about these two functors in depth and create them in our functional library. No of pages: 20 Sub - Topics: 1. Handling error handling in functional world 2. Introducing MayBe functors 3. Adding functors to our library 4. Showing examples 5. Introducing Either Functors 6. Adding Either functors to our library 7. Showing examples 8. Real world functors. 9. Other functors I/O , Promise and giving exercises. Chapter 9: Applicative Functors Chapter Goal: In this chapter we are going to talk about applicative functors in depth and create them in our functional library. No of pages: 20 Sub - Topics: 1. What are applicative functors 2. Their use cases 3. Adding applicative to our library 4. Their Laws Chapter 10: Lets be functional about Generators Chapter Goal: In this chapter we are going to talk about new features of ES6 called generators. We are going to see how to use it wisely to make async sync. No of pages: 20 Sub – Topics: 1. What are generators? 2. Lets create an indefinite lazy stream 3. Generators and EventLoop 4. Lets understand Yield 5. Making Async sync 6. Adding the code to our library 7. Showcasing examples. Chapter 11: Testing and Closing Thoughts Chapter Goal: In this chapter we are going to see how testing is easy if we follow functional concepts and final thoughts No of Pages: 10 Sub – Topics: 1. Testing imperative Code 2. Testing functional code 3. Testing made easy via Functional 4. Final thoughts Few Sections: I want to add these sections as well, for now noting them down in the draft so that I can fit them where they are needed. · Tail Call optimization · Recursion · Functional code can allow you to memorize the result · Cacheable Code is allowed in Functional code base

About the Author :
Anto Aravinth has been in the software industry for more than 4 years. He has developed many systems that are written in JavaScript and JavaWorld. Anto has knowledge of the fundamentals of JavaScript and how it works and has trained many people. Anto is an Open Source contributor to the React, Groovy, and Selenium frameworks and is co-author of React version 15. He also loves playing table tennis!


Best Sellers


Product Details
  • ISBN-13: 9781484226551
  • Publisher: Apress
  • Publisher Imprint: Apress
  • Height: 235 mm
  • No of Pages: 164
  • Sub Title: Functional Programming with JavaScript Using EcmaScript 6
  • Width: 155 mm
  • ISBN-10: 1484226550
  • Publisher Date: 10 Mar 2017
  • Binding: Paperback
  • Language: English
  • Returnable: Y
  • Weight: 2876 gr


Similar Products

Add Photo
Add Photo

Customer Reviews

REVIEWS      0     
Click Here To Be The First to Review this Product
Beginning Functional JavaScript: Functional Programming with JavaScript Using EcmaScript 6
Apress -
Beginning Functional JavaScript: Functional Programming with JavaScript Using EcmaScript 6
Writing guidlines
We want to publish your review, so please:
  • keep your review on the product. Review's that defame author's character will be rejected.
  • Keep your review focused on the product.
  • Avoid writing about customer service. contact us instead if you have issue requiring immediate attention.
  • Refrain from mentioning competitors or the specific price you paid for the product.
  • Do not include any personally identifiable information, such as full names.

Beginning Functional JavaScript: Functional Programming with JavaScript Using EcmaScript 6

Required fields are marked with *

Review Title*
Review
    Add Photo Add up to 6 photos
    Would you recommend this product to a friend?
    Tag this Book Read more
    Does your review contain spoilers?
    What type of reader best describes you?
    I agree to the terms & conditions
    You may receive emails regarding this submission. Any emails will include the ability to opt-out of future communications.

    CUSTOMER RATINGS AND REVIEWS AND QUESTIONS AND ANSWERS TERMS OF USE

    These Terms of Use govern your conduct associated with the Customer Ratings and Reviews and/or Questions and Answers service offered by Bookswagon (the "CRR Service").


    By submitting any content to Bookswagon, you guarantee that:
    • You are the sole author and owner of the intellectual property rights in the content;
    • All "moral rights" that you may have in such content have been voluntarily waived by you;
    • All content that you post is accurate;
    • You are at least 13 years old;
    • Use of the content you supply does not violate these Terms of Use and will not cause injury to any person or entity.
    You further agree that you may not submit any content:
    • That is known by you to be false, inaccurate or misleading;
    • That infringes any third party's copyright, patent, trademark, trade secret or other proprietary rights or rights of publicity or privacy;
    • That violates any law, statute, ordinance or regulation (including, but not limited to, those governing, consumer protection, unfair competition, anti-discrimination or false advertising);
    • That is, or may reasonably be considered to be, defamatory, libelous, hateful, racially or religiously biased or offensive, unlawfully threatening or unlawfully harassing to any individual, partnership or corporation;
    • For which you were compensated or granted any consideration by any unapproved third party;
    • That includes any information that references other websites, addresses, email addresses, contact information or phone numbers;
    • That contains any computer viruses, worms or other potentially damaging computer programs or files.
    You agree to indemnify and hold Bookswagon (and its officers, directors, agents, subsidiaries, joint ventures, employees and third-party service providers, including but not limited to Bazaarvoice, Inc.), harmless from all claims, demands, and damages (actual and consequential) of every kind and nature, known and unknown including reasonable attorneys' fees, arising out of a breach of your representations and warranties set forth above, or your violation of any law or the rights of a third party.


    For any content that you submit, you grant Bookswagon a perpetual, irrevocable, royalty-free, transferable right and license to use, copy, modify, delete in its entirety, adapt, publish, translate, create derivative works from and/or sell, transfer, and/or distribute such content and/or incorporate such content into any form, medium or technology throughout the world without compensation to you. Additionally,  Bookswagon may transfer or share any personal information that you submit with its third-party service providers, including but not limited to Bazaarvoice, Inc. in accordance with  Privacy Policy


    All content that you submit may be used at Bookswagon's sole discretion. Bookswagon reserves the right to change, condense, withhold publication, remove or delete any content on Bookswagon's website that Bookswagon deems, in its sole discretion, to violate the content guidelines or any other provision of these Terms of Use.  Bookswagon does not guarantee that you will have any recourse through Bookswagon to edit or delete any content you have submitted. Ratings and written comments are generally posted within two to four business days. However, Bookswagon reserves the right to remove or to refuse to post any submission to the extent authorized by law. You acknowledge that you, not Bookswagon, are responsible for the contents of your submission. None of the content that you submit shall be subject to any obligation of confidence on the part of Bookswagon, its agents, subsidiaries, affiliates, partners or third party service providers (including but not limited to Bazaarvoice, Inc.)and their respective directors, officers and employees.

    Accept

    New Arrivals


    Inspired by your browsing history


    Your review has been submitted!

    You've already reviewed this product!