All Projects → Narbase → Kunafa

Narbase / Kunafa

Licence: mit
Easy to use, high level framework in Kotlin for front-end web-development

Programming Languages

javascript
184084 projects - #8 most used programming language
kotlin
9241 projects

Projects that are alternatives of or similar to Kunafa

Aurelia
Aurelia 2, a standards-based, front-end framework designed for high-performing, ambitious applications.
Stars: ✭ 995 (+572.3%)
Mutual labels:  javascript-framework, frontend, single-page-applications
hafcaf
When you only want a little JavaScript in your SPA.
Stars: ✭ 17 (-88.51%)
Mutual labels:  single-page-app, javascript-framework, single-page-applications
Redux Requests
Declarative AJAX requests and automatic network state management for single-page applications
Stars: ✭ 330 (+122.97%)
Mutual labels:  frontend, front-end, single-page-app
Vanilla Ui Router
Simple vanilla JavaScript router
Stars: ✭ 42 (-71.62%)
Mutual labels:  single-page-app, single-page-applications
Knockout Spa
A mini but full-fledged SPA framework and boilerplate to build SPAs fast and scalable
Stars: ✭ 145 (-2.03%)
Mutual labels:  single-page-app, single-page-applications
Medlaunch
A Windows (.NET) Front-End for the Mednafen Emulator
Stars: ✭ 37 (-75%)
Mutual labels:  frontend, front-end
Livingstyleguide
Easily create front-end style guides with Markdown and Sass/SCSS.
Stars: ✭ 874 (+490.54%)
Mutual labels:  frontend, front-end
Single Spa
The router for easy microfrontends
Stars: ✭ 10,395 (+6923.65%)
Mutual labels:  front-end, single-page-applications
Dev Practice
Practice your skills with these ideas.
Stars: ✭ 1,127 (+661.49%)
Mutual labels:  frontend, front-end
Vue Soundcloud
🎧 A SoundCloud client built with Vue and Nuxt
Stars: ✭ 141 (-4.73%)
Mutual labels:  single-page-app, single-page-applications
Dataformsjs
🌟 DataFormsJS 🌟 A minimal JavaScript Framework and standalone React and Web Components for rapid development of high quality websites and single page applications.
Stars: ✭ 95 (-35.81%)
Mutual labels:  javascript-framework, single-page-app
Roadmap Web Developer 2017
Front-end (HTML5/CSS3/Javascript related) technologies to learn in 2017
Stars: ✭ 142 (-4.05%)
Mutual labels:  frontend, front-end
Astral
⊙ CSS franken-work ⊙
Stars: ✭ 14 (-90.54%)
Mutual labels:  frontend, front-end
Web Interview
我是「齐丶先丶森」,公众号「前端面试秘籍」作者,收集整理全网面试题及面试技巧,旨在帮助前端工程师们找到一份好工作!
Stars: ✭ 1,230 (+731.08%)
Mutual labels:  frontend, front-end
Learningrecord
学习资料汇总、阅读记录,持续学习,每天进步一点点.🏫🏫
Stars: ✭ 95 (-35.81%)
Mutual labels:  frontend, front-end
Itelios Frontend Challenge
Desafio de admissão para desenvolvedores front-end da Itelios
Stars: ✭ 14 (-90.54%)
Mutual labels:  frontend, front-end
Nativescript Ionic Template
📱 🖥 Create Mobile First apps, Web and Native sharing the code with Angular 🎉
Stars: ✭ 65 (-56.08%)
Mutual labels:  single-page-app, single-page-applications
Fast
Develop, build, deploy, redeploy, and teardown frontend projects fast.
Stars: ✭ 126 (-14.86%)
Mutual labels:  frontend, front-end
Computer Science
Contains the basic fundamental data structures and algorithms a front end engineer should know, written all in JavaScript.
Stars: ✭ 798 (+439.19%)
Mutual labels:  frontend, front-end
Erlach
☣⚫⚫ SPA Imageboad on WebSockets written on Erlang
Stars: ✭ 23 (-84.46%)
Mutual labels:  single-page-app, single-page-applications

Awesome Kotlin Badge Maven Central

Kunafa logo

Kunafa

Easy to use, high level framework in Kotlin for front-end web-development


Create web apps without using HTML, CSS, or JavaScript.

Documentation

Find Kunafa Documentation here (Work in progress).

Philosophy

Web apps framework without using HTML, CSS, or JavaScript.

Problem

  • Web technologies are pain. Html is verbose, CSS is unexpected, and javascript is.. javascript.
  • The no. of technologies a developer needs to learn to write web apps is big. That is, HTML, CSS and JavaScript at the least. Then there are javascript frameworks (react, angular, vue), LESS, SCSS, Haml. There are also packaging tools, gulp, webpack.
  • Modern javascript frameworks solve the JavaScript problem, not the front end problem. React use JSX (embedded HTML in javascript) while Angular requires CSS and HTML.

Proposal

An easy to use, high level framework in Kotlin for web development. You do not need to learn the web stack, only the framework to be able to write web apps.

Developer experience

Developers only need to use Kotlin for development.

  • You write the view (similar to Android xml layouts) in Kotlin DSL. e. g.
            verticalLayout {
                style {
                    width = matchParent
                    height = matchParent
                    backgroundColor = Color(240, 240, 240)
                }
                button {
                    text = "Click me"
                }
            }

  • The view component (similar to Android activity or iOS ViewController) implements certain life cycle functions.
  • The framework views contains easy to understand and familiar components and layouts managers. i. e. Button, TextView, TextInput, HorizontalLayout, VerticalLayout and so on.
  • The framework makes laying out objects easy, e. g. match parent, wrap content.
  • You can wrap any html, css, and js into a framework component to use it inside the framework.

Features

  • Intuitive DSL for creating views
  • Type safe CSS DSL for complete control of views appearance
  • Automatic CSS rule sets caching
  • Flexible Components to abstract any logic
  • Full Routing support (Links, URL params, Redirecting, Navigation control)
  • Very easy to wrap any 3rd party library as Kunafa component

Implementation

  • Kotlin transpiles to javascript, and is well designed to support DSLs.
  • Code is turned to javascript at compile time, and a basic HTML file loads the generated .js file.
  • At runtime, the js file will generate the required HTML, and CSS files containing the whole application.

Getting started

Hello Kunafa! Getting started guide.

To add Kunafa to your project, first you need to add it to your build.gradle file as a dependency.

compile 'com.narbase:kunafa:<latest_version>'

If you have Kotlin Js plugin configured, then you can directly use it the code and Webpack will include Kunafa in the generated bundle.

Now you are ready to use Kunafa in any Kotlin-js project.

For a complete example, check the Kunafa Todo repository


Your feedback is most welcomed. Let us know how is your experience with Kunafa.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].