[Sugar-devel] Using the DojoToolkit in a Sugar WebService ?

Manuel Quiñones manuq at laptop.org
Thu Oct 3 08:06:26 EDT 2013


2013/10/3 laurent bernabe <laurent.bernabe at gmail.com>:
>
>
>
> 2013/10/3 Manuel Quiñones <manuq at laptop.org>
>>
>>
>> OK, I suggest you give a try to Dojo and come back later to tell us
>> how it went.  Your investigation can be valuable for future activity
>> developers.
>
>
> The only drawback, apart to the one you pointed to me, is the size of Dojo
> when installing with volo (Maybe, I can download only the core part. Is it
> possible with Volo ?) : around  3Mb. And I don't think that is the ideal for
> a bundle XO.

Yeah Dojo is big.

>> The only thing you'll have to manage is how to use the Dojo loader
>> together with the RequireJS loader.  We use RequireJS for AMD.  But
>> according to this link, it is possible, and the bug mentioned is fixed
>> http://requirejs.org/docs/dojo.html
>>
>
> Thanks. I also think that I can try downloading 1.7 version of Dojo. Is it
> possible with Volo ?

In volo you can do:

volo add dojo/dojo/~1.7

But the previously mentioned bug was fixed in later versions of Dojo.
The ticket say they backported it to 1.8

https://bugs.dojotoolkit.org/ticket/15616


> If I can "solve" these issues, then I may be ready in order to use Dojo.
> Otherwise ... I must learn plain Javascript POO or find another POO
> framework.
>
> Regards.



-- 
.. manuq ..


More information about the Sugar-devel mailing list