|
From: Greg W. <gr...@we...> - 2007-01-31 22:16:42
|
Jon, I had already checked in the maven stuff, but am holding off on checking in the dojo svn:externals. The stuff that is checked in appears to be working at least for FF. There is a chatroom demo that is programmed against the proposed comms API. There are two configurations/providers of the API, one for straight XHR and the other for cometd. I think it is a reasonable demonstration how the details of transport can be well separated from the use of a comms API.... but obviously more examples will be needed to really test the approach. The XHR implementation works against a servlet that takes form encoded data and produces XML. The cometd version uses json in both directions. The configuration of the connection factories includes encodePayload and decodePayload methods that can work around these sort of differences. One concern I have is how many utility methods we provide to map between formats. I have provided some conversion methods... but they are mickey mouse. It could be a lot of code to provide an exhaustive set of converters. Thus I think it best if converter utilities are provided by individual implementations - as they may already have much of the code needed Anyway, I have to move house back to Australia over the next week, so I wont have much time to work on this or respond.... but I'll try to stay in touch. cheers Jon Ferraiolo wrote: > Hi Greg, > I'm new to so many things in this world of Ajax, and now I see there is > this thing called Maven. I will plow through the intro materials today > to see if I see anything wrong with your approach. My inclination now is > to advocate flexibility, *particularly* for things in a sandbox area, > but I'll respond to the list with an opinion within a day (hopefully). > > Jon > > Jon Ferraiolo <jf...@us...> > Web Architect, Emerging Technologies > IBM, Menlo Park, CA > Mobile: +1-650-926-5865 > > Inactive hide details for Greg Wilkins <gr...@we...>Greg Wilkins > <gr...@we...> > > > *Greg Wilkins <gr...@we...>* > Sent by: > ope...@li... > > > 01/31/2007 04:28 AM > > > > To > > ope...@li... > > cc > > > Subject > > [OpenAjax-Contributors] maven and externals projects > > > > > > Hi all, > > I'm currently working in the sandbox for the proposed hub communications > > https://svn.sourceforge.net/svnroot/openajaxallianc/hub/trunk/sandbox/communications > > I have used maven2 as the build tool as it allows me to pull in dependencies > without checking them into svn. once things are working, I will break the > module up into source and test/demo code and then work on an ant build > for it. > > But for the demo, I would also like to use dojo, so I can show the > comms working with direct XHR or with cometd. > > Is it OK to checkin an svn:externals pointing to the dojo repository. > This will not put dojo into the openajax svn, but will check it out when > the oaa svn is checked out. I can see that some would think this is > sub-optimal from a clarity and marketing point of view. So I am open to > suggestions for alternatives. > > But for now, is it OK to check that in as for expediency? > > cheers > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > <http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV> > _______________________________________________ > Openajaxallianc-contributors mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/openajaxallianc-contributors > |