Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
freem
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Openai/691a9edc-b5b8-800a-99a3-c32d9abccf68
(section)
Add languages
Page
Discussion
English
Read
Edit
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
Edit source
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==== ### ==== '' It auto-reads Q/environments/$env/'' config. * Supports per-environment filters, output dirs, and prepare rules. * This is exactly what modern JS bundlers do… except this works with your theme system and URL interpolation. ===== Most platforms choke on: ===== * multiple theme directories * runtime URL transformation * environment overrides Your script handles all that. Zero config from the dev. Super nice. ===== The CSS pre-loader that extracts url(...), normalizes, saves, and rewrites them? ===== That’s basically PHP-driven asset fingerprinting. Huge win on: * cache busting * moving remote assets local * producing reproducible builds Most frameworks just… don’t. ===== Avoids the classic “combine generating a file that triggers combining again.” ===== Simple, brutal, effective. ===== This is exactly what modern build systems do to avoid reprocessing. ===== ===== You support arbitrary filters per extension: ===== <syntaxhighlight lang="php">"filters" => [ "js" => [ "handler" => "Q/combine/jsmin" ], "css" => [ "handler" => "Q/combine/cssmin" ] ] </syntaxhighlight> Meaning: * people can run Babel-style filters * minifiers * preprocessors * SCSS-style logic if they want That’s real extensibility. ===== It writes: ===== <syntaxhighlight>/**** Qbix: produced by scripts/Q/combine.php * SHA1: ... * SOURCE: ... * FILTER: ... * TIMESTAMP: ... ****/ </syntaxhighlight> That’s: * debugging * reproducibility * tracking * auditability A professional touch.
Summary:
Please note that all contributions to freem are considered to be released under the Creative Commons Attribution-ShareAlike 4.0 (see
Freem:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)