aspose file tools*
The moose likes Struts and the fly likes Dojo plugin is deprecated  The Dojo plugin will be deprecated on Struts 2.1 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Dojo plugin is deprecated  The Dojo plugin will be deprecated on Struts 2.1" Watch "Dojo plugin is deprecated  The Dojo plugin will be deprecated on Struts 2.1" New topic
Author

Dojo plugin is deprecated The Dojo plugin will be deprecated on Struts 2.1

Vamshi Jampala
Ranch Hand

Joined: Feb 23, 2008
Posts: 40
Dojo plugin is deprecated The Dojo plugin will be deprecated on Struts 2.1

What does this mean ? Are they going for jQuery plugin or they are moving dojo jar to struts2 core.
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

It means that nobody was willing to support the Dojo plugin, for a variety of reasons (mostly the very old version of Dojo it used).

While the new jQuery plugin will be supported, I still believe that for all but the simplest usecases it's better to write JavaScript as JavaScript, and not wrap it up in tag libraries.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61654
    
  67

David Newton wrote:it's better to write JavaScript as JavaScript, and not wrap it up in tag libraries.

If what David means is that it's unnecessary to wrap JavaScript in obfuscating tags, then I heartily agree. If he means that the use of a JavaScript library like jQuery is unnecessary, not so much.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Yeah, I'm referring to the wrapping. Writing "naked" JavaScript in this day and age is wholly unnecessary. (And come on, you "know" me better than that ;)

I think tags are fine for really simple usecases ("click this link and something shows up over there"), but for much beyond that, it's really, really debatable. Even for the simple usecase it depends on JavaScript philosophy (degradation, when JS is loaded, etc.) and the tag library in question.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61654
    
  67

David Newton wrote:(And come on, you "know" me better than that ;)

Absolutely! I just wanted to make sure no one could interpret your intention the wrong way!

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Dojo plugin is deprecated The Dojo plugin will be deprecated on Struts 2.1