Bistro Framework
Encyclopedia
Bistro Framework is a compositional .NET MVC
Model-view-controller
Model–view–controller is a software architecture, currently considered an architectural pattern used in software engineering. The pattern isolates "domain logic" from the user interface , permitting independent development, testing and maintenance of each .Model View Controller...

 framework with concepts from REST
Rest
Rest may refer to:* Leisure* Human relaxation* SleepRest may also refer to:* Rest , a pause in a piece of music* Rest , the relation between two observers* Rest , a 2008 album by Gregor Samsa...

 and AOP
Aspect-oriented programming
In computing, aspect-oriented programming is a programming paradigm which aims to increase modularity by allowing the separation of cross-cutting concerns...

. Bistro modifies the traditional concepts of MVC by breaking down a single HTTP request into a series of aspects, each processed by a separate controller. Individual controllers are bound to aspects of a URI
Úri
Úriis a village and commune in the comitatus of Pest in Hungary....

, and may service multiple disparate HTTP requests. This forces each controller to be entirely agnostic of the specific of an HTTP request, focusing only on the functionality that is responsible for.

This focus simplifies implementations of controllers using functional languages, as it minimizes side-effects
Side effect (computer science)
In computer science, a function or expression is said to have a side effect if, in addition to returning a value, it also modifies some state or has an observable interaction with calling functions or the outside world...

 within controllers. The current version of bistro supports controllers written using the F# programming languagehttp://bistroframework.org/index.php?title=FSharp

Bistro Framework is published under the GNU LGPL
The source of this article is wikipedia, the free encyclopedia.  The text of this article is licensed under the GFDL.
 
x
OK