Functional Reactive Programming

What Does Functional Reactive Programming Mean?

Functional reactive programming (FRP) is a programming framework that combines functional and reactive programming techniques to build applications, services and devices. It enables changing the state or operation of the underlying platform dynamically with events and behaviors that change over continuous or discrete time.

Advertisements

Techopedia Explains Functional Reactive Programming

FRP is primarily designed for data sets or types that vary over time. FRP works on two core components or concepts: events and behaviors. Both of them represent values, which, once changed, will return into some action or reaction. For example, the movement of a computer mouse over a continuous period of time is a behavior, where the ever changing location of mouse arrow is its corresponding value. Similarly, the mouse click is an event and the place or quantity of clicks is the base value. FRP enables capturing and using these variables and their values with various applications and services, specifically in interactive computing environments such as animations, robotics, GUI and simulations.

Advertisements

Related Terms

Margaret Rouse
Technology Expert

Margaret is an award-winning technical writer and teacher known for her ability to explain complex technical subjects to a non-technical business audience. Over the past twenty years, her IT definitions have been published by Que in an encyclopedia of technology terms and cited in articles by the New York Times, Time Magazine, USA Today, ZDNet, PC Magazine, and Discovery Magazine. She joined Techopedia in 2011. Margaret's idea of a fun day is helping IT and business professionals learn to speak each other’s highly specialized languages.