Giter Site home page Giter Site logo

pakyow's Introduction

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:

License

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

pakyow's People

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.