On Mon, June 19, 2006 1:11 pm, Martin Cooper wrote: >> Comparing DWR and Dojo, I come away with this thought: DWR has a model >> for >> doing what is essential RPC, Dojo doesn't (it has the capability of >> course, but not the API in essence). > > > I'm not sure what you mean by this. Have you looked at the > dojo.rpcpackage? There's RpcService, JsonService and YahooService, for > starters.
-- Tangent alert! Tangent alert! -- I hadn't looked at that, but that's due to a common failing with Dojo IMO: documentation needs quite a bit of work. For instance, going here: http://manual.dojotoolkit.org/rpc.html ...which is a reasonable place for a developer to wind up starting from the Dojo homepage, doesn't even mention RpcService or YahooService, as far as I can see. And in looking at JsonService, there isn't really enough info IMO to be too useful.. i.e., what's a jsdl file and how do I create it? (is it Jave for SDL or Job Submission Description Language, both of which come up in Google?) What goes on the server? What are the first two parameters of doFoo()? And so on. I'm not picking on Dojo here... There's a ton of good stuff in Dojo, no question about that, but my point is that it's often very difficult to get a feel for it because there isn't a lot of docs, good examples, etc. It *IS* getting better though... looking at it now there's more there than the last time I looked (maybe two months ago), so it's nice to see it moving in the right direction... plus, with Sun contributing now, and mentioning documentation specifically as a goal, there's certainly reason for optimism. This has been my concern with Dojo ever since I discovered it... I have little doubt it's going to be fantastic down the road, but right now I have a hard time recommending it when asked about it. Tangent over :) Looking at the RPC stuff now, from what I can tell, it definitely looks similar to DWR... I can't tell though, does it cover the server-side as well? Or does the developer have to write all the plumbing that DWR provides (i.e., converters, security roles, etc)? Does it provide COMET, as DWR now does? (which is an interesting question in and of itself - how to get that capability integrated into SAF2, if it even makes sense to do so?) > (Going OT, I know, but personally, I think both toolkits are comparable on > the client side.) Only a little OT... I mean, all of this should come into play deciding what to do in SAF2 I think :) In terms of how comparable they are, from what you've pointed me at here, yes, on the client they look similar enough... if Dojo doesn't provide for the server-side of the equation as DWR does though, I think the comparison falls apart because DWR is the complete package, both client and server-sides of the equation. I'm speaking only of the notion of RPC here... Dojo clearly offers more than DWR does across-the-board, but as near as I can tell, DWR offers a more full solution in the one area it focuses on. > Martin Cooper Frank --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
