This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes Practical Dojo Project: Dojo Code Cabinet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Practical Dojo Project: Dojo Code Cabinet" Watch "Practical Dojo Project: Dojo Code Cabinet" New topic
Author

Practical Dojo Project: Dojo Code Cabinet

Kuladip Yadav
Ranch Hand

Joined: Jul 30, 2008
Posts: 162

Hi Frank,
What is Dojo Code Cabinet ?
and what is it's significant in client side scripting ?
Frank Zammetti
Ranch Hand

Joined: Dec 16, 2004
Posts: 136
Most of the chapters in this book are practical examples of Dojo. They are full, complete, real, (hopefully) usable applications. Code Cabinet is one such application. This is an application where you can store snippets of code, categories, tag them with keywords, and search for them. It uses Gears to store the snippets client-side.


-- <br />Frank W. Zammetti<br />Founder and Chief Software Architect<br />Omnytex Technologies<br /><a href="http://www.omnytex.com" target="_blank" rel="nofollow">http://www.omnytex.com</a><br />AIM/Yahoo: fzammetti<br />MSN: fzammetti@hotmail.com<br />Author of "Practical Ajax Projects With Java Technology"<br /> (2006, Apress, ISBN 1-59059-695-1)<br />and "JavaScript, DOM Scripting and Ajax Projects"<br /> (2007, Apress, ISBN 1-59059-816-4)<br />Java Web Parts - <a href="http://javawebparts.sourceforge.net" target="_blank" rel="nofollow">http://javawebparts.sourceforge.net</a><br /> Supplying the wheel, so you don't have to reinvent it!
Kuladip Yadav
Ranch Hand

Joined: Jul 30, 2008
Posts: 162

hi Frank,

Is there source code available for practical examples ?

if Yes then please give me the link that will be helpful for me ?
Cipher Chain
Greenhorn

Joined: May 27, 2007
Posts: 1
Hi Frank,

Is DOJO the JavaScript framework of your choice? Can you discuss why you decided to write this book? I like to use Prototype with Scriptaculous because they are nice and light-weight.

I also read that your writing have more of a conversational/informal style. Would you say that your book is similar to Head First books?

Thanks!
Frank Zammetti
Ranch Hand

Joined: Dec 16, 2004
Posts: 136
@Kuldeep: Yes, the source code is available, and you should be able to find it on the Apress site linked off the book description.

@Noriaki: It's not as simple a question as you might think... if we're talking strictly about the Ajax (that is communication mechanism) between client and server, I choose DWR every time... but I'm a Java developer, so that's not the right answer for everyone.

After that, I tend to think best-of-breed... If I need a grid, I use Active Widgets. If I need a different widget, I see what library provides the one I like. Ditto for common/general-purpose functions. Lots of times the answer is in fact Dojo, sometimes it's not. I wouldn't recommend any one library at this point, aside from DWR (but that has a pretty narrow focus).
Kuladip Yadav
Ranch Hand

Joined: Jul 30, 2008
Posts: 162

@Kuldeep: Yes, the source code is available, and you should be able to find it on the Apress site linked off the book description.


Yes , I got the link .
It is very useful for me.

Thank you very much.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Practical Dojo Project: Dojo Code Cabinet