Quantcast

Aspects in dojo

classic Classic list List threaded Threaded
4 messages Options
MM
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Aspects in dojo

MM
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Aspects in dojo

dylanks
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hopefully we can make some progress on this over the next two weekends
with the planned Dojo doc-a-thons.

Regards,
- -Dylan

on 3/1/12 1:31 PM (GMT-07:00) Marko Martin said the following:

> http://dojotoolkit.org/reference-guide/dojox/lang/aspect.html#dojox-lang-aspect
> Undocumented
>
> http://livedocs.dojotoolkit.org/dojox/lang/aspect
> Undocumented
>
> http://dojotoolkit.org/api/1.7/dojox/lang/aspect
> Basic info
>
> Is this the only material available (2008) ?
> http://lazutkin.com/blog/2008/may/18/aop-aspect-javascript-dojo/
>
> Anyone planning to patch the documentation ?
> Anyone using this with 1.7 async mode ?
>
> ________________________________________________________
> Dojotoolkit: http://dojotoolkit.org
> Reference Guide: http://dojotoolkit.org/reference-guide
> API Documentation: http://dojotoolkit.org/api
> Tutorials: http://dojotoolkit.org/documentation
>
> [hidden email]
> http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk9P4gIACgkQ1E2HcBNypM4bNgCcCCneiCde7SccbVCpIzMNvlYZ
7CIAn0rSWNo15wAsmsLiPaCV1rlCDns8
=9wd8
-----END PGP SIGNATURE-----
________________________________________________________
Dojotoolkit: http://dojotoolkit.org
Reference Guide: http://dojotoolkit.org/reference-guide
API Documentation: http://dojotoolkit.org/api
Tutorials: http://dojotoolkit.org/documentation

[hidden email]
http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest
Co-Founder, Dojo Toolkit
CEO, SitePen, Inc.  http://www.sitepen.com/
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Aspects in dojo

Kenneth G. Franqueiro
That said, if you're using 1.7, perhaps you want to take a look at
dojo/aspect?  http://dojotoolkit.org/reference-guide/dojo/aspect.html

--Ken

On 3/1/2012 3:54 PM, Dylan Schiemann wrote:

> Hopefully we can make some progress on this over the next two weekends
> with the planned Dojo doc-a-thons.
>
> Regards,
> -Dylan
>
> on 3/1/12 1:31 PM (GMT-07:00) Marko Martin said the following:
>> http://dojotoolkit.org/reference-guide/dojox/lang/aspect.html#dojox-lang-aspect
>> Undocumented
>
>> http://livedocs.dojotoolkit.org/dojox/lang/aspect
>> Undocumented
>
>> http://dojotoolkit.org/api/1.7/dojox/lang/aspect
>> Basic info
>
>> Is this the only material available (2008) ?
>> http://lazutkin.com/blog/2008/may/18/aop-aspect-javascript-dojo/
>
>> Anyone planning to patch the documentation ?
>> Anyone using this with 1.7 async mode ?
>
>> ________________________________________________________
>> Dojotoolkit: http://dojotoolkit.org
>> Reference Guide: http://dojotoolkit.org/reference-guide
>> API Documentation: http://dojotoolkit.org/api
>> Tutorials: http://dojotoolkit.org/documentation
>
>> [hidden email]
>> http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest
> ________________________________________________________
> Dojotoolkit: http://dojotoolkit.org
> Reference Guide: http://dojotoolkit.org/reference-guide
> API Documentation: http://dojotoolkit.org/api
> Tutorials: http://dojotoolkit.org/documentation
>
> [hidden email]
> http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest
________________________________________________________
Dojotoolkit: http://dojotoolkit.org
Reference Guide: http://dojotoolkit.org/reference-guide
API Documentation: http://dojotoolkit.org/api
Tutorials: http://dojotoolkit.org/documentation

[hidden email]
http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Aspects in dojo

shawn
Unfortunately, dojo/aspect is very primitive compared to the dojox.lang.aspect implementation.

For example, dojo/aspect lacks the useful advise() function and the bundled (but poorly documented) advice objects like tracer, memoizer, etc.

Having two entirely separate "aspect" modules within a single library is confusing. I can understand if the 1.7 version of aspects was written to be ultra lightweight and is used in core dojo, but shouldn't the richer functionality itself be modulized and reaquired() as needed, without overlapping core dojo/aspect?



Loading...