An unified framework for building modern html5 applications across web and desktop.
An unified framework for building modern html5 applications across web and desktop. http://www.skylarkjs.org
Skylark.js is an unified framework for building modern html5 applications across web and desktop, including the runtime library and many development tools.
Skylark.js supports all browsers that are ES5-compliant (IE8 and below are not supported).
Project | Description | Integration |
---|---|---|
skylark-langx | javaScript language extension library | built-in on skylarkjs runtime |
skylark-router | frontend routing framework | built-in on skylarkjs runtime |
skylark-spa | html5 single page application framework | built-in on skylarkjs runtime |
skylark-utils | javascript dom utility library | built-in on skylarkjs runtime(full build version) |
skylark-slax-browser | official desktop browser for running skylark slax application | built-in on skylarkjs development tools |
skylark-slax-nodeserver | official node server for running the skylark slax application | built-in on skylarkjs development tools |
skylark-jquery | an extension library fully compatible with jquery api | optional, installed by the developer as needed |
skylark-backbone | an extension library fully compatible with backbone api | optional, installed by the developer as needed |
build | Description | |
---|---|---|
full | skylarkjs.js | included skylark-utils |
core | skylarkjs-core.js | not included skylark-utils |
full (development) | uncompressed/skylarkjs.js | included skylark-utils |
core (development) | uncompressed/skylarkjs-core.js | not included skylark-utils |
There are multiple ways to install the skylark-router library.
<script type="text/javascript"
src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.3/require.min.js"
data-main="http://registry.skylarkjs.org/packages/skylarkjs/v0.9.3/uncompressed/skylarkjs.js">
</script>
<script>
require(["skylarkjs"],funciton(skylarkjs){
skylarkjs.xxx();
});
</script>
Skylark.js sdk is released as npm package, so first make sure the nodejs and npm have been installed.
npm install skylarkjs -g
China:
ELECTRON_MIRROR=https://npm.taobao.org/mirrors/electron/ npm install skylarkjs -g --verbose
sjs create slaxApp1 --routes home:/,view1:/view1,view2:/view2
npm run build
npm run deploy
npm run browse
npm run serve
Have a bug or a feature request? Please first search for existing and closed issues. If your problem or idea is not addressed yet, please open a new issue.
The code is released under the MIT License.