A few weeks ago, I was asked to write a script that would read a list of CAS users from a web service and generate an .htaccess file restricting a directory to just those users.
I thought the script was a great example of using the functional transformation approach to programming, so here we are!
- How to run PHP 7 on Webserve
- Functional PHP Library: A library that bring a lot of functional programming constructs to PHP, including function composition.
- PHP Functional: Another functional programming library for PHP. This one’s a little more complex, using monads as the main programming construct.