0.1.32 • Published 5 years ago

phlox v0.1.32

Weekly downloads
2
License
MIT
Repository
github
Last release
5 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

5 years ago

0.1.31

5 years ago

0.1.30

5 years ago

0.1.29

5 years ago

0.1.28

5 years ago

0.1.27

5 years ago

0.1.24

5 years ago

0.1.25

5 years ago

0.1.26

5 years ago

0.1.22

5 years ago

0.1.23

5 years ago

0.1.21

7 years ago

0.1.20

7 years ago

0.1.19

7 years ago

0.1.18

7 years ago

0.1.17

8 years ago

0.1.16

8 years ago

0.1.15

8 years ago

0.1.14

8 years ago

0.1.13

8 years ago

0.1.12

8 years ago

0.1.11

8 years ago

0.1.10

8 years ago

0.1.9

8 years ago

0.1.8

8 years ago

0.1.7

8 years ago

0.1.6

8 years ago

0.1.5

8 years ago

0.1.4

8 years ago

0.1.3

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

9 years ago