Git Product home page Git Product logo

includecombiner's People

Contributors

petemounce avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

includecombiner's Issues

Create ConfigurationSection

.Configure:

  • path at which each type of include gets written out at
  • minification options per include-type
  • cache-for default on IncludeCombinerResult
  • whether or not to minify in the first place?
  • whether to pick gzip or deflate when the browser allows a choice (Firefox)

If view changes includes, need to react

If the view changes the order of the includes that it registers, or which includes, need to invalidate include-combination(s). Tie them to URL...?

Probably simpler and ok to just clear the include-combination storage if we enter debug mode.

Parse CSS files for url() to correct for paths

Current limitation - CSS files must at the same depth as that of the include-combiner action call, because url() within CSS files should be relative to the CSS file.

Don't want to force absolute paths in CSS files.
Don't want to break background-images within CSS files, if they come from a different depth.
Don't want to have one CSS file for those parts that use url() references.

So, parse the CSS files when they're registered and change the url() references to the correct depth.

Distinguish between debug-mode and release-mode via querystring and/or cookie

Since we want to do different things with the rendering in debug-mode, we need to know when we're in debug-mode.

When we see debug=1 in the querystring, we're in debug mode. Also, since we may want to navigate to a page while in debug mode, and have that also be in debug mode, set a cookie (instead of modifying all the links on the page, for example).

Minify IncludeCombinations

Run YUICompressor over the IncludeCombination's content to strip whitespace, etc.

Note - will need to figure out how to handle relative URLs in CSS files, since they are relative to the CSS file itself. So when reading them, will need to rebase them.

Allow routes to be configured then registered

It would be useful to some to set up routes according to where they want the includecontroller to sit. Allow one configuration-element per route, and provide an initialize-it-all mechanism.

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.