On Tue, Feb 23, 2010 at 1:15 PM, Aaron Newton <[email protected]> wrote:
> My only issue with this approach is that it's a client-side approach. I
> first built Depender to be a client-side only approach, then built a server
> side approach. The differences in performance are huge; like 50x. If
> MooTools fetched each component it needed on demand it would be very slow.
> That's why Depender is a server side app with a client-side client.

As Olmo mentioned, this can be optimized via a build step, once you
are done developing, via a tool that is available as part of
RequireJS:
http://requirejs.org/docs/optimization.html

And I am more than happy to add an adapter to RequireJS that forwards
the array of dependencies to a server process if that helps the
scenarios when a server is available. If you can give me pointers to
the format you need on the server, I can work something out.

James

Reply via email to