kpi-wdc / dj Goto Github PK
View Code? Open in Web Editor NEWWorld Data center webapp
World Data center webapp
Для проверки загрузки стилей, скриптов и модулей ( с новыми директивами, которые будут использоваться для обработки html-шаблона виджета).
для самого простого примера:
http://tombatossals.github.io/angular-leaflet-directive/#!/examples/simple-map
For metadata scheme.
Should include:
Fix the following warnings in tomcat logs
WARNING: No mapping found for HTTP request with URI [/dev-page] in DispatcherServlet with
Use angular-foundation library for Foundation CSS styling in angular way. Improve app's design in general.
Links:
Foundation - http://foundation.zurb.com/
Angular-foundation - http://pineconellc.github.io/angular-foundation/
Angular - http://angularjs.org
Test with both production and dev. versions.
Should page template have a structure like widget? Should it have it's own controller? JSON settings?
Should widgets use holder properties if they need? Can they assume they are always in a holder?
Artefact and Metadatakey classes have FetchType.LAZY. This can have nagative impact on efficiency. Discover whether it is efficient.
Discover Jackson or some other JSON <-> Object library and create mechanism for this transitions.
What's our policy about minification? Should widget code/templates be minified?
If no - the speed will be very bad because of network latency.
If yes - we have to redeploy the whole app OR support some kind tool (e.g. gulp task through plugin) for live minification if new widgets are added etc...
index.jsp should be index.html for the following 2 purposes:
Not all browsers support PUT method, some of them send POST instead.
Maybe it is more convenient to send by POST then to handle both?
Supported options:
Use the following wiki page for reference (WIP) https://github.com/sochka/wdc/wiki/Widgets
Use the following gulp plugins:
{empty: true}
Use gulp-watch for live-building
Example gulpfile.js: https://github.com/jtomaszewski/ionic-angular-cordova-gulp-seed/blob/master/gulpfile.js
Recipies: https://github.com/gulpjs/gulp/tree/master/docs/recipes
REMINDER: don't use application cache. Use network cache instead.
How do we add components (like json config viewer at the bottom of the page) to all the pages at once? Withough this mechanism devs should modify all the page templates at once or use some global condition variables to display that part of the page.
Assuming that's what we should do.
Support:
Currently if user loads anything except '/' or static pages described in wdc-servlet.xml server sends 404 error code and then shows '/' page. But if user loads '/page/home' - it's an invalid query, server shouldn't give 404 error code, it should just show index file. See error message in google chrome
Add npm module and gulp task
Should we add NOT NULL constraints to id fields of association, artefactmetadata and artefact_def tables?
But still show the same contents.
Alternatives:
Editor:
https://github.com/jdorn/json-editor
Angular directive:
https://github.com/rodikh/angular-json-editor
Demo:
http://jeremydorn.com/json-editor/?schema=N4IgLglmA2CmIC4QAVYCcDOB7AdiANOAJ4AO8SWARgFawDGYBIJaWZaksGioOAhgFtyoMKXIgMYNBBwBzJgBMudaSUi5EIAGIRMYAAR8cC/QBk+k/fyFMBM07DlgAFogAshJQDM+AV2iMSABS6LACRPoAIlhoeAC+hHyywsRkmjJgsMloirA+/oEATACshHY4EAK+AogAjAAcZXwAHpXViACcHQkgPgBuMVCwAPp0WNAxPKniktJyTF4xAnyBIGMTOYSQMOL9g5n665OeeX4BmgDEXj7FAAy3ID3JxuhTomlIszLyhI7tCABtEDLOALMJ8UEAXR6EzoKwgGgQIjEmiotAYTG2oKQpiwcPUeEILDY6E43CRaygRDeKM+Um+uXy5yQAGUjPotGgjHQIBgxo9CJIVil3jN6fMTkzVgBhACCAspoiFmRpHwk4p+ICUfNUBM0ABVnLz9MbnuhhSY/GAsMtIHDoNAIl5WAJ9C5YPoWLA+gjfBg3QB3LD6LwQWDQBTcLZhEjQYWaYDAHmiOIJfSJ5WwVNMAMrOiuCnJ6lIWHw3AAOiLTEzmlLBPLNdTqaJsDA5ORar4aC51MIizQts0YD4lFBWyg2JQrajIF8FQAjr5YABJTICclSJeEIbr1XiNH0RjjnaaVBH5isdhkvc3ulzTV/GqAtYrRRYTWUXQKJhoWBqCBjiAWDujkkKSmcqwKO+CrWCKtLqvejzNlqpwFIgAIduIUGarBmgAOoQpkORxNCqZAAAA&value=N4IgdghgtgpiBcIBSMBOMoE8AEARA9qmCADQgQDmc8ATAKxkBmEAboQJYAuMA+gMb4ANoQQgAxI0Z8ALHTqkQVMABM0oxhgiC4ZYXwid2+YvFB8umUQGUIYbADFUt8wGcBCl5wPUQAYQCCCuacmJ7e1rYOTmCuAiTYASAAvmQADjCcLggA2qAh6aLK+BQKkLCiAOpa3KjJALpJQA&theme=foundation5&iconlib=fontawesome4&object_layout=normal&show_errors=interaction
Use $ocLazyLoad
Who is responsible for widget styling?
3 options with drawbacks:
rem
instead of px
. Follow foundation
guidelines.A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.