Pro Additional support for loading HTML, CSS, JSON, and text
Loading is dealt with via
handlers that are themselves modules (dynamically loaded and cached). Qoopido.demand comes with support for its own module format built-in and offers
text. Due to
handlersbeing modules themselves it is really easy to write custom handlers.
Pro Can load new modules without being recompiled
It's the one of the few modules in this category that can handle IOC-style dependency injection. The others work well for apps that have knowable dependency lists at compile time, but this is one of the few that can load new modules without being recompiled.
Pro Optional cookie support to communicate module caching state to the server
Cookie support within Qoopido.demand can be enabled globally or per module. Whenever the localStorage cache for a module changes an accompanying cookie gets updated/deleted so the server can handle the clients module caching state and, e.g., inline modules as long as the client das not have them in localStorage.
Pro Supports loading of non-module scripts
Qoopido.demand offers loading of legacy scripts as if they were modules through
probe functions. These
probe functions are similiar to Require.js
shim, but where
shim allows only string parameters, Qoopido.demand's