Architecture
Le websocket
componentsclient template-> (html)hello {token}
componentsserver logic<- (js)
"hello", components style (css)
tools js
les singletons: la recherche, la gestion des places, les itineraires, le plugin manager ???
les plugins: vélo toulouse, les bus tisseo, ...
le fichier d'index{data}
Dossier
actions
index.php
--add, src{annotation}
--remove, --{annotationId}
componentshide, --{annotationId}
--show, singleton{annotationId}
--
-- tools
-- -- css
-- static
Index
// components
customElements.define('base-chip', BaseChipComponent)
customElements.define('base-chip', BaseChipComponent)
customElements.define('base-chip', BaseChipComponent)
// singleton
const map = new Map()
const places = new Places(map)
const search = new Search(map, places)
const pluginManager = new PluginManager(map, places)