centrifuge-dart
jaguar
centrifuge-dart | jaguar | |
---|---|---|
2 | 1 | |
116 | 465 | |
2.6% | 0.4% | |
5.4 | 2.5 | |
2 months ago | 7 months ago | |
Dart | Dart | |
MIT License | BSD 3-clause "New" or "Revised" 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.
centrifuge-dart
-
Updating flutter app data from REST API in real-time
Connect to it using https://github.com/centrifugal/centrifuge-dart or without any connector library using unidirectional transports: https://centrifugal.dev/docs/transports/overview#unidirectional. For authentication you can pass JWT issued by your Django backend or proxy connection attempt to Django backend ( like shown in this post https://centrifugal.dev/blog/2021/11/04/integrating-with-django-building-chat-application )
-
Centrifugo v3 released – with unidirectional transports (GRPC, EventSource, HTTP-streaming), GRPC hooks, faster JSON protocol, high-performance Tarantool engine, and more
Yes. There are clients for bidirectional transports (for example, for Dart/Flutter - https://github.com/centrifugal/centrifuge-dart, and for JS/Swift/Java - so React/Angular/Vue covered, and I never heard what Svelte is but if can use JS libraries then things should work just fine). And it's possible to connect without client libraries if you are using unidirectional transports – just use native browser EventSource object, or use code generation and GRPC to connect to unidirectional GRPC.
jaguar
-
The state of server-side frameworks for Dart
The only remaining major server-side framework is Jaguar. Though the maintainer has stated that they will continue to maintain the project, there had been a five-month gap between the last two commits (there was, however, a null-safety commit yesterday).
What are some alternatives?
dio - A powerful HTTP client for Dart and Flutter, which supports global settings, Interceptors, FormData, aborting and canceling a request, files uploading and downloading, requests timeout, custom adapters, etc.
shelf - Web server middleware for Dart
askless-flutter-client - Build Flutter Apps with PostgreSQL, MySQL, or any database, stream data changes through websockets effortlessly, and handle websocket authentication like a pro
aqueduct - Dart HTTP server framework for building REST APIs. Includes PostgreSQL ORM and OAuth2 provider.
dio - A powerful HTTP package for Dart/Flutter, which supports Global settings, Interceptors, FormData, Aborting and canceling a request, Files uploading and downloading, Requests timeout, Custom adapters, etc. [Moved to: https://github.com/cfug/dio]
base_uri - A tiny wrapper around Uri to easily define a base uri. Supports api versions.