Log In
Or create an account ->
Imperial Library
Home
About
News
Upload
Forum
Help
Login/SignUp
Index
Dedication
About the Author
Acknowledgements
0.1 Cover Design
1 Introduction
1.1 Prerequisites
1.2 Requirements
1.3 For Users of Older PHP Versions
1.4 Installing
2 What is Functional Programming?
2.1 Let’s See Some Code
2.2 History
2.3 Other Functional Implementations
2.4 Commercial Uses
2.5 What is Functional Programming Best for?
2.6 The Benefits of Functional Programming
2.7 Functional Basics
3 Language Features
3.1 Types
3.2 Functions
3.3 Namespacing
3.4 Recursion
3.5 Map, Reduce, and Filter
3.6 Memoization
3.7 Generators
4 Helpful Libraries
4.1 Library Installation
4.2 The iter Library
5 HHVM’s Hack
5.1 Types
5.2 Lambda Expressions
5.3 Special (Magical) Attributes
5.4 Conclusion
6 Patterns
6.1 Head and Tail
6.2 Flattening lists
6.3 Handling Your NULLS
6.4 Composition
6.5 Partial Functions
6.6 Pipelines
6.7 Pattern Matching
6.8 Functors
6.9 Applicatives
6.10 Monads
7 Implementing the Theory
7.1 IP Address Restriction
7.2 Functional Primitives
7.3 A Domain Specific Language in PHP
8 Event Driven Programming
8.1 ReactPHP Installation
8.2 Getting Started
8.3 Add Some Logging
8.4 Introduce a Monad
8.5 Callback Wrangling
8.6 Wrap Up the Show
9 Hazards of Functional Programming in PHP
10 Advances in PHP
10.1 PHP 5.4
10.2 PHP 5.5
10.3 PHP 5.6
10.4 PHP 7
10.5 Further into the Future
11 Conclusion
Appendix A: Additional Notes
11.1 Understanding Type Signatures
11.2 Using the UTF-8 Ellipsis
12 Appendix B: Resources
12.1 PHP REPLs
12.2 Libraries
12.3 Other Functional Implementations
12.4 Online Courses (MOOC)
Glossary
Credits
← Prev
Back
Next →
← Prev
Back
Next →