durable-php
rails_list_filtering_sample_app | durable-php | |
---|---|---|
1 | 5 | |
1 | 4 | |
- | - | |
5.9 | 9.5 | |
about 1 month ago | 3 days ago | |
Ruby | PHP | |
- | 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.
rails_list_filtering_sample_app
-
Authorization is still a nightmare for engineers
There's an interesting section here about one of my favourite challenges in authorization: how to efficiently return a list of things that the current user has permission to access, without running a "can_access()" permission check on every single one of them (which is bad if you have thousands of items and you want to paginate them).
Their solution is to let you configure rules that get turned into SQL fragments that you can run against your own database: https://www.osohq.com/docs/guides/integrate/filter-lists#lis... - example Rails app here: https://github.com/osohq/rails_list_filtering_sample_app
durable-php
-
Authorization is still a nightmare for engineers
That's a really clean implementation. And the shares are used to resolve authorization here [1], right?
Two things that we're solving for at Oso is: making it easier for multiple teams to collaborate on permissions (which we solve by having a declarative language), and solving the list filtering problem (as talked about in the post).
If you don't need either of those two things and are happy with a DIY approach, what you've shared would work great IMO. If you packaged that up as a standalone solution, I could see a lot of people getting value from it!
[1] https://github.com/bottledcode/durable-php/blob/3ad509fcdbb3...
-
Ask HN: What are some unpopular technologies you wish people knew more about?
Heh. https://github.com/bottledcode/durable-php is a semi-faithful php port of Orleans, borrowing some ideas from similar things too. I’ve actually been working on some really neat FFI things for this the past few weeks.
It’s fun.
-
Your coolest Packagist project that no one uses?
Durable php: https://github.com/bottledcode/durable-php based off of C# durable functions.
-
Thoughts on event sourcing: Replaying events
The way I've successfully used event sourcing was to think of it like a WAL where you are basically building up a HashMap. (This is how DurablePHP works -- https://github.com/bottledcode/durable-php -- if you are interested) Replaying should result in the exact same HashMap every single time, any side-effects only happen once.
What are some alternatives?
Resolve - A simple PSR-11 compliant dependency injector.
Encrypted - Encryption cast for Eloquent
ConcurrencyHelper - ConcurrencyHelper is a library for easily and efficiently running any callable via multiple parallel PHP instances.
ConsolePainter - BEAUTIFUL Console Colors via a Fluent Interface.
class-finder - Utility classes to help discover other classes/namespaces
MultiPhreading - PHP Multi Process Threading, Shared Memory Berkley Keystore, Message Queue system.
metadata - Metadata management library in PHP
shell-command - A better abstraction for running processes from PHP
IaafPoints - PHP library to calculate IAAF scoring points of athletics and IAAF scoring points for combined events.
form-mapper-bundle
strict-form-mapper-bundle - Go strict
bridgekeeper - Django permissions, but with QuerySets