This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
mission:log:2015:04:06:howto-hacking-seamless-svg-background-tiles [2015-04-06 11:27] – [HOWTO: Hacking seamless SVG background tiles] chrono | mission:log:2015:04:06:howto-hacking-seamless-svg-background-tiles [2015-09-08 21:00] (current) – [Basic PoC Demonstrator] chrono | ||
---|---|---|---|
Line 123: | Line 123: | ||
</ | </ | ||
- | Sweet. More that 50% reduction in this case. This can be easily automated or abstracted/ | + | Sweet. More than 50% reduction in this case. This can be easily automated or abstracted/ |
=== HTML/CSS Integration === | === HTML/CSS Integration === | ||
Line 230: | Line 230: | ||
==== Customize to suit color-space/ | ==== Customize to suit color-space/ | ||
- | After we've established that the principle is working and we can easily make changes | + | After we've established that the principle is working and we can easily make changes, it's time to go ahead and try a less eye-cancer prone color combination: |
=== SVG === | === SVG === | ||
Line 344: | Line 344: | ||
Perfect. From a users perspective it seems way more easy to change a couple of numbers in a text file (or even use variables for them) than to learn some counter-intuitive click path, walking through endless menus to make a small change, similar to the ease of OpenSCAD vs. old-school CAD breeds. | Perfect. From a users perspective it seems way more easy to change a couple of numbers in a text file (or even use variables for them) than to learn some counter-intuitive click path, walking through endless menus to make a small change, similar to the ease of OpenSCAD vs. old-school CAD breeds. | ||
- | But the real benefit is the prospect to be able to inject and alter any kind of UI element by backend or javascript, thus bringing development and design closer together, which seems similar to a DevOps role. There are still a couple of rules about design a developer-designer would have to learn and in the end nothing beats experience | + | But the real benefit is the prospect |
+ | |||
+ | Since we know now how to change the image by hand, we can simply | ||
===== Conclusion ===== | ===== Conclusion ===== | ||
Line 359: | Line 361: | ||
Let's say a website with 10 PNG UI elements is opened, the browser will get the html (request 1), interpret the html, load the stylesheet (request 2) and then go fetch the other assets (request 3-12) one by one. But each webserver has only a limited number of requests it can handle simultaneously. | Let's say a website with 10 PNG UI elements is opened, the browser will get the html (request 1), interpret the html, load the stylesheet (request 2) and then go fetch the other assets (request 3-12) one by one. But each webserver has only a limited number of requests it can handle simultaneously. | ||
- | When you could put your assets directly into the stylesheet, each connection would only perform 2 instead of 12 requests. As a result, the webserver will be able to handle more than twice as many visitors before maxing out. | + | When you could put your assets directly into the stylesheet, each connection would only perform 2 instead of 12 requests. As a result, the same webserver will be able to handle more than twice as many visitors before maxing out. |
- | Additionally, | + | Additionally, |
In short, minding these issues will help with: | In short, minding these issues will help with: |