Sha256: 058cb1f04ee3b2268cd5ec97c3ef92baa40cbd6781c97d2e34c781be2bed73fc
Contents?: true
Size: 1.01 KB
Versions: 19
Compression:
Stored size: 1.01 KB
Contents
# Plezi Controllers - Virtual folders, RESTful requests, Websockets and more. In the core of Plezi's framework is a smart Object Oriented Router which acts like a "virtual folder" with RESTful routing and Websocket support. RESTful routing and Websocket callback support both allow us to use conventionally named methods in our Controller to achive common tasks. Such names methods, as will be explored further on, include the `update`, `save` and `show` RESTful method names, as well as the `on_open`, `on_message(data)` and `on_close` Websocket callbacks. The first layer of this powerful routing system is [the Plezi's Http Router and the core method `Plezi.route` which we already explored](./routes.md). The second layer of this powerful routing system is the Controller class which we are about explore. ## What is a Controller Class? (todo: write documentation) ### A Virtual Folder (todo: write documentation) ### RESTful methods (todo: write documentation) ### Websocket Callbacks (todo: write documentation)
Version data entries
19 entries across 19 versions & 1 rubygems