Coder Social home page Coder Social logo

yoh1496 / app-myboard Goto Github PK

View Code? Open in Web Editor NEW

This project forked from personium/app-myboard

0.0 0.0 0.0 286 KB

An application that runs on the home application. Sample memo app.

License: Apache License 2.0

CSS 4.68% JavaScript 91.48% HTML 3.84%

app-myboard's Introduction

MyBoard App

An sample app that runs on the HomeApp.
It allows the data subject to edit it's and view other's notice board.

MyBoard on YouTube

Installation

TBD

Instructions on modifying this app and building your own

You are free to use this app as base and write your own. Basically, we reuse files that contain the "common" in their file names for all other apps. And then we edit the following constants/functions to match our needs.

  1. MyBoard is running on the following URL.

     const APP_URL = "https://demo.personium.io/app-myboard/";
    
  2. All the JSON files inside locales/en.

     getNamesapces = function() {
         return ['common', 'glossary'];
     };
    
  3. Relation defined bar/00_meta/10_relations.json

     getAppReadRole = function() {
         return 'MyBoardReader';
     }
    
  4. Location where MyBoard app stores the notice board information.

     getAppDataPath = function() {
         return 'MyBoardBox/my-board.json';
     }
    
  5. AJAX option for getting data.

     getAppRequestInfo = function() {
         ...
     }
    
  6. After i18next has prepare all the necessary information, it will call the following function which configure and render your app.

     additionalCallback = function() {
     	...
     }
    
  7. When the app encounter an error which prevent it from working properly, it will display a warning dialog to notify the user to close the browser window.
    Before the dialog is displayed, your might want to hide some GUI components so that the user will not accidentally click on it.

     irrecoverableErrorHandler = function() {
     	...
     }
    
  8. After you click the warning dialog's "OK" button, you might want to clean up your browser session before closing the window.

     cleanUpData = function() {
     	...
     }
    

app-myboard's People

Contributors

cskyou avatar sawamiwataru avatar hiroaki-shibata avatar dixonsiu avatar mhciael 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.