Pakete, Repositories und App-Kategorien suchen

Paketdetailsv5.1.0

stream

Leichtgewichtiger Dart-Webserver mit Unterstützung für Anforderungsrouting, Filterung, Template-Engine, MVC-Entwurfsmuster und statische Ressourcen basierend auf Dateien.

AndroidiOSmacOSWindowsLinux
30-Tage-Downloads
3020
Likes
8
Pub-Punkte
120

Paket installieren

flutter pub add stream

Paketübersicht

Aus öffentlichen Paketdaten erstellte Orientierung.

Stream ist ein leichtgewichtiger Dart-Webserver, der die Entwicklung von Webanwendungen mit Anforderungsrouting, Filtern, einem eingebauten Template-Engine, Unterstützung für das MVC-Entwurfsmuster und der Verwaltung statischer Ressourcen basierend auf Dateien ermöglicht. Auf Einfachheit und Leistung ausgelegt, läuft er auf mehreren Plattformen wie Android, iOS, macOS, Windows und Linux. Ideal für Entwickler, die eine minimale, aber leistungsstarke Backend-Lösung für Dart-basierte Webprojekte suchen, vereinfacht Stream die Server-seitige Logik, während Flexibilität für Anpassung und Integration erhalten bleibt.

Anwendungsfälle

  • Leichte Web-APIs erstellen
  • Dynamische Webanwendungen mit Vorlagen erstellen
  • Implementierung der MVC-Architektur in Dart
  • Statische Dateien von der Festplatte bereitstellen
  • Entwicklung von plattformübergreifenden Webservern

Hauptmerkmale

  • Anforderungsweiterleitung und Filterung
  • eingebauter Template-Engine
  • MVC-Entwurfsmuster-Unterstützung
  • Dateibasierte statische Ressourcen
  • Plattformübergreifende Kompatibilität

Geeignet für

  • Dart-Entwickler
  • Backend-Webanwendungsentwicklung
  • Webdienste prototypisch erstellen
  • Full-Stack-Dart-Projekte
  • Leichte Server-Lösungen

Hinweise

  • Beschränkt auf das Dart-Ökosystem
  • Benötigt manuelle Einrichtung für komplexe Funktionen
  • Kleinere Gemeinschaft im Vergleich zu größeren Frameworks
  • Nicht ideal für hochbelastete Produktionsysteme ohne zusätzliche Skalierung
  • Die Dokumentation kann für erweiterte Anwendungsfälle spärlich sein

Original-README

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

Stream

Stream is a Dart web server supporting request routing, filtering, template engine, WebSocket, MVC design pattern and file-based static resources.

Installation

Add this to your pubspec.yaml (or create it):

dependencies:
  stream:

Usage

  • Introduction
  • Getting Started with Hello World
Compile RSP (Rikulo Stream Page) to dart files

There are two ways to compile RSP files into dart files: automatic building with Dart Editor or manual compiling.

RSP is a template technology allowing developers to create dynamically generated web pages based on HTML, XML or other document types (such as this and this).

Build with Dart Editor

To compile your RSP files automatically, you just need to add a build.dart file in the root directory of your project, with the following content:

import 'package:stream/rspc.dart';
void main(List<String> arguments) {
  build(arguments);
}

With this build.dart script, whenever your RSP is modified, it will be re-compiled.

Compile Manually

To compile a RSP file manually, run rspc (RSP compiler) to compile it into the dart file with command line interface as follows:

dart -c lib/rspc.dart -n dir1 dir2 file1 fire2...

A dart file is generated for each RSP file you gave. Fore more options, please run:

dart -c lib/rspc.dart -h

Notes to Contributors

Fork Stream

If you'd like to contribute back to the core, you can fork this repository and send us a pull request, when it is ready.

Please be aware that one of Stream's design goals is to keep the sphere of API as neat and consistency as possible. Strong enhancement always demands greater consensus.

If you are new to Git or GitHub, please read this guide first.

Who Uses

  • Quire - a simple, collaborative, multi-level task management tool.
  • Keikai - a sophisticated spreadsheet for big data
  • Ottava - a no-code SaaS platform simplifying data management, chart creation, and data analysis.

Kategorien

Abhängigkeiten

Abhängigkeiten 7 Einträge

Quell-Repository

Projekte, die dieses Paket verwenden