This package has been deprecated

    Author message:

    Deprecated, do not use anymore! Package has been renamed to 'sipa'! So switch to 'sipa'

    simpartic

    0.2.4 • Public • Published

    SIMPARTIC Particularly simple web framework NPM version NPM downloads License: MIT

    Particularly simple old school single page lightweight web framework for clever javascript developers.

    You need to be clever to understand why this framework is that party(cular) you want to have.

    But I allow you to use it anyway!

    - under heavy development, first beta version is planned to be released at the end of January 2021

    TALBE OF CONTENTS

    Why simpartic?

    I just want to develop with Vanilla JS and HTML the old way, I want to directly run and debug the code I code in the browser.

    I don't want to learn a new framework world. I can JavaScript, I want to do JavaScript. I want it simple, I want it stupid easy.

    ... and at the end I want to be happy! :-)

    Main features

    • Solid basic project structure State
    • Simple but powerful page pattern with loader / router State
    • Live development web server for JavaScript and SCSS State
    • Life cycle with hook feature State
    • Internationalization out of the box State
    • EJS template engine State
    • Builder to create compressed and minified .js and .css for production State

    Shipped libraries

    • CurlyBracketParser for url parsing
    • LuckyCase for name case transformations
    • EJS for embedded javascript template rendering
    • jQuery for having fun easily the old way

    Installation

    Prerequisites

    NodeJS and Yarn 1.x are installed. You may use npm instead of yarn.

    Install the framework with yarn

    yarn add global simpartic

    You have to ensure, that the path of yarns bin directory is added to PATH.

    So if the command simpartic is not available after installation, add the following line to your shell config (~/.bashrc, ~/.zshrc/...):

    export PATH="$(yarn global bin):$PATH"

    Install the framework with npm

    npm install -g simpartic

    Depending on your global npm directory, you may need to run this command with sudo or as root:

    sudo npm install -g simpartic

    After installing with yarn or npm

    That's it!

    The command simpartic and its shortcut sipa is now available on the command line.

    Run sipa help for more information.

    Or get started with our tutorial here (TODO).

    Setup a new project

    On the commandline run

    simpartic new

    to get an interactive setup and answer the questions.

    Documentation

    Check out the doc at ... to be done. ;-)

    Either checking for mark down solution or even a github page. Github page may be generated from mark down sources.

    Check for nice documentation templates

    Check the need and technical options for translations (=> create the doc with the framework itself?)

    TODOs:

    • [ ] generators State
      • [x] page generator State
      • [x] layout generator State
      • [ ] style asset generator State
      • [ ] javascript asset generator State
    • [ ] index.html src update before build and before live development server start State
    • [ ] file watcher to automatically trigger index.html src update for live development server State
    • [ ] app release builder State
    • [ ] developer documentation (github page?) State
    • [ ] simpartic updater (update task) State
    • [ ] buit-in ejs rendering for pages and layouts State
    • [ ] built-in translation service State
    • [ ] test on windows platform State
    • [ ] add unit tests State

    Contributing

    Bug reports and pull requests are welcome on GitHub at https://github.com/magynhard/simpartic. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

    Install

    npm i simpartic

    DownloadsWeekly Downloads

    1

    Version

    0.2.4

    License

    MIT

    Unpacked Size

    1.08 MB

    Total Files

    73

    Last publish

    Collaborators

    • magynhard