Pakete, Repositories und App-Kategorien suchen

Paketdetailsv0.23.5

jaspr

Ein modernes Web-Framework zum Erstellen von Websites in Dart, das sich wie Flutter anfühlt, aber Server-Seiten-Rendern unterstützt.

AndroidiOSWebmacOSWindowsLinux
30-Tage-Downloads
59.900
Likes
773
Pub-Punkte
160

Paket installieren

flutter pub add jaspr

Paketübersicht

Aus öffentlichen Paketdaten erstellte Orientierung.

Jaspr ist ein modernes Web-Framework für Dart, das die vertraute Flutter-ähnliche Entwicklungserfahrung für Webanwendungen bereitstellt und die Erstellung interaktiver Websites mit einer reaktiven Benutzeroberfläche ermöglicht. Es unterstützt Server-Seiten-Rendern, was zu besserer Leistung und SEO führt. Mit Fokus auf Einfachheit und Konsistenz über Plattformen hinweg funktioniert Jaspr nahtlos auf Web, Android, iOS, macOS, Windows und Linux. Entwickler können die starke Typisierung von Dart und das Hot-Reload nutzen, um skalierbare und wartbare Web-Apps zu erstellen.

Anwendungsfälle

  • Erstellen von SSR-fähigen Webanwendungen
  • Erstellen von plattformübergreifenden Web-Oberflächen
  • Reaktive Einseitenanwendungen entwickeln
  • SEO-freundliche Websites umsetzen
  • UIs mit Hot Reload prototypisch erstellen

Hauptmerkmale

  • Serverseitige Rendervorlage
  • Flutter-ähnliche Widget-Syntax
  • Plattformübergreifende Kompatibilität
  • Hot Reload für schnelle Entwicklung
  • reaktive Zustandsverwaltung
  • Leichtgewichtiges und modulares Design

Geeignet für

  • Dart-Entwickler, die mit Flutter vertraut sind
  • Teams, die SSR in Web-Anwendungen suchen
  • Full-Stack-Entwickler, die Dart verwenden
  • Projekte, die eine konsistente Benutzeroberfläche über Plattformen hinweg erfordern
  • Startups, die eine schnelle Web-App-Entwicklung wünschen

Hinweise

  • Beschränktes Ökosystem im Vergleich zu etablierten Frameworks
  • Kleinere Community und weniger Drittanbieter-Pakete
  • Frühstadium-Projekt mit sich weiterentwickelnden APIs
  • Kenntnisse der Dart- und Flutter-Konzepte erforderlich
  • Nicht ideal für nicht-Dart-Teams

Original-README

Originaler README-Schnappschuss aus dem verknüpften Quell-Repository. Aktuelle Inhalte finden Sie im Repository.

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.

Kategorien

Abhängigkeiten

Abhängigkeiten 10 Einträge

Quell-Repository

Projekte, die dieses Paket verwenden

Ranglisten