Hi,

Andreas Hartmann schrieb:
> Hi Sling devs,
> 
> the Dojo version currently shipped with Sling (1.1.0) is a bit outdated.
> For instance it lacks the shiny new JsonRestStore [1].

Actually trunk has 1.1.1, but this is a detail ;-)

> 
> From my experience it is critical to just update to a new version,
> though. I'm pretty sure some existing apps will break or at least look
> different.
> 
> Would it make sense to ship (i.e., download when Sling is installed)
> multiple versions of Dojo? ATM the bundle resources (dojo, dijit, dojox)
> are provided at root level. I guess we could just include the version in
> the path:
> 
> /dojo
>   /1.1.0
>     /dojo, /dijit, /dojox
>   /1.2.3
>     /dojo, /dijit, /dojox
> 
> Or should we use different OSGi bundles for this, so that the user can
> decide which one to install?

Given the size of the Dojo downloadables (we are including dojo-src
right now), I would prefer a single version per bundle (version).

Also, currently we provide /dojo, /dijit and /dojox in the root (which
is probably not the best of all choices).

I have no preference to whether we include the version number in the
path or not. On the one hand it is of course good to see the version
available in the path.

On the other hand, if we have this version in the path, the scripts have
to be adapted on every update. But then, multiple dojo bundles with
different bundle versions may be installed at the same time thus
providing multiple dojo versions at the same time, provided this is not
a problem from the dojo pov.

> 
> [1] https://issues.apache.org/jira/browse/SLING-535
> 
> BTW, I hope it's OK to use the term "we", refering to myself as a
> contributor in spe :)

Hey, Apache projects are all about "we", so this is perfectly OK. In
fact, "contribution" is not only about code, it is also about discussing
and providing hints, directions, documentation, etc.

So, welcome ;-)

Regards
Felix

> 
> -- Andreas
> 
> 

Reply via email to