Wednesday, March 02, 2016

Cycle.js Application Structure (Conference Room Booker)

Added to Conference Room Booker HTTP requests and responses via Cycle.js HTTP driver, obtaining room names (e.g. France, Canada, etc...) and showing them within the floor map SVG.  



A side-effect to my work was refactoring the structure of the app, breaking components out of the main cycle function, primarily the following:

Sources:
- Models
  - roomCollection
- Streams
  - initialStream
Sinks:
- Views
  - bookingView
  - floorPlanView
Cycles (Both Sources & Sinks):
- roomRequest

Has anybody else been experimenting with Cycle.js's pure functional style of development?.  

No comments: