Skip to content
Realtime Web Framework for Ruby
Ruby JavaScript HTML
Find file
Latest commit a01ab6f @bryanp bryanp Merge pull request #143 from karimmtarek/kt-make-current-environment-…

WIP: Make current environment more consistent

Pakyow Framework Gitter chat

Pakyow is a framework for building modern websites and web apps. Views update in realtime to stay in sync with backend state. This is done using a traditional, backend-driven architecture, which means business logic is written once and stays on the server (write no JavaScript).

Pakyow is also designed with progressive enhancement in mind. Because views are rendered on the server, they remain accessible to users who happen to be using unsupported browsers. The realtime layer is simply disabled, while all content continues to remain accessible.

There are three core concepts you should be familiar with:

View-First Development

View-First Development is a process that enables the presentation layer of a website or web app to be built completely separate from the backend code. Read more:

Simple State Propagation

Simple State Propagation is the mechanism through which Pakyow propagates changes in state from one client to another. It prioritizes user trust and makes it easier to reason about your program. Read more:

View Transformation Protocol

The View Transformation Protocol is a way to represent view rendering as a set of instructions that can later be applied to the view template. Pakyow implements this protocol on the backend for initial rendering and in Ring for client-side rendering. Read more:

Gem Version Build Status Dependency Status Inline docs

Getting Started

  1. Install Pakyow:

    gem install pakyow

  2. Create a new Pakyow project from the command line:

    pakyow new webapp

  3. Move to the new directory and start the server:

    cd webapp; pakyow server

  4. You'll find your project running at http://localhost:3000!

Next Steps

The following resources might be handy:

Want to keep up with the latest development? Follow along:


Pakyow is released free and open-source under the MIT License.

Something went wrong with that request. Please try again.