Comments (14)
This is a good idea and think it would greatly help adoption. However this might be out of scope for v3.0 as there is still tons of work that has to be done.
Maybe we could use this issue queue to further discuss this strategy and try to have an implementation for v3.1
Thoughts @LaurentGoderre?
from wet-boew.
It will likely have to be v3.1 because of the scope of work. Also worth noting that we are also investigating CDN solutions so such an approach could greatly minimize the need for such an application (and would be much more bandwidth/cache-friendly for end users).
from wet-boew.
Even with the CDN for common elements (scripts/widgets), an application would still benefit the theme packages. See the twitter bootstrap as an example that allows the substitution of colour and font variables (SCSS).
from wet-boew.
Ideally the themes would be on the CDN too.
from wet-boew.
Themes on the CDN don't really work since most departments have there own branding colours.
Examples:
http://ec.gc.ca/default.asp?lang=En&n=FD9B0E51-1
http://cbsa.gc.ca/menu-eng.html
http://www.tbs-sct.gc.ca/tbs-sct/index-eng.asp
http://www.cic.gc.ca/english/index.asp
from wet-boew.
Theme files can safely be hosted on a CDN because departments are not supposed to change any of those files as they support the requirements prescribed by the Standard on Web Usability and the FIP Technical Specifications. Departments can host different CSS files on their own servers for the purpose of changing or configuring visual aspects that are not prescribed by either the Standard on Web Usability and the FIP Technical Specifications.
from wet-boew.
I didn't realize that the departmental signature wasn't even supposed to be changed anymore. It that's the case, a single FIP sprite could be created.
If you go with the CDN only route you probably will still hit the browser domain request limit unless you create bundles.
from wet-boew.
We're minimizing the number of files that need to be downloaded by merging, compiling and minifying both CSS and JS files as well as Base64 encoding many of the images. The number and total size of files that need to be downloaded in WET v3.0 will be a small fraction of what needed to be downloaded in WET v2.3.
from wet-boew.
I like Data-URIs but the do not work on IE<8 http://caniuse.com/#feat=datauri
from wet-boew.
True, which is why we have a fallback for just IE7 and IE8 until we phase out support for them (usage numbers are dropping dramatically). Those browsers will still benefit from the significant reduction in CSS and JS files that need to be downloaded, which will still be but a fraction of what had to be downloaded in WET v2.3.
from wet-boew.
So if WET is going in a single homogenous route, should I close this issue?
PS: I setup a room over on JabbR for WET http://jabbr.net/#/rooms/wet-boew for a little more interactive discussion when needed.
from wet-boew.
I don't think so as there are still use cases where custom builds would make sense. We probably won't have time to flesh out the use cases and create the custom scripts in WET v3.0 but it is something that can be looked into for WET v3.1.
from wet-boew.
Hey @nschonni can we close this?
from wet-boew.
Yeah, it may make sense later, but I don't think it will happen unless someone is willing to take it on
from wet-boew.
Related Issues (20)
- Tabbed Interface - Carousel: Page move up and down when items are different heights
- Widget de nouvelles - probèmes avec nouveau /GCWeb/wet-boew/js/wet-boew.min.js HOT 5
- [OTHER] Release files missing from latest release (4.0.67) HOT 1
- Session Timeout: HOT 1
- Tables: Currently selected pagination not indicated to screen readers HOT 2
- Web Experience Toolkit (WET) theme: HOT 1
- Bootstrap 5 HOT 1
- Geomap: basemap down HOT 2
- How to initialize datatable with existing array? HOT 3
- Including server side errors in form validation summary HOT 2
- [OTHER] Intermittent errors when listening for 'wb-ready.wb' event HOT 5
- [BUG] Form Validation - Inline radio and checkbox inputs with wb-server-error class not recognized as errors to display
- [Bug] Menu without submenu doesn’t work in mobile mode when menu link point to modal popup. HOT 2
- [OTHER] Viewing password as user enters data in form HOT 6
- [FEATURE] Published Component Library for Figma or Mural HOT 3
- Exit Script - how to close user session prior to redirect? HOT 5
- Broken link on wet-boew.github.io
- [AUTRE] Avis sur l'Accessibilité d'un outil de visite virtuelle (Matterport)
- Pagination - Datatable Dom option - Pagination still show at the top when hidden at the bottom HOT 3
- Geomap: Popup French suggestions
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wet-boew.