0.1.32 • Published 4 years ago

phlox v0.1.32

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

The Phlox Architecture

"A picture is worth a thousand words"

...but yet, we often write tens of thousands of lines of code without any visual documentation.

The Phlox architecture helps you build a frontend in a way that is easy to visualize. The goal is that you should be able to draw a simple "box and line" diagram showing the components and dependencies in your code.

By looking at such a diagram you should be able to answer questions like:

  • From how many places are we calling the create-user endpoint in the REST-api?
  • How many views in our app are using any user-related data?
  • ...

The diagram below is from the example in examples/restaurant-reviewer example picture

This repo is both a description of the phlox architecture as well as a simple implementation of the architecture. It also contains react-bindnings so you can use it in a react project.

How does it work?

A phlox arcitecture is made up of 4 different concepts; ui, queries, lifters, and invokers. These four things can be written in a fairly declarative way and because of this, it's possible to visualize them and their dependencies in a diagram.

0.1.32

4 years ago

0.1.31

4 years ago

0.1.30

4 years ago

0.1.29

4 years ago

0.1.28

4 years ago

0.1.27

4 years ago

0.1.24

4 years ago

0.1.25

4 years ago

0.1.26

4 years ago

0.1.22

4 years ago

0.1.23

4 years ago

0.1.21

6 years ago

0.1.20

6 years ago

0.1.19

6 years ago

0.1.18

6 years ago

0.1.17

7 years ago

0.1.16

7 years ago

0.1.15

7 years ago

0.1.14

7 years ago

0.1.13

7 years ago

0.1.12

7 years ago

0.1.11

7 years ago

0.1.10

7 years ago

0.1.9

7 years ago

0.1.8

7 years ago

0.1.7

7 years ago

0.1.6

7 years ago

0.1.5

7 years ago

0.1.4

7 years ago

0.1.3

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago