View on GitHub

Quick, simple, minimalist JS app framework for browsers

Download as a .zip file Download as a tar.gz file

Requirements

  1. JQuery 3.3.1
  2. Bootstrap 4.0

See QkApp in action.

UI demo

API gateway demo

Docs

Read docs

Basically, why?!

QkApp is a micro-framework which, by design, does NOT generate html for you (with minor exception like, for instance, the dialog buttons). Instead, QkApp works like a thin wrapper around the mostly pre-existing html mark-up.

This approach enables the html designer to have full control over the html, and on the other hand, it empowers the front end developer to utilize the designed html pages in their apps with very little additional mark-up that conveys developer’s design intentions to QkApp library.

As an example for this difference in design approach, let us consider the common use case of “Forms”

Unlike many libraries that provide ‘forms’ which take “form fields specifications” as input, and render the resulting html form themselves, QkApp provides jQuery widget to turn an html element into a QkForm. Now, just like any other jQuery object, you can play with it as usual. QkForm does not generate forms for your specifications. Instead, the developer has complete freedom over the form html, and can write the form exactly as is needed.

In addition to that, the developer may also identify some of the input fields whose change event needs to trigger form validation, with data-qkform-causesvalidation property. Also, the developer may specify which element to use, in order to display a list of validation error messages, with data-qkform-role property.

This way, by adding simple annotations to html markup, QkApp works mostly behind the screen, with your html, just as you wrote it.

QkApp is designed to separate the html mark-up and it’s “App-like” behavior. Designed to control the html, and not to generate it, QkApp offers completely predictable html rendering of your app.

QkApp is tested for BootStrap v4 vanilla, and on all themes of BootSwatch v4. On 3 or 4 of the BootSwatch themes (out of 12) there are some minor display glitches. But overall, no showstopper UI issues on any of those, and NO functional issue on any. 8-)

It is also tested on Bootstrap.386 - one of my most favourite BootStrap customization ;) . Not a bad show either, but the BootStrap v4 round corners ruin half the fun it has with BootStrap v3.x.

What QkApp is NOT!

Now, what is QkApp?

QkApp provides a system of many components that can be used with each other seamlessly, allowing whatever combinations you want off them. It forms a skeleton for an app with capabilities like handling a form as, well, just that - a form, or showing a form in dialog or a wizard or elsewhere, or requesting a web service, etc.

QkApp Components