パッケージ、リポジトリ、アプリカテゴリを検索

パッケージ詳細v5.1.0

stream

リクエストルーティング、フィルタリング、テンプレートエンジン、MVCデザインパターン、およびファイルベースの静的リソースをサポートする軽量なDartウェブサーバー。

AndroidiOSmacOSWindowsLinux
30日間ダウンロード
3020
いいね数
8
Pub ポイント
120

パッケージをインストール

flutter pub add stream

パッケージ概要

公開情報に基づく選定ガイドです。参考としてご利用ください。

Stream は、リクエストルーティング、フィルタリング、組み込みテンプレートエンジン、MVC デザインパターンのサポート、およびファイルベースの静的リソース処理を備えた軽量な Dart Web サーバーです。シンプルさとパフォーマンスを重視して設計されており、Android、iOS、macOS、Windows、Linux など複数のプラットフォームで動作します。Dart を使用した Web プロジェクト向けに最小限ながら強力なバックエンドソリューションを探している開発者にとって理想的であり、Stream はサーバーサイドのロジックを簡素化しつつ、カスタマイズや統合の柔軟性を維持しています。

用途

  • 軽量なWeb APIの構築
  • テンプレートを使用して動的なウェブアプリケーションを作成する
  • DartでMVCアーキテクチャを実装する
  • ディスクからの静的ファイルの提供
  • クロスプラットフォームWebサーバーの開発

主な機能

  • リクエストのルーティングとフィルタリング
  • 組み込みテンプレートエンジン
  • MVCデザインパターンのサポート
  • ファイルベースの静的リソース
  • クロスプラットフォーム互換性

適している対象

  • Dart開発者
  • バックエンドWebアプリケーション開発
  • Webサービスのプロトタイピング
  • フルスタックDartプロジェクト
  • 軽量サーバーのソリューション

注意事項

  • Dartエコシステムに限定
  • 複雑な機能のためには手動設定が必要です
  • 大きなフレームワークと比べて、コミュニティが小さい
  • 追加のスケーリングなしでは、高トラフィックの生産システムには適していません
  • 高度な使用ケースのドキュメントは希薄である可能性があります

元の README

関連するソースリポジトリの README 原文のスナップショットです。最新の内容はリポジトリをご覧ください。

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.

カテゴリー

依存関係

依存関係一覧 7 件

ソースリポジトリ

このパッケージを使用しているプロジェクト