Aus öffentlichen Paketdaten erstellte Orientierung.
RAD ist ein abhängigkeitsfreies Frontend-Framework, das für die Erstellung leistungsstarker Webanwendungen mit Dart konzipiert wurde. Es ermöglicht Entwicklern, schnelle, skalierbare Web-Apps ohne externe Abhängigkeiten zu erstellen und legt den Fokus auf Einfachheit und Effizienz. RAD wurde speziell für die Web-Anwendung entwickelt und nutzt die Möglichkeiten von Dart, um reaktive Benutzeroberflächen mit minimalem Overhead bereitzustellen. Das Framework eignet sich besonders für Projekte, bei denen Leistung und eine leichtgewichtige Architektur entscheidend sind. Sein sauberes Design fördert schnelle Entwicklung und einfache Integration in bestehende Arbeitsabläufe.
Anwendungsfälle
Hochleistungs-Webanwendungen erstellen
Leichte Einseiten-Apps erstellen
Schnellprototypen mit Dart
Entwicklung von serverseitig gerendertem Webinhalt
Integration mit Flutter Web-Projekten
Hauptmerkmale
Keine externen Abhängigkeiten
Für Web-Leistung optimiert
Minimales Boilerplate
Dart-native Syntax
Eingebaute Routing- und Zustandsverwaltung
Leichte und modulare Architektur
Geeignet für
Dart-Entwickler, die einen leichten Web-Framework suchen
Projekte, die Geschwindigkeit und Effizienz priorisieren
Teams, die minimale Einrichtung und Konfiguration wünschen
Frontend-Entwickler, die schwere Frameworks vermeiden
Hinweise
Eingeschränktes Ökosystem im Vergleich zu größeren Frameworks
Noch immer im Aufbau mit weniger Gemeinschaftsressourcen
Nicht geeignet für komplexe, backend-lastige Anwendungen
Erfahrung mit Dart erforderlich
Am besten geeignet für moderne Webbrowser ohne Legacy-Unterstützungsanforderungen
Original-README
Originaler README-Schnappschuss aus dem verknüpften Quell-Repository. Aktuelle Inhalte finden Sie im Repository.
Rad
Rad is a frontend framework for creating fast and interactive web apps using Dart. It has all the best bits of Flutter(StatefulWidgets, Builders) and React(Hooks, Performance), and allows you to use web technologies(HTML and CSS) in your app.
Function runApp will finds a element having id=output in your HTML page, create a Rad app with it, and then displays "hello world" inside of it. As you might have guessed it, Text('hello world') is a widget, a special purpose widget provided by the framework that we're using to display desired text on the screen. Rad provides number of widgets that you can use and best thing about widgets is that you can compose them together to create more widgets and build complex layouts.
Flutter widgets
Following widgets in Rad are inspired from Flutter:
These widgets has same syntax as their Flutter's counterparts. Not just syntax, they also works exactly same as if they would in Flutter. Which means you don't have to learn anything new to be able to use them.
React hooks
Similar to React, we have number of hooks that you can use to power-up your widget functions.
There's also an alternative syntax for all HTML widgets:
div(
children: [
p(innerText: 'Hey there!'),
]
)
Apart from syntax/names, HTML widgets are composable and has same semantics in the sense that they can be composed and mixed together with other widgets. For example,
In above example, a Span widget is containing a ListView widget. Further, that ListView is containing a StatefulWidget and a Span widget. The point we're trying to make is that HTML widgets won't restrict you to 'just HTML'.
Provides an enhanced development experience for developers working with the Rad Framework. With its powerful features, this extension makes it easier for developers to write and manage code, saving time and increasing productivity. Extension's top features are:
Visual JSX: Transforms your HTML widgets into a visually appealing, JSX-like syntax.
Click to See Preview
HTML2Rad: Converts your HTML markup directly into Rad's HTML widgets.
Click to See Preview
Reference
Below is the list of available widgets and hooks in Rad. Some widgets are named after Flutter widgets because they either works exactly same or can be used to achieve same things but in a different way(more or less). All those widgets are tagged accordingly.
Tags:
exact: Exact syntax, similar semantics.
same: Exact syntax with few exceptions, similar semantics.