GithubHelp home page GithubHelp logo

tags's Introduction

Tags Example

Tags

Deploying this demo

On your project root

This should be your final layout

objectiveweb/
    ...
ow-config.php
tags/
    _init.php
    index.html
    modules/
        items.html
    ...

Application Structure

The /tags directory contains our application, the only required file is _init.php on which we define our data domains.

We'll be using metaproject for the ui, to install it, run

bower install bravado/metaproject

The UI is structured as follows

  • Application modules are stored on the modules folder
  • All dependencies are loaded on the index.html file.
    • URLs are defined on the parent element, modules are embedded on the main page using the include data-binding
    • On this demo, <div class="container page" data-bind="include: 'modules/items.html', url : 'items'"></div> maps the tags/index.html#items url to the items.html module
  • Data Models are defined on js/models.js
  • Application is initialized at js/main.js

Each module is defined on an independent HTML file, which contains the module markup, the relevant javascript code and its dependencies.

The items module source is located at https://github.com/guigouz/tags/blob/master/modules/items.html

tags's People

Watchers

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