Toggle navigation
RutLib.com
По категориям
Научная и техническая литература (2046)
Бизнес (589)
Военно-историческая литература (457)
Гуманитарные науки и искусство (258)
Иностранные языки (27)
Медицина (64)
Научно-популярная литература (457)
Нормативная документация (22)
Техническая литература (21)
Точные и естественные науки (44)
Учебники (75)
Энциклопедии и словари (32)
Компьютерная литература (56)
Веб-дизайн (1)
Программирование (55)
Разное (3375)
Историография (607)
Кулинария (217)
На досуге (144)
Настольные игры и Поделки (5)
Нетрадиционная медицина (292)
Образование, воспитание и развитие детей (29)
Популярная психология (794)
Публицистика (442)
Религиозная литература (310)
Сад, огород, животноводство (148)
Спорт и Боевые искусства (63)
Строительство и ремонт (81)
Эзотерика (243)
Художественная литература (25896)
1001 обязательная книга (597)
Библиотеки (314)
Боевики (188)
Детективы (1102)
Детская, подростковая литература (750)
Исторические книги (161)
Классика, современная проза и поэзия (1332)
Любовный роман (192)
Мистика, ужасы (226)
Многоавторские сборники (11997)
Приключенческая литература (203)
Сатира, юмор (121)
Собрания книг иностранных авторов (1155)
Собрания книг русскоязычных авторов (3742)
Фантастика, фэнтези (3816)
По популярности
По рейтингу
Избранные
Войти
Поиск
Functional Programming in JavaScript
Рейтинг:
Добавить в избранные:
Автор:
Dan Mantyla
Категория:
Программирование
Страниц:
120
1.
Functional Programming in JavaScript
2.
Credits
3.
About the Author
4.
About the Reviewers
5.
www.PacktPub.com
6.
Support files, eBooks, discount offers and more
7.
Why Subscribe?
8.
Free Access for Packt account holders
9.
Preface
10.
What this book covers
11.
What you need for this book
12.
Who this book is for
13.
Conventions
14.
Reader feedback
15.
Customer support
16.
Downloading the example code
17.
Errata
18.
Piracy
19.
Questions
20.
1. The Powers of JavaScript's Functional Side – a Demonstration
21.
Introduction
22.
The demonstration
23.
The application – an e-commerce website
24.
Imperative methods
25.
Functional programming
26.
Summary
27.
2. Fundamentals of Functional Programming
28.
Functional programming languages
29.
What makes a language functional?
30.
Advantages
31.
Functional programming in a nonfunctional world
32.
Working with functions
33.
Self-invoking functions and closures
34.
Higher-order functions
35.
Pure functions
36.
Anonymous functions
37.
Method chains
38.
Recursion
39.
Lazy evaluation
40.
The functional programmer's toolkit
41.
Callbacks
42.
Array.prototype.map()
43.
Array.prototype.filter()
44.
Array.prototype.reduce()
45.
Honorable mentions
46.
Summary
47.
3. Setting Up the Functional Programming Environment
48.
Introduction
49.
Functional libraries for JavaScript
50.
Underscore.js
51.
Fantasy Land
52.
Bilby.js
53.
Lazy.js
54.
Bacon.js
55.
Honorable mentions
56.
Development and production environments
57.
Browsers
58.
Server-side JavaScript
59.
CLI
60.
Using functional libraries with other JavaScript modules
61.
Functional languages that compile into JavaScript
62.
Summary
63.
4. Implementing Functional Programming Techniques in JavaScript
64.
Partial function application and currying
65.
Function manipulation
66.
Partial application
67.
Currying
68.
Function composition
69.
Compose
70.
Compositions versus chains
71.
Programming with compose
72.
Mostly functional programming
73.
Handling events
74.
Functional reactive programming
75.
Reactivity
76.
Putting it all together
77.
Summary
78.
5. Category Theory
79.
Category theory
80.
Category theory in a nutshell
81.
Type safety
82.
Functors
83.
Creating functors
84.
Arrays and functors
85.
Function compositions, revisited
86.
Monads
87.
Maybes
88.
Promises
89.
Lenses
90.
jQuery is a monad
91.
Implementing categories
92.
Summary
93.
6. Advanced Topics and Pitfalls in JavaScript
94.
Recursion
95.
Tail recursion
96.
Trampolining
97.
The Y-combinator
98.
Variable scope
99.
Scope resolutions
100.
Closures
101.
Gotchas
102.
Function declarations versus function expressions versus the function constructor
103.
Function declarations
104.
Function expressions
105.
The function constructor
106.
Unpredictable behavior
107.
Summary
108.
7. Functional and Object-oriented Programming in JavaScript
109.
JavaScript – the multi-paradigm language
110.
JavaScript's object-oriented implementation – using prototypes
111.
Inheritance
112.
JavaScript's prototype chain
113.
Inheritance in JavaScript and the Object.create() method
114.
Mixing functional and object-oriented programming in JavaScript
115.
Functional inheritance
116.
Mixins
117.
Summary
118.
A. Common Functions for Functional Programming in JavaScript
119.
B. Glossary of Terms
120.
Index
Отправить
bsn
thank
Vesa Karvonen
I hope you don't mind, but I’d like to point you and your readers to my high-performance optics library for JavaScript that is in production use in multiple projects, has comprehensive support for partial optics and interactive documentation: https://calmm-js.github.io/partial.lenses/ (this takes a moment to load — be patient!)
×
Войти в систему
Войти с помощью соц. сетей: