搜索插件、代码仓与 APP 分类

插件详情v0.6.1

jaspr_serverpod

jaspr 的 Serverpod 集成。

AndroidiOSWebmacOSWindowsLinux
近 30 天下载
192
喜欢数
39
Pub 分数
130

安装插件

flutter pub add jaspr_serverpod

插件介绍

基于插件公开信息、社区数据与项目使用情况整理的选型参考。

Jaspr Serverpod 是一个 Flutter/Dart 包,将 Serverpod 与 Jaspr 框架集成,为 Web 和多平台应用程序提供无缝的后端通信。它通过提供与服务器端服务交互的结构化方式,简化了实时、可扩展应用程序的构建。该包支持所有主要平台,包括 Android、iOS、Web、macOS、Windows 和 Linux,非常适合全栈 Dart 开发。借助 Serverpod 内置的身份验证、数据同步和 API 生成功能,Jaspr Serverpod 简化了后端集成,无需手动处理 HTTP 请求。

适合场景

  • 实时网络应用
  • 全栈 Dart 应用
  • 多平台后端集成
  • 启用身份验证的应用程序
  • 数据同步应用

主要特点

  • 无缝集成 Serverpod
  • 跨平台支持
  • 内置身份验证
  • 实时数据同步
  • 自动 API 生成

适合对象

  • 使用 Jaspr 的 Dart 开发人员
  • 全栈Flutter项目
  • 需要实时更新的应用
  • 使用 Serverpod 的团队
  • 后端集成的Web应用

使用建议

  • 需要 Serverpod 设置
  • 仅限 Dart 生态系统
  • 需要后端基础设施
  • 适用于大规模应用
  • 取决于 Serverpod 版本兼容性

原始 README

以下为关联源码仓库的 README 原文快照,最新内容请访问源码仓库。

Banner

sponsor

pub github tests codecov discord contributors

Website • Quickstart • Documentation • Playground • Community & Support • Benchmarks

Jaspr

A modern web framework for building websites in Dart with support for both client-side and server-side rendering, as well as static site generation.

  • 🔮 Why?: Jaspr was made with the premise to make a web-framework that looks and feels just like Flutter, but renders normal HTML and CSS.
  • 👥 Who?: Jaspr is targeted mainly at Flutter developers that want to build any type of websites (especially ones that are not suitable for Flutter Web).
  • 🚀 What?: Jaspr wants to push the boundaries of Dart on the web and server, by giving you a thought-through fullstack web framework written completely in Dart.

Want to contribute to Jaspr? Join our open Discord Community of developers around Jaspr and check out the Contributing Guide.

Core Features
  • 💙 Familiar: Works with a similar component model to Flutter widgets.
  • 🚀 Powerful: Comes with server side rendering out of the box.
  • ♻️ Easy: Syncs component state between server and client automatically.
  • ⚡️ Fast: Performs direct DOM updates only where needed.
  • 🎛 Flexible: Runs on the server, client or both with manual or automatic setup. You decide.

If you want to say thank you, star the project on GitHub and like the package on pub.dev 🙌💙

Online Editor & Playground

Inspired by DartPad, Jaspr has it's own online editor and playground, called JasprPad.

Check it out here!

You can check out the samples, take the tutorial or try out Jaspr for yourself, all live in the browser. When you want to continue coding offline, you can quickly download the current files bundled in a complete dart project, ready to start coding locally.

JasprPad is also built with Jaspr itself, so you can check out its source code to get a feel for how Jaspr would be used in a larger app.

JasprPad Screenshot

Differences to Flutter Web - Design Principles

Jaspr is an alternative to Flutter Web, when you want to build any kind of website with Dart.

The Flutter team itself has stated on multiple occasions that

Flutter Web is for building Web-Apps, not Web-Sites.

That just means that while Flutter Web is a great technology for sharing your apps across multiple platforms including the web, it may not be suited for all types of websites that you want to build.

Jaspr works by giving you the familiar look and feel of the Flutter framework, while using native web technologies, like HTML, the DOM and CSS to enable you to build all kinds of websites using Dart.

Instead of trying to mirror every little thing from Flutter, Jaspr tries to give a general Fluttery feeling by matching features where it makes sense without compromising on the unique properties of the web platform. Rather, it embraces these differences to give the best of both worlds.

Learn more.

Directories

  • /apps: Production apps built with Jaspr.
    • /jaspr_pad: Online Editor and Playground inspired by DartPad, built with Jaspr. Hosted at playground.jaspr.site.
    • /website: The Jaspr website, built with Jaspr itself. Hosted at jaspr.site.
  • /assets: Branding images and other assets for Jaspr.
  • /docs: Documentation hosted at docs.jaspr.site.
  • /examples: Examples for showcasing different Jaspr features.
  • /packages:
    • /jaspr: The core framework package.
    • /jaspr_builder: Code-generation builders for Jaspr.
    • /jaspr_cli: The command line interface of Jaspr.
    • /jaspr_content: Jaspr plugin for building content-driven sites like documentation, blogs, or marketing pages. Documented at docs.jaspr.site/content.
    • /jaspr_flutter_embed: Flutter element embedding bindings for Jaspr.
    • /jaspr_lints: A collection of lints and assists for Jaspr projects.
    • /jaspr_riverpod: An unofficial Riverpod implementation for Jaspr.
    • /jaspr_router: A router implementation for Jaspr.
    • /jaspr_serverpod: An official Jaspr integration for Serverpod.
    • /jaspr_test: A testing package for Jaspr.

所属分类

依赖

依赖清单 5 项

源码仓库

使用此插件的项目

暂无相关数据。