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

패키지 상세v0.23.5

jaspr

Dart로 웹사이트를 구축하기 위한 현대적인 웹 프레임워크로, Flutter처럼 느껴지지만 서버 사이드 렌더링을 지원합니다.

AndroidiOSWebmacOSWindowsLinux
30일 다운로드
6만
좋아요
773
Pub 점수
160

패키지 설치

flutter pub add jaspr

패키지 개요

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

Jaspr는 Dart용 현대적인 웹 프레임워크로, 웹 애플리케이션에 익숙한 Flutter와 유사한 개발 경험을 제공하여 반응형 UI를 갖춘 상호작용 가능한 웹사이트를 구축할 수 있게 해줍니다. 서버 사이드 렌더링을 지원하여 성능과 검색 엔진 최적화(SEO)가 향상됩니다. 단순성과 플랫폼 간 일관성을 중시하여 Web, Android, iOS, macOS, Windows, Linux에서 원활하게 작동합니다. 개발자는 Dart의 강력한 타입 시스템과 핫 리로드 기능을 활용해 확장 가능하고 유지보수 쉬운 웹 앱을 만들 수 있습니다.

사용 사례

  • SSR를 지원하는 웹 애플리케이션 빌드
  • 크로스플랫폼 웹 인터페이스 만들기
  • 반응형 싱글 페이지 애플리케이션 개발
  • SEO 친화적인 웹사이트 구현
  • 핫 리로드를 사용한 UI 프로토타이핑

주요 기능

  • 서버 사이드 렌더링 지원
  • Flutter와 유사한 위젯 구문
  • 크로스 플랫폼 호환성
  • 빠른 개발을 위한 핫 리로드
  • 반응형 상태 관리
  • 경량이고 모듈러한 디자인

적합한 대상

  • Flutter에 익숙한 Dart 개발자
  • 웹 앱에서 SSR을 찾는 팀
  • Dart를 사용하는 풀스택 개발자
  • 다양한 플랫폼 간에 일관된 UI가 필요한 프로젝트
  • 빠른 웹 앱 개발을 원하는 스타트업

고려 사항

  • 성숙한 프레임워크에 비해 생태계가 제한적
  • 작은 커뮤니티와 적은 제3자 패키지
  • 초기 단계 프로젝트이며, API는 지속적으로 진화 중
  • Dart 및 Flutter 개념에 대한 이해가 필요합니다
  • 비-Dart 팀에는 적합하지 않습니다

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

카테고리

의존성

의존성 목록 10 개

소스 저장소

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

순위