Functional Reactive Programming library in PHP.
The basic functionality is to take a value or event and send the value to observers. This observers are composable.
Library uses semantic versioning, so that you should be able to upgrade supporting version 1. Version 2 will probably support different ways of function composition, using generators, coroutines and other available language constructs. Also, it will take lessons learned from using this library and apply better API. Later major versions will drop support for PHP5.3. The only reason PHP5.3 is supported, is that all of the code will run on PHP5.3 and to widen the amount of users that can develop using the library.
Library supports PHP5.3. Other versions of PHP are supported allowing for features in other versions.
You may install this library using composer.
TODO: Need to add composer configuration.
This library will have many inspirations which will be listed here. The references will include all sources that were looked at for planning and deciding the best API function list and implementation.
In no way is this list meant to be exhaustive list of all libraries or tutorials. Only a bare minimum set to reference for future planning and development. The attempt is to learn from current implementations and attempt to create something that is simple and still implement all of the features from existing libraries.
- Bacon.js
- HaskellWiki Functional Reactive Programming
- Functional Reactive Animation Paper
- Sodium Haskell library
- Reactive Banana
- RxJava
- Paper on FRP in Java
- ReactiveCocoa
- Kefir JS FRP library
- GoFlow - Reactive programming for Go
- Wikipedia Article on Functional Reactive Programming
- StackOverflow answer on what Functional Reactive Programming should be
- Reactive Programming Explained
This library is not to have dependencies.
Behaviours are events to set up.