All Projects → yysun → Apprun

yysun / Apprun

Licence: mit
AppRun is a JavaScript library for developing high-performance and reliable web applications using the elm inspired architecture, events and components.

Programming Languages

javascript
184084 projects - #8 most used programming language
typescript
32286 projects

Projects that are alternatives of or similar to Apprun

Hydux
A light-weight type-safe Elm-like alternative for Redux ecosystem, inspired by hyperapp and Elmish
Stars: ✭ 216 (-80.13%)
Mutual labels:  framework, router, state-management, virtual-dom
Mag.js
MagJS - Modular Application Glue
Stars: ✭ 157 (-85.56%)
Mutual labels:  framework, state-management, component
Mithril.js
A JavaScript Framework for Building Brilliant Applications
Stars: ✭ 13,062 (+1101.66%)
Mutual labels:  framework, router, virtual-dom
Component
🔥🔥🔥A powerful componentized framework.一个强大、100% 兼容、支持 AndroidX、支持 Kotlin并且灵活的组件化框架
Stars: ✭ 2,434 (+123.92%)
Mutual labels:  framework, router, component
San
A fast, portable, flexible JavaScript component framework
Stars: ✭ 4,514 (+315.27%)
Mutual labels:  framework, component
Gearbox
Gearbox ⚙️ is a web framework written in Go with a focus on high performance
Stars: ✭ 455 (-58.14%)
Mutual labels:  framework, router
Dragon
⚡A powerful HTTP router and URL matcher for building Deno web servers.
Stars: ✭ 56 (-94.85%)
Mutual labels:  framework, router
Velocityx
A minimalist Flutter framework for rapidly building custom designs.
Stars: ✭ 595 (-45.26%)
Mutual labels:  framework, component
Qpc
QP/C real-time embedded framework/RTOS for embedded systems based on active objects (actors) and hierarchical state machines
Stars: ✭ 379 (-65.13%)
Mutual labels:  event-driven, framework
Gear
A lightweight, composable and high performance web service framework for Go.
Stars: ✭ 544 (-49.95%)
Mutual labels:  framework, router
One
一个极简高性能php框架,支持[swoole | php-fpm ]环境
Stars: ✭ 789 (-27.41%)
Mutual labels:  framework, router
Preferencesfx
A framework for easily creating a UI for application settings / preferences.
Stars: ✭ 449 (-58.69%)
Mutual labels:  framework, component
Iris
The fastest HTTP/2 Go Web Framework. AWS Lambda, gRPC, MVC, Unique Router, Websockets, Sessions, Test suite, Dependency Injection and more. A true successor of expressjs and laravel | 谢谢 https://github.com/kataras/iris/issues/1329 |
Stars: ✭ 21,587 (+1885.92%)
Mutual labels:  framework, router
Korolev
Single Page Applications running on the server side.
Stars: ✭ 510 (-53.08%)
Mutual labels:  framework, virtual-dom
Ozzo Routing
An extremely fast Go (golang) HTTP router that supports regular expression route matching. Comes with full support for building RESTful APIs.
Stars: ✭ 398 (-63.39%)
Mutual labels:  framework, router
Vuesax
New Framework Components for Vue.js 2
Stars: ✭ 5,293 (+386.94%)
Mutual labels:  framework, component
Routing
The Routing component maps an HTTP request to a set of configuration variables.
Stars: ✭ 7,080 (+551.33%)
Mutual labels:  router, component
Dyo
Dyo is a JavaScript library for building user interfaces.
Stars: ✭ 924 (-15%)
Mutual labels:  framework, virtual-dom
Jcnavigator
A decoupled navigator framework of jumping between modules or apps for iOS development.
Stars: ✭ 33 (-96.96%)
Mutual labels:  framework, component
Royjs
Royjs is only 4.8kb mvvm framework for React
Stars: ✭ 49 (-95.49%)
Mutual labels:  framework, state-management

AppRun Build NPM version Downloads License twitter Discord Chat

AppRun is a JavaScript library for building reliable, high-performance web applications using the Elm-inspired architecture, events, and components.

AppRun is an MIT-licensed open source project. Please consider supporting the project on Patreon. 👍❤️🙏

AppRun Benefits

  • Write less code
  • No proprietary syntax to learn
  • Compiler/transpiler is optional
  • State management and routing included
  • Run side-by-side with jQuery, chartjs, D3, lit-html ...

AppRun is distributed on npm.

npm install apprun

You can also load AppRun directly from the unpkg.com CDN:

<script src="https://unpkg.com/apprun/dist/apprun-html.js"></script>

Or use it as ES module from unpkg.com:

<script type="module">
  import { app, Component } from 'https://unpkg.com/apprun/esm/apprun-html?module';
</script>

Architecture Concept

apprun-demo

  • AppRun architecure has state, view, and update.
  • AppRun is event-driven.
  • AppRun is Component based.

Try the AppRun Playground.

AppRun Book from Apress

Order from Amazon

Create AppRun Apps

Use the AppRun CLI to initialize an esbuild configured project:

npx apprun --init --spa --esbuild

Use the AppRun CLI to initialize a TypeScript and webpack configured project:

npx apprun --init --spa

To initialize a project that targets ES5, use the AppRun CLI with the --es5 flag:

npx apprun --init --spa --es5

AppRun Dev Server

AppRun now has a dev server. It is base on the live-server and supports ES Modules.

To use the AppRun dev server:

npx apprun-dev-server

See the announcement: A Dev Server Supports ESM

AppRun Dev Tools

To use the AppRun dev-tools, include the dev-tools script.

<script src="https://unpkg.com/apprun/dist/apprun-dev-tools.js"></script>

See the annoucement: AppRun Dev Tools

AppRun Dev Tools connects to the Redux DevTools Extension. To use the dev-tools, install the Redux DevTools Extension. You can monitor the events and states.

app-dev-tools

Contribute

You can launch the webpack dev-server and the demo app from the demo folder with the following npm commands:

npm install
npm start

You can run the unit tests from the tests folder.

npm test

Unit tests can serve as functional specifications.

Finally, to build optimized js files to the dist folder, just run:

npm run build

Have fun and send pull requests.

Contributors

License

MIT

Copyright (c) 2015-2021 Yiyi Sun

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].