A SkillsCast for this session is not available.
Traditional event-based MVC has been the standard pattern for building user interfaces for decades. However, this pattern has its downsides – specifically, shared mutable state and cascading event chains can lead to code that is difficult to comprehend and reason about.
In this talk we’ll look at alternative approaches that leverage functional programming techniques, using the native mobile app development space to demonstrate. We’ll start by introducing the concepts of declarative UIs and reactive one-way data flow, as exemplified by the JavaScript-based React Native framework. Then, if JavaScript is not your cup of tea, we’ll see how we can apply the same principles using Swift and ReactiveCocoa, a functional reactive programming library for Cocoa.
Irrespective of what language you use or what sort of user interfaces you build, this talk will introduce you to the virtues of reactive one-way data flow and immutable state, and how they can help you write code that is easier to understand.
YOU MAY ALSO LIKE:
Rethinking MVC with React Native & ReactiveCocoa
Sam Ritchie
Chief CodesplicerCodesplice