Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@altiva/altiva

altiva120MIT2.0.22

Altiva Framework: Development for Humans

readme

Altiva Framework: Development for Humans

Join the chat at https://gitter.im/Altiva/altiva Build Status codecov npm npm

Altiva is a front-end framework and its goal is to make universal app development as human-friendly as possible. Nevertheless, besides the easiness, we also consider high performance and safety.

altiva

Altiva is open-source (MIT), written in Javascript and based on Svelte.

Features

  • Easy built-in routing
  • Easy component creation (HTML and CSS)
  • Easy mobile packaging (Android, iOS, Windows Phone, etc)
  • Component auto-loading and auto-caching
  • Easy consumption of HTTP API's
  • Easy JWT authentication
  • Real-time integration with socket back-ends (in development)
  • Easy route filters
  • Support for APIs and backends with JWT authentication

Install

Step 1

Install Node.js and then install Altiva 2.0 globally:

npm install @altiva/altiva -g

Step 2

  1. Navigate in your terminal to a directory where you organize your projects
  2. Create a new Altiva project. A new folder "project_name" will be created with the base structure of files and folders.
altiva new <project_name>
  1. Or, create a new Altiva project using an existing empty directory. The base structure of files and folders will be created inside of it.
altiva new .

Step 3

Start the development mode with:

altiva dev

The pre-compiled files of your project will be saved in dev folder and will run in your browser, refreshing with each modification.

Step 4

When you are done, end the dev-mode with a CTRL+C and build your project with:

altiva build

It will be compiled and saved in build folder, with additional minification and tree-shaking process.

License

Copyright (c) 2015-2018 Paulo Coghi and contributors. Released under an MIT license.

changelog

Altiva changelog

2.0.22 - 2018-11-06

  • Fixes for mobile devices. Running fine on Cordova, Phonegap and Cocoon compiled apps

  • Fixes on errors lines/columns

  • Using npm ci for fast tests

  • Updated deps and compression libs

2.0.21 - 2018-09-04

  • Updated dependencies

2.0.20

  • Fix #51: Optimize execution of routing functions with and without middlewares

2.0.19

  • Route middlewares feature officialy released (#1)
  • Better ajax library (fetchival.js) for http requests (#50)

2.0.18

  • Route groups feature officialy released (#1)

2.0.17

  • Multiple routes using array with the same components (#17)
  • Routes and params to store (#45)

2.0.16

  • Update Svelte to 2.6.3 (#44)

2.0.15

  • Error handling with Svelte 2.0 (#43)

2.0.14

  • Modules CLI feature (partially done) (#32)
  • Modules feature (partially done) (#31)

2.0.13

  • Update to Svelte 2 syntax (#44)

2.0.12

  • Generators fully tested and corrected (#32)
  • Utils modules - fully tested (#35)

2.0.11

  • Moved rsync from "devDependencies" to "dependencies", trying to solve Windows incompatibilities

2.0.10

  • Add minification support on build time (#29)

2.0.9

  • Fix #24: Project names with dots aren't considered valid
  • Fix #23: Empty directory is treated as non-empty when using "." to create a project

2.0.8

  • Fix #27: Update "altiva.hjson" in user's outdated projects
  • Added support for Svelte's store to enable global app state management

2.0.7

  • Performance improvement with Svelte 1.58

2.0.6

  • Main app error handling resolved.

2.0.5

  • Better error handling also in app.js

2.0.4

  • Better error handling
  • Updated libraries

2.0.3

  • Added missing files wrongly removed on v2.0.2

2.0.2

  • First public usable version (beta)

2.0.1

  • Install instructions updated with altiva organization namespace
  • Created Altiva organization on NPM

2.0.0

  • Readme
  • Minimal install instructions
  • Svelte updated to v1.42.0

2.0.0-alpha

  • Altiva 2 concept validation