सार्वजनिक जानकारी से बना चयन मार्गदर्शन। केवल संदर्भ हेतु।
RAD एक शून्य-निर्भरता फ्रेमवर्क है जो Dart के साथ उच्च प्रदर्शन वाले वेब एप्लिकेशन बनाने के लिए डिज़ाइन किया गया है। यह विकासकर्ताओं को बाहरी निर्भरता के बिना तेज़, स्केलेबल वेब एप्लिकेशन बनाने में सक्षम बनाता है, सरलता और दक्षता पर ध्यान केंद्रित करता है। RAD वेब के लिए विशेष रूप से बनाया गया है, जो Dart की क्षमताओं का उपयोग करके न्यूनतम अतिरिक्त लागत के साथ प्रतिक्रियाशील उपयोगकर्ता इंटरफ़ेस प्रदान करता है। फ्रेमवर्क प्रदर्शन और हल्के आर्किटेक्चर के महत्वपूर्ण लक्ष्यों वाले परियोजनाओं के लिए उपयुक्त है। इसका स्पष्ट डिज़ाइन त्वरित विकास और मौजूदा कार्य प्रवाह में आसानी से एकीकरण को बढ़ावा देता है।
उपयोग
उच्च प्रदर्शन वेब अनुप्रयोग बनाना
हल्के एकल-पृष्ठ एप्लिकेशन बनाना
Dart के साथ त्वरित प्रोटोटाइपिंग
सर्वर-पक्ष रेंडर किए गए वेब सामग्री का विकास
Flutter Web प्रोजेक्ट्स के साथ एकीकरण
मुख्य विशेषताएँ
शून्य बाहरी निर्भरता
वेब प्रदर्शन के लिए अनुकूलित
न्यूनतम बॉयलरप्लेट
Dart-नेटिव सिंटैक्स
निर्मित रूटिंग और अवस्था प्रबंधन
हल्का और मॉड्यूलर संरचना
इनके लिए उपयुक्त
हल्के वेब फ्रेमवर्क की तलाश में डार्ट विकासकर्ता
गति और दक्षता को प्राथमिकता देने वाले प्रोजेक्ट
Flutter Web विकासकर्ता वेब कार्यक्षमता विस्तार कर रहे हैं
न्यूनतम सेटअप और कॉन्फ़िगरेशन वाली टीमें
भारी फ्रेमवर्क से बचते हुए फ्रंटएंड डेवलपर्स
विचार योग्य बातें
बड़े फ्रेमवर्क की तुलना में सीमित पारिस्थितिकी तंत्र
अभी भी उभर रहा है, कम सामुदायिक संसाधनों के साथ
जटिल बैकएंड-भारी एप्लिकेशन के लिए उपयुक्त नहीं
Dart के परिचय होना आवश्यक है
आधुनिक वेब ब्राउज़र के लिए सबसे उपयुक्त, जिनमें पुराने संस्करण का समर्थन नहीं है
मूल README
संबंधित सोर्स रिपॉज़िटरी के मूल README का स्नैपशॉट। नवीनतम सामग्री के लिए रिपॉज़िटरी देखें।
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.