패키지, 저장소 및 앱 카테고리 검색

패키지 상세v0.6.0+1

ferry_hive_store

Ferry GraphQL 클라이언트용 Hive 기반 스토어 구현

AndroidiOSWebmacOSWindowsLinux
30일 다운로드
556
좋아요
6
Pub 점수
140

패키지 설치

flutter pub add ferry_hive_store

패키지 개요

공개 정보를 바탕으로 생성한 선택 가이드입니다.

ferry_hive_store 는 Ferry GraphQL 클라이언트를 위한 Hive 기반 스토리지 구현을 제공하여 여러 플랫폼에서 GraphQL 응답의 지속적 캐싱을 가능하게 합니다. 가벼우면서도 빠른 NoSQL 데이터베이스인 Hive 와 원활하게 통합되어 쿼리 결과를 저장하고 앱 재시작 후에도 상태를 유지합니다. 이 패키지는 오프라인 지원과 GraphQL 을 활용한 효율적인 데이터 관리가 필요한 앱에 이상적입니다. Android, iOS, Web, macOS, Windows, Linux 등 모든 주요 플랫폼을 지원합니다.

사용 사례

  • 오프라인 우선 GraphQL 애플리케이션
  • GraphQL 쿼리의 지속적 캐싱
  • 크로스 플랫폼 데이터 지속성
  • GraphQL을 사용한 상태 관리
  • 효율적인 로컬 데이터 저장

주요 기능

  • Hive 기반의 지속적 저장소
  • Ferry GraphQL 클라이언트와의 원활한 통합
  • 오프라인 데이터 액세스 지원
  • 다중 플랫폼 호환성
  • 가볍고 고성능

적합한 대상

  • GraphQL과 Ferry를 사용하는 개발자
  • 오프라인 기능이 필요한 앱
  • 빠른 로컬 데이터 저장이 필요한 프로젝트
  • 다중 플랫폼 모바일 및 데스크탑 앱
  • 성능과 확장성을 우선시하는 팀

고려 사항

  • 프로젝트에 Hive 설정이 필요합니다
  • Ferry GraphQL 클라이언트로 제한
  • Hive 종속성으로 인해 앱 크기가 증가할 수 있습니다
  • 대규모 관계형 데이터에 적합하지 않습니다
  • 캐시 일관성을 위해 적절한 스키마 관리가 필요합니다

원본 README

연결된 소스 저장소의 README 원문 스냅샷입니다. 최신 내용은 저장소에서 확인하세요.

A simple, powerful GraphQL Client for Flutter and Dart

MIT License PRs Welcome Watch on GitHub Star on GitHub Watch on GitHub Discord

Documentation 📖

Features

  1. ✅ Fully Typed: work faster and safer with compile time checks and IDE autocomplete, including fully typed Cache reads and writes.
  2. 🔄 Built-In Code Generators: automatically generated immutable data classes for all your GraphQL Operations and Fragments, based on your schema.
  3. 🌐 Customizable Network Interface: highly customizable network interface using gql_link, allowing you to compose and extend Links.
  4. ✨ Normalized Optimistic Cache: keep data in sync with cache normalization and update your UI instantly with optimistic data.
  5. 💾 Multiple Data Stores: extensible Store interface with built-in MemoryStore and HiveStore (which uses hive for offline persistence).
  6. 📄 Refetch & Pagination: easily update responses with new data or combine multiple responses, allowing for seamless pagination.
  7. 📱 Flutter Widgets: Widgets for Queries, Mutations, and Subscriptions, available out of the box.
  8. 🧈 Smooth: Run queries in a separate Isolate to free up resources on the UI thread

Packages

This repo is a monorepo for ferry and related packages.

Pub Package Description
version package:ferry Stream-based GraphQL Client
version package:ferry_cache Normalized, strongly typed, optimistic cache
version package:ferry_exec Strongly typed GraphQL execution interface
version package:ferry_flutter Flutter Widgets for GraphQL Operations
version package:ferry_generator Dart Type Generator for GraphQL Operations
version package:ferry_store Data Persistence for ferry's cache
version package:ferry_hive_store Hive implementation of ferry_store
version package:normalize Normalization / denormalization of GraphQL data

카테고리

의존성

의존성 목록 4 개

소스 저장소

이 패키지를 사용하는 프로젝트