패키지, 저장소 및 앱 카테고리 검색

패키지 상세v5.1.0

stream

요청 라우팅, 필터링, 템플릿 엔진, MVC 설계 패턴 및 파일 기반 정적 리소스를 지원하는 가벼운 Dart 웹 서버입니다.

AndroidiOSmacOSWindowsLinux
30일 다운로드
3천
좋아요
8
Pub 점수
120

패키지 설치

flutter pub add stream

패키지 개요

공개 정보를 바탕으로 생성한 선택 가이드입니다.

Stream은 요청 라우팅, 필터링, 내장 템플릿 엔진, MVC 설계 패턴 지원 및 파일 기반 정적 리소스 처리를 가능하게 하는 가벼운 Dart 웹 서버입니다. 단순성과 성능을 위해 설계되었으며 Android, iOS, macOS, Windows, Linux 등 여러 플랫폼에서 실행됩니다. Dart 기반 웹 프로젝트에 최소한의 강력한 백엔드 솔루션을 찾는 개발자에게 이상적이며, Stream은 서버 측 로직을 간소화하면서도 사용자 정의 및 통합의 유연성을 유지합니다.

사용 사례

  • 경량 웹 API 구축
  • 템플릿을 사용하여 동적 웹 애플리케이션 만들기
  • Dart에서 MVC 아키텍처 구현하기
  • 디스크에서 정적 파일 제공
  • 크로스 플랫폼 웹 서버 개발

주요 기능

  • 요청 라우팅 및 필터링
  • 내장 템플릿 엔진
  • MVC 설계 패턴 지원
  • 파일 기반 정적 리소스
  • 크로스 플랫폼 호환성

적합한 대상

  • 다트 개발자
  • 백엔드 웹 애플리케이션 개발
  • 웹 서비스 프로토타이핑
  • 풀스택 Dart 프로젝트
  • 경량 서버 솔루션

고려 사항

  • Dart 생태계에 제한됨
  • 복잡한 기능을 사용하려면 수동 설정이 필요합니다
  • 더 큰 프레임워크에 비해 더 작은 커뮤니티
  • 추가 확장 없이 고-traffice 생산 시스템에는 적합하지 않습니다
  • 고급 사용 사례에 대한 설명서는 희박할 수 있습니다

원본 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 개

소스 저장소

이 패키지를 사용하는 프로젝트