搜尋套件、儲存庫與 APP 分類

套件詳情v4.1.2

serverpod_database

Serverpod 的資料庫實作

Windows
近 30 天下載
6.9萬
喜歡數
0
Pub 分數
140

安裝套件

flutter pub add serverpod_database

套件介紹

根據套件公開資料產生的選型評估,僅供參考。

Serverpod_database 為 Serverpod 提供資料庫適配器,實現與各種資料庫的無縫整合。它支援在 Serverpod 應用中進行結構化資料的儲存與檢索,並為不同資料庫後端提供一致的介面。專為伺服器端 Dart 應用設計,透過內建模型與查詢處理簡化資料庫作業。此套件是更廣泛的 Serverpod 生態系統的一部分,透過強大的類型安全性與自動程式碼產生,促進快速後端開發。在需要客戶端與伺服器之間保持一致性的全端 Dart 應用中尤為實用。

適用情境

  • 後端資料持久化
  • 即時應用資料管理
  • 全端 Dart 應用開發
  • 自動資料庫模式同步
  • 多平台伺服器應用程式

主要特色

  • 資料庫適配器抽象
  • 類型安全查詢
  • 自動模式生成
  • 與 Serverpod 框架整合
  • 支援多種資料庫後端

適合對象

  • Dart 後端開發人員
  • 全端 Dart 團隊
  • 基於 Serverpod 的應用程式
  • 需要一致資料建模的應用程式
  • 使用自動化程式碼生成的專案

使用建議

  • 需要 Serverpod 框架
  • 僅限 Windows 平台
  • 依賴於 Serverpod 的架構
  • 最適合單體或緊密耦合的系統
  • 不適用於獨立的資料庫用戶端

原始 README

以下為關聯原始碼儲存庫的 README 原文快照,最新內容請造訪原始碼儲存庫。

Serverpod banner

Serverpod

Serverpod is a next-generation app and web server, built for the Flutter community. It allows you to write your server-side code in Dart, automatically generate your APIs, and hook up your database with minimal effort. Serverpod is open-source, and you can host your server anywhere.

Get Started - Join the Mailing List

Capabilities

Serverpod is a complete, competent backend for Flutter. For the glossy sales pitch, head to our main page at Serverpod.dev.

Every design decision in Serverpod aims to minimize the amount of code you need to write and make it as readable as possible. Apart from being just a server, Serverpod incorporates many common tasks that are otherwise cumbersome to implement or require external services.

Code generation

Serverpod automatically generates your model and client-side code by analyzing your server. Calling a remote endpoint is as easy as making a local method call.

World-class logging

Stop struggling. You no longer need to search through endless server logs. Pinpoint exceptions and slow database queries in an easy-to-use user interface with a single click.

Built-in caching

Cut down on your database costs. Don't save all your data permanently when you don't have to. Serverpod comes with a high-performance distributed cache built right in. Any serializable objects can be cached locally on your server or using Redis if you need to use the same cache across a cluster of servers.

Easy to use ORM

Save time. Talking with your database can be a hassle. With Serverpod's ORM, your queries use native Dart types and null-safety. There is a straight path from your statically checked code to the database.

Database migrations

Easily keep your database in sync as the requirements of your project evolve. Serverpod comes with a complete database migration system that helps you apply and version changes to the database.

File uploads

Upload files straight to Google Cloud Storage, S3, or store them in your database.

Authentication

Sign in through social logins or wing your own. Currently supported are Google, Apple, Firebase, and email.

Data streaming

Pass serialized objects through authenticated sockets. Push messages from your server for real-time communication. Sending messages across a cluster of servers is supported. Perfect for building games or chatting applications, or anything you can imagine.

Task scheduling

Serverpod's future calls replace complicated cron jobs. Call a method anytime in the future or after a specified delay. The calls persist even if the server is restarted.

Health checks

Monitor the database and external services that you are using. Write custom health checks and get notified when something goes wrong.

Easy deployment

Serverpod comes with Terraform scripts for Google Cloud Platform and AWS, making deploying your server very quick. We are still working on scripts for other platforms. Please get in touch with us if you want to contribute.

Built-in web server

Serverpod comes with a built-in web server. This makes it very easy to share data for applications that need both an app and traditional web pages. You can also use the webserver to create webhooks or generate custom REST APIs to communicate with 3rd party services. The web server is still experimental, and we are actively working on it.

License

All Serverpod packages are licensed under BSD-3, except for the main serverpod package, which uses the SSPL license. In short, this means that you can, without limitation, use any of the client packages in your app. You can also host your Serverpod server without limitation as long as you do not offer Severpod as a cloud service to 3rd parties (this is typically only relevant for cloud service providers).

所屬分類

依賴

依賴清單 11 項

原始碼儲存庫

使用此套件的專案

暫無相關資料。

所在榜單