Skip to content

stas-kh/pk-framework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PK Framework

This is my own just-for-fun implementation of a modern JavaScript framework. I am inspired by the VueJS syntax and its simplicity, so that is why some parts look very similar to VueJS.

Goal

The main goals were:

  • The super-small size (8kb non-minified, 200 lines of code 🚀)
  • Pure JavaScript (no dependencies at all)
  • Performance is not so important (since it's just-for-fun implementation 🤗)
  • Support of the main concepts of a modern JS frameworks

Features

The framework supports the following features:

  • Value interpolation (pk-bind)
  • Two-way data binding (pk-model)
  • Simple loops through array (pk-for)
  • DOM actions (pk-onclick, pk-onsubmit, pk-oncheck)
  • Statements (pk-if)

Demo

Find the demos:

Releases

No releases published

Packages

No packages published