Coder Social home page Coder Social logo

Comments (14)

sylus avatar sylus commented on June 15, 2024

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.

pjackson28 avatar pjackson28 commented on June 15, 2024

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.

nschonni avatar nschonni commented on June 15, 2024

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.

LaurentGoderre avatar LaurentGoderre commented on June 15, 2024

Ideally the themes would be on the CDN too.

from wet-boew.

nschonni avatar nschonni commented on June 15, 2024

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.

pjackson28 avatar pjackson28 commented on June 15, 2024

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.

nschonni avatar nschonni commented on June 15, 2024

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.

pjackson28 avatar pjackson28 commented on June 15, 2024

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.

nschonni avatar nschonni commented on June 15, 2024

I like Data-URIs but the do not work on IE<8 http://caniuse.com/#feat=datauri

from wet-boew.

pjackson28 avatar pjackson28 commented on June 15, 2024

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.

nschonni avatar nschonni commented on June 15, 2024

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.

pjackson28 avatar pjackson28 commented on June 15, 2024

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.

LaurentGoderre avatar LaurentGoderre commented on June 15, 2024

Hey @nschonni can we close this?

from wet-boew.

nschonni avatar nschonni commented on June 15, 2024

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)

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.