Code Monkey home page Code Monkey logo

telemetryapp's Introduction

VueAppTemplate

Base template for HTML5/CSS3 app using latest ES2017 JavaScript on Vue.js framework.

This HTML5 App template is ES2015+ compliant, will run in all browsers natively without the need for any "compiler" or 3rd party pre-processing solution (Babel, Node, Broswerify, etc NOT required).

Modern browsers continue to evolve and extend the basic functionality and as of ES2017 full module support, class (style) based inheritance, scoping are all available to make it easy for non JavaScript programmers to get into JavaScript.

Screenshot

This HTML5 App also uses CSS3 Grid Layouts with Flexbox.

Getting Started

In this application, the use of components is an imitation of Vue's "single page component" or "SPC". I say an imitation because due to the reliance of SPCs to "dependencies"/"modules" (webpack, npm, etc..), I've created a workaround of this app's components. It is represented as javascript class objects which takes in Vue's "Vue.component" in the constructor.

All the components have color coded borders:

  • MainRootComponent = Red solid border
  • Components = Green solid border
  • Sub-Components = Light Green dashed border

Main Component

MainComponent.js behaves a bit differently for it is a Vue.component but also has a Vue Root, all components declared in this component is declared globally.

Application Structure

Project Folder

        ├── /dist                    # auto generated don't touch
        |
        ├── /mixins
        |   ├── http.js
        |   ├── sampleDirective.js
        |   └── controller.js
        |
        ├── /src
        |   ├── main.js               # main entry to vue application
        |   ├── /components           # things you resuse everywhere, parameterize with props (new html)
        |   |   └── sampleComponent.vue
        |   ├── /views                # built out of components, collections
        |   |   ├── header.vue        # components declared in index.js
        |   |   ├── navbar.vue
        |   |   └── sidebar.vue
        |   └── /routes               # edges that the user may navigate to
        |       ├── About.vue
        |       └── Home.vue          # application's main vue component
        |
        ├── /server                   #back-end - if applicable
        |   ├── server.js             # main entry to server edges
        |   └── /command
        |   └── ...
        |
        └── /public
            ├── index.html            # html5 app entry
            ├── /assets                # .png or .jpg files
            |   ├── vfs_logo.phg
            |   └── <my_image.png> ... # images naming convention
            |
            └── /css                   # where all styling lives
                ├── style.css
                ├── media.css
                └── ...

HTML and Styling

  • All the "wrapper" is in a form of CSS GRID Layout.
  • Each CSS GRID "area" has a "container" in a form of "flexbox".
  • And each CSS Flexbox "container" contains "flexitems".

Application's HTML5 Structure: All the "wrapper" is in a form of CSS GRID Layout. Each grid "area" has a "container" in a form of "flexbox". And each flexbox "container" contains "flexitems".

All of the traditional, functional traits of JavaScript are mantained but made easier to access as beginners and programmers coming from other languages.

Enjoy this base template.

Deployment

This application runs on a Apache Web Server. Simply drop the this project folder to your WebServer folder and access your Server's domain.

Built With

  • Vue.js 2.0 - The web framework used.
  • Axios.js - Promise based HTTP client used for AJAX.
  • Php 7 - Back-end server.
  • CSS Grid - Used for this application's main styling structure.
  • CSS Flexbox - Used as a sub structure and supports this application's styling.

Authors

  • Clinton Jay Ramonida - Integrated Vue.js 2.0, (Expanded from HTML5AppTemplate).
  • Scott Henshaw - Initial work (HTML5AppTemplate).

License

This project is licensed under the MIT License - see the LICENSE.md file for details

telemetryapp's People

Contributors

pg22nicholas avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.