Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Would be nice to see more examples #3

Open
ghost opened this issue Jun 24, 2018 · 4 comments
Open

Would be nice to see more examples #3

ghost opened this issue Jun 24, 2018 · 4 comments

Comments

@ghost
Copy link

ghost commented Jun 24, 2018

I am using a flutter webview.
In order to make it load offline I need to put a dart web server inside flutter.
Yes it's kind of funny to run a web server I side flutter to feed a webview but it's also very useful.

Anyway I was thinking about the big issue of how to do state updates and getting flutter widgets to update. It occurred to me that this area has been solved before for server side and event sourcing and cqrs system patterns.
If angel had a pattern like this it could be used on servers flutter and dart web !!

@thosakwe
Copy link
Member

Because Angel has a dependency on dart:mirrors, there is very little chance it will ever run in Flutter.

I'm wondering, though. I actually haven't used CQRS before, and I found Fowler's explanation of it a bit abstract and confusing. Do you have any recommendations I can read?

@thosakwe
Copy link
Member

thosakwe commented Jun 24, 2018

By the way, you can use package:angel_route everywhere, which often is enough for small servers (It might be smart for me to roll a small server in package:angel_route/io.dart that uses HttpServer, for use cases like this).

@ghost
Copy link
Author

ghost commented Jun 25, 2018 via email

@thosakwe
Copy link
Member

I'm actually thinking of either revisiting this package, or archiving it. Originally, the plan was to have Angel-specific widgets, but really, other than AnimatedList, everything is pretty simple to roll on a per-project basis.

Turning this package into a set of helpers for embedding Angel into a Flutter app would also be possible, but again, every app is so unique that there might not be much point.

Thoughts?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant