Sha256: 124ac443524c7ed832e8377af9228fc96300864b32b0cc636a865b740cd59c97
Contents?: true
Size: 922 Bytes
Versions: 3
Compression:
Stored size: 922 Bytes
Contents
# Plezi's Smart Routing System In the core of Plezi's framework is a smart Object Oriented Router which actls 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. ## Defining a Route (todo: write documentation) ### The `:id` parameter (todo: write documentation) ### More inline parameters (todo: write documentation) ### Re-Write Routes and Proc Controllers ## The Controller (todo: write documentation) ### A Virtual Folder (todo: write documentation) ### RESTful methods (todo: write documentation) ### Websocket Callbacks (todo: write documentation)
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
plezi-0.11.2 | docs/routes.md |
plezi-0.11.1 | docs/routes.md |
plezi-0.11.0 | docs/routes.md |