RxPHP
static-land
RxPHP | static-land | |
---|---|---|
2 | 3 | |
1,685 | 766 | |
-0.1% | 0.4% | |
3.2 | 0.0 | |
5 months ago | over 4 years ago | |
PHP | JavaScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
RxPHP
-
Should I Move From PHP to Node/Express?
Not really, it's just the respective functional design approaches are applicable everywhere (Java, Scala, Kotlin, Swift, C++, Rust, JS ... PHP) and there's a practical benefit to it in terms of the amount of code and overall cognitive complexity needed for the respective implementation.
-
My Favorite Language Has Changed to PHP
I'm still not in love with the language but if I have to go back...ever...
https://github.com/ReactiveX/RxPHP
static-land
-
Should I Move From PHP to Node/Express?
There are respective fantasy land and static land specs, with the law conformance checks.
-
Expanding Single Page Apps into multiple Browser Windows — Part 2
A big poster child of functional style in JS-land is actually implemented on top of textbook OOP (Array.prototype.map/filter). For anyone interested in the gore details of functional polymorphism, look no further than the comparison between fantasy land and static land. Basically, it boils down to a simple fact: functional algebra constructs can be implemented in terms of other functional algebra constructs, but when push comes to shove, the most efficient Array map implementation is not going to be the same thing as a map implementation for any other data structure (Stream, Optional, whatever) and you can't have a magical compiler optimize under the hood for you in Javascript, because well, Javascript. So functional polymorphism has to be shoved somewhere, and as it turns out OOP happens to be a good complement for that conundrum.
-
Higher Kinded Deno
My goal with hkts is two-fold. First, to learn more about functional programming by implementing some common type classes (specifically, the ones defined in the static-land spec). Second, to put together a pragmatic, easy to read/understand library of tools based on fp-ts, io-ts, and monocle-ts that are deno native.
What are some alternatives?
Pawl - Asynchronous WebSocket client
hkts - Functional programming tools: option, either, task, state, optics, etc.
Workerman - An asynchronous event driven PHP socket framework. Supports HTTP, Websocket, SSL and other custom protocols.
fantasy-laws - Property-based tests for FL-compatible ADTs
AdapterMan - Run almost any PHP app faster and asynchronously with Workerman, without touch 1 line of code in your fw or app. It's just plain PHP.
mostly-adequate-guide - Mostly adequate guide to FP (in javascript)
Recoil - Asynchronous coroutines for PHP 7.
cats-effect - The pure asynchronous runtime for Scala
C-Sharp - All algorithms implemented in C#.
lodash - A modern JavaScript utility library delivering modularity, performance, & extras.
fp-ts - Functional programming in TypeScript