Re: Fwd: Dojo Experience in IE 8.0/ 7.0

View: New views
2 Messages — Rating Filter:   Alert me  

Re: Fwd: Dojo Experience in IE 8.0/ 7.0

by Eugene Lazutkin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

While we strive to level out the playing field, it is not always
possible. Examples would include performance differences, available
APIs, event processing algorithms (or their absence), and so on.

Instead of banning certain not-fully-portable features, we try to
provide a constructive compromise, and explain trade-offs in the
documentation. It is up to a developer to ignore them and keep his or
her code fully portable, or to use them and provide enhanced services on
certain platforms. Let me stress it: it is not our call, we do not force
anybody one way or another.

Specifically dojox.gfx documents differences in its main document:
http://docs.dojocampus.org/dojox/gfx --- at this moment IE8 is not
documented as fully supported because it is still in the experimental
phase due to various "improvements" introduced by MS. All possible
deviations are usually described in "implementation notes" located in
relevant sections of the doc.

For example, your use of dojo.connect() directly contradicts the docs:

* getEventSource() is not documented.

* documented shape.connect() and shape.disconnect() should be used for a
portable event processing. These methods work for Silverlight as well.

Please consult the documentation to see if it answers some of your
questions. Another useful source of code snippets and ideas would be
tests and demos.

In general the rule is simple: the more you follow the documentation,
the more portable your code is. This is the only way to ensure that it
will work with existing and future renderers.

I hope it helps, if not, let me know,

Eugene Lazutkin
Dojo Toolkit, Committer
http://lazutkin.com/

PS: Can you post your further questions under subject with "gfx" in it?
I ignored this thread because first emails were outside of my core
competency. I didn't realized that it was "diverted" until now.


On 08/12/2009 01:51 AM, Sudha Srinivasan wrote:

> This implies that one has to know the limitations of different renderers
> in order to code correctly using dojo. That seems quite the opposite of
> what any dojo package is supposed to provide - abstraction of browser
> differences. This is what surprised me when I expected everything to
> work perfectly fine on any browser. As far as silverlight is concerned,
> I have to code using only the common features between all renderers to
> get everything to work correctly. Is my understanding correct?
>
> Thanks
> Sudha
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> FAQ: http://dojotoolkit.org/support/faq
> Book: http://dojotoolkit.org/docs/book
> Forums: http://dojotoolkit.org/forum
> Dojo-interest@...
> http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest

_______________________________________________
FAQ: http://dojotoolkit.org/support/faq
Book: http://dojotoolkit.org/docs/book
Forums: http://dojotoolkit.org/forum
Dojo-interest@...
http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest

Re: Fwd: Dojo Experience in IE 8.0/ 7.0

by Sudha Srinivasan-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Eugene,

Thanks for the clarification. I will try to follow the documentation
more and make sure I use gfx in my subject.

Thanks again for all responses.

Cheers
Sudha


_______________________________________________
FAQ: http://dojotoolkit.org/support/faq
Book: http://dojotoolkit.org/docs/book
Forums: http://dojotoolkit.org/forum
Dojo-interest@...
http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest