• Stars
    star
    200
  • Rank 195,325 (Top 4 %)
  • Language
    Clojure
  • License
    MIT License
  • Created about 5 years ago
  • Updated 3 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Fulcro Rapid Application Development

Fulcro Rapid Application Development Tools

A library using Fulcro and Pathom to create full-stack single-page web, mobile, and desktop applications with a rich (and potentially federated) data model quickly.

Usage

fulcro rad CircleCI

Note
The latest version requires at least Fulcro 3.5.1.

Documentation is currently available in the docstrings of the namespaces (most up-to-date), and you can refer to the Fulcro RAD Demo project.

There is a start on a book at http://book.fulcrologic.com/RAD.html. At the moment your best bet for knowing exactly what works is to look at the RAD Demo project.

Support

Unpaid questions, issue reports, or requests should go through the #fulcro channel of Clojurians Slack.

Paid support for RAD and related libraries is available from Fulcrologic, LLC.

Project Goals

The RAD project has ambitious goals, but only one primary contributor who is very busy.

The general goals of this project are:

  1. Establish extensible patterns with pre-written components where almost any aspect of RAD can be tuned to fit your needs, and can also be escaped from entirely with minimal impact to your project when the pre-written components prove insufficient to your needs. RAD is built to be easy to grow, and easy to leave if you manage to outgrow it.

    • The only aspect of RAD that is "core" is the description of your data model in attributes. Those are nothing more than fully-open maps describing your data model, and it is difficult to imagine those causing harm since they tie your program to nothing more than your own global description of your data.

  2. Provide a central data model around the concept of attributes. An attribute in RAD is pretty much just like a Datomic attribute: it has a fully-qualified name (e.g. :account/email) that can be globally distinct in its meaning, a type, a cardinality, and must be combined with an identity and value to fully represent a fact in the world.

    • Identity itself (e.g. :account/id) is nothing more than an attribute that can help you find others.

    • Non-identity attributes may appear under any number of identities, making for an open data model.

    • Attributes can represent virtual things: edges in the graph that are not reified (require queries to calculate), values in reports that are aggregates, etc.

    • All attributes can be given an arbitrary set of user/plugin defined information, which can be used by your code or the code of plugins to provide features around the data model (they can even define how to obtain or calculate the data itself).

    • They define the structure for fully federated data systems: that is to say your data can live in any number of places, and can be seamlessly combined into the user-interface. Most of this is accomplished by the combined abilities of raw Fulcro and Pathom, but attributes play a central role in describing your data model to RAD itself.

  3. Provide the ability to use an automated database layer that:

    • is easy to escape from. If you outgrow it, the layer wonโ€™t lock you in.

    • can generate some amount of schema that is useful for at least early-stage projects.

    • allows you to leverage your own schema.

    • can integrate into RAD in order to serve and save data around common forms and reports.

  4. Provide a system for the rendering and interaction with forms and reports.

    • A Form is any screen where a tree of data is loaded and saved "together", and where validation and free-form inputs are common.

    • A Report is any screen where the data contains a mix of read-only, derived, and aggregate data. This data may be organized in many ways (graphically, in columns, in rows, as a kanban board). Interactions with the data commonly include linking (navigation), filtering, pagination, and abstract actions that can affect arbitrary things (e.g. delete this item, move that card, zoom that chart).

  5. Any generated rendering must be easy to escape, but when used it must also be extensible in four dimensions: data type, data style, visual appearance, and platform.

    • Data type: If you extend the data model with a new type, you can also extend the rendering system to support it.

    • Data style: A single type (e.g. decimal) may represent different visual things: USD, percentage, etc.

    • Visual appearance: Beyond simple data style: a report might need to be a chart, or you may simply want to take fine-grained control of rendering.

    • Platform: Assuming youโ€™re having RAD generate UI, it should be possible to specify the platform (e.g. Mobile vs Web). This allows RAD to stand up apps with different targets with minimal changes to your application code.

LICENSE

The MIT License (MIT) Copyright (c), Fulcrologic, LLC

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

More Repositories

1

fulcro

A library for development of single-page full-stack web applications in clj/cljs
Clojure
1,543
star
2

guardrails

Efficient, hassle-free function call validation with a concise inline syntax for clojure.spec and Malli
Clojure
236
star
3

statecharts

A Statechart library for CLJ(S)
Clojure
93
star
4

fulcro-template

A sample project that could be used as a starting point for a Fulcro 3 project.
Clojure
93
star
5

fulcro-rad-demo

A demo for Fulcro RAD using either SQL or Datomic databases.
Clojure
67
star
6

fulcro-inspect

A tool for inspecting and debugging Fulcro applications during development.
Clojure
66
star
7

fulcro-spec

A library that wraps clojure.test for a better BDD testing experience.
Clojure
43
star
8

fulcro-native

A small library of helpers for using React Native with Fulcro
Clojure
27
star
9

fulcro-developer-guide

Fulcro 3 Developer's Guide. (See root of older fulcro repository for version 2)
HTML
24
star
10

fulcro-rad-semantic-ui

Semantic UI Rendering Plugin for RAD
Clojure
23
star
11

datomic-cloud-backup

A library for creating and restoring backups of databases in Datomic Cloud
Clojure
22
star
12

semantic-ui-wrapper

Fulcro 3 wrappers of React Semantic UI Controls
Clojure
22
star
13

fulcro-native-template

A sample template with a server, web, and native app.
Clojure
20
star
14

video-series

Repository with files from the YouTube Video series
Clojure
20
star
15

fulcro-garden-css

Garden CSS co-location on Fulcro (3+) Components
Clojure
16
star
16

fulcro-rad-datomic

Datomic database support plugin for Fulcro RAD
Clojure
14
star
17

fulcro-websockets

A Pluggable Remote for Fulcro 3 that uses Websockets
Clojure
12
star
18

fulcro-i18n

Internationalization Support For Fulcro
Clojure
7
star
19

grokking-fulcro

A repository containing projects that were used in making the videos for Grokking Fulcro.
Clojure
7
star
20

fulcro-rad-template

A template for starting new Fulcro projects, that includes RAD.
Clojure
7
star
21

fulcro-rad-kvstore

A RAD database adapter that is generalized to work with key-value databases
Clojure
6
star
22

fulcro-rad-tutorial

Files that go with YouTube videos for RAD
Clojure
5
star
23

fulcro-rad-sql

SQL Plugin for Fulcro RAD
Clojure
4
star
24

copilot

Discussions and Issue Tracking for Copilot
2
star
25

aws-logs

A bare-bones library for watching AWS logs (like saw, but Clojure)
Clojure
1
star
26

deep-tree-optimization-demo

A demo of using various tricks to optimize a very large tree of data/components
Clojure
1
star