सार्वजनिक जानकारी से बना चयन मार्गदर्शन। केवल संदर्भ हेतु।
Shorebird द्वारा विकसित हल्का डार्ट क्लाइंट, जो Redis के साथ बहुत से प्लेटफॉर्मों पर निरंतर संचार सुनिश्चित करता है। सरलता और प्रदर्शन के लिए डिज़ाइन किया गया, यह मूल Redis ऑपरेशन जैसे की-वैल्यू स्टोरेज, एक्सपायर और पब/सब मैसेजिंग का समर्थन करता है। फ्लटर एप्लिकेशन में रियल-टाइम डेटा सिंक्रनाइज़ेशन, कैशिंग और सेशन मैनेजमेंट के लिए आदर्श है। लाइब्रेरी प्लेटफॉर्म-अनन्य है, जो Android, iOS, macOS, Windows और Linux पर काम करती है, जिससे तेज़ और विश्वसनीय डेटा एक्सेस की आवश्यकता वाले क्रॉस-प्लेटफॉर्म एप्लिकेशन के लिए उपयुक्त है।
उपयोग
रियल-टाइम डेटा सिंक्रनाइज़ेशन
अक्सर प्राप्त की जाने वाली डेटा कैशिंग
सत्र प्रबंधन
पब/सब संदेश
उपयोगकर्ता अवस्था स्थायित्व
मुख्य विशेषताएँ
हल्का और कार्यक्षम
क्रॉस-प्लेटफ़ॉर्म समर्थन
मूल रेडिस कमांड्स का समर्थन करता है
एम्बेडेड कनेक्शन हैंडलिंग
सामान्य संचालन के लिए सरल API
इनके लिए उपयुक्त
Redis एकीकरण की आवश्यकता वाले Flutter ऐप
रियल-टाइम फीचर्स बना रहे डेवलपर्स
त्वरित मेमोरी डेटा स्टोरेज की आवश्यकता वाले ऐप्स
ऐप अपडेट के लिए Shorebird का उपयोग करने वाली टीमें
बहुत सारे ऑपरेटिंग सिस्टम का लक्ष्य बनाने वाले प्रोजेक्ट
विचार योग्य बातें
एक चल रहे Redis सर्वर की आवश्यकता है
मूलभूत Redis कार्यक्षमता तक सीमित
कोई बिल्ट-इन कनेक्शन पूल नहीं है
जटिल Redis उपयोग केस के लिए उपयुक्त नहीं
नेटवर्क उपलब्धता पर निर्भर करता है
मूल README
संबंधित सोर्स रिपॉज़िटरी के मूल README का स्नैपशॉट। नवीनतम सामग्री के लिए रिपॉज़िटरी देखें।
Shorebird 🐦
Getting Started
Visit https://docs.shorebird.dev to get started.
Packages
This repository is a monorepo containing the following packages:
For more information, please refer to the documentation for each package.
Contributing
If you're interested in contributing, please join us on
Discord.
Environment setup
Working on Shorebird requires Dart.
./scripts/bootstrap.sh will run pub get all packages in the repository.
Running tests
We don't yet have a script to run tests locally. For now, we recommend using
very_good test -r in the packages directory to run all shorebird tests.
(If you run it in the root, it will find packages in bin/cache/flutter and try
to run tests there, some of which will fail.)
To generate a coverage report install lcov:
brew install lcov
Then run tests with the --coverage flag:
very_good test -r --coverage
genhtml coverage/lcov.info -o coverage
You can view the generated coverage report via:
open coverage/index.html
Tracking coverage
The following command will generate a coverage report for the Dart packages:
dart test --coverage=coverage && dart pub global run coverage:format_coverage --lcov --in=coverage --out=coverage/lcov.info --packages=.dart_tool/package_config.json --check-ignore
Shorebird projects are licensed for use under either Apache License, Version 2.0
(LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0) MIT license
(LICENSE-MIT or http://opensource.org/licenses/MIT) at your option.
See our license philosophy for more information on why we license files this
way:
https://handbook.shorebird.dev/engineering/#licensing-philosophy