Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Data flow architecture of spa @ codibly [warning for open minds only]
1. Łukasz Dobosz
Senior Frontend Developer
1
Data flow architecture of SPA @ Codibly
[warning: for open minds only]
Numer telefonu
+48 788 266 229
Adres e-mail
lukasz.dobosz@codibly.com
Meetup: JS dla zaawansowanych!
2. Łukasz Dobosz
Data flow architecture of SPA @ Codibly
[warning: for open minds only]
www.codibly.com
| excellence in software
3. Plan
● Data flow architecture - high-level battle plan
● API layer - pain in the frontend's… neck solution
● Don't trust your backend team - jak Mappery pomagają nam przetrwać nierówną walkę
● Głupie i głupsze komponenty - Detectors & Selectors
● Omówienie benefitów, plusów i zalet naszego podejścia oraz wad
www.codibly.com
3
46. ‘Smart’ components
www.codibly.com
46
is a component that independently under
take all actions in terms of:
● api calls
● storing data
● styling components
● displaying data
● handling users interactions
● detecting store changes
● handling store changes
● testing the software
● bug fixing
● attending scrum meetings
● estimations
● making coffee for the team
● ordering the lunch
● loading washing machine
and so on and so forth...
48. Detector
www.codibly.com
48
Redux Detector enhancer allows you to detect state changes in redux.
A detector is a simple and pure function which compares two states and
returns action or list of actions for some states transitions.
62. Yeoman generator
www.codibly.com
62
Yeoman is a generic scaffolding system allowing the creation of any kind of app.
It allows for rapidly getting started on new projects and streamlines the
maintenance of existing projects.