Real Values. AFX Fusion, optimized for presentation ● Easy to read and declarative ● Usable without Atomic.Fusion ● Makes Fluid obsolete ● Eliminates a lot of jumping back and forth between templates and fusion ● No negative runtime effects
Real Values. ● Separation of Presentation and Integration ● Isolation of all visual aspects in presentational components Principles for structuring projects
Real Values. Definition ● Presentational components encapsulate the visual aspects for the representation of a data structure. This includes the generation of markup, styling and interaction via scripts. ● Presentational components are side effect free but may rely on other presentational components to perform their job.
Real Values. Presentational Component APIs ● Mainly simple values / Meaningful Names ● “content” is a nice name for a html string ● Complex Data ○ Collections ○ Hashmaps ● !!! never pass domain objects ○ Convert to simple values like uris instead
Real Values. Atomic Design ● Bottom up - principle ● Atoms, Molecules, Organism, Template ● Seldomly used for design but often used to structure code ● !!! Effective way to find inconsistencies in design via coding
Real Values. Your Method! The recommended way ● Reflects your design process and intention ● Common knowledge of your team members ● Ubiquitous Language between FE and BE ● Start where you are!
Real Values. Snowflake Method ● Top down ● Take whole layout ● Split into parts ● Repeat the last step ● !!! Naming things is hard ● !!! Finding the granularity is hard
Real Values. Be pragmatic there is no final structure ● Talk to designers ● Use parts of Atomic.Design or other design systems that fit ● Mind your future self ● Iterate