Re: Client-side Digester?

2005-12-07 Thread Frank W. Zammetti
Just a quick update, I've actually had some time yesterday and today to work on this idea, and I'm happy to say I've gotten a decent amount of work done. At present I have JSDigester (as I've taken to calling it) with three rules implemented (ObjectCreate, SetProperties and BeanPropertySetter)

Re: Client-side Digester?

2005-11-26 Thread Frank W. Zammetti
Martin Cooper wrote: On 11/26/05, *Frank W. Zammetti* <[EMAIL PROTECTED] > wrote: Craig McClanahan wrote: > If you're using JavaScript, why would you restrict yourself to that > (even if you *could* figure it out)? You can dynamically add fields

Re: Client-side Digester?

2005-11-26 Thread Martin Cooper
On 11/26/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: > > Craig McClanahan wrote: > > If you're using JavaScript, why would you restrict yourself to that > > (even if you *could* figure it out)? You can dynamically add fields to > > a JavaScript object, so an analog of the set properties rule

Re: Client-side Digester?

2005-11-26 Thread Frank W. Zammetti
Craig McClanahan wrote: If you're using JavaScript, why would you restrict yourself to that (even if you *could* figure it out)? You can dynamically add fields to a JavaScript object, so an analog of the set properties rule would just define a field on the object for every attribute in the XM

Re: Client-side Digester?

2005-11-25 Thread Craig McClanahan
On 11/25/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: > > Simon Kitching wrote: > > You may find difficulties trying to duplicate the general concept of > > Digester in javascript. I tried to do it in Ruby, and found that it > > doesn't fit terribly well with dynamically-typed languages. Quit

Re: Client-side Digester?

2005-11-25 Thread Frank W. Zammetti
Simon Kitching wrote: > You may find difficulties trying to duplicate the general concept of Digester in javascript. I tried to do it in Ruby, and found that it doesn't fit terribly well with dynamically-typed languages. Quite a lot of Digester depends upon the ability to perform reflection upon

Re: Client-side Digester?

2005-11-25 Thread Simon Kitching
Hi Frank, On Fri, 2005-11-25 at 10:58 -0500, Frank W. Zammetti wrote: > Has any thought been given to, or has any work been done already, to > creating a Javascript-based client-side version of Digester? I'm > starting on a new project soon where I'll potentially have to be doing a > fair amou

Re: Client-side Digester?

2005-11-25 Thread Frank W. Zammetti
Martin Cooper wrote: I was referring more to dojo.xml.Parse than to domUtil. I didn't mean to suggest that this would supplant a Digester in JavaScript, but it could provide a foundation for such a thing. Ah, I see. Yep, I can definitely see where it would make things easier. By the way

Re: Client-side Digester?

2005-11-25 Thread Martin Cooper
On 11/25/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: > > Martin Cooper wrote: > > Yes and no. I do see a place for JavaScript at the ASF, and I do believe > > we should have a forum - and a community - around that. > > Kind of a tangent from my original post, but is there any chance of > setti

Re: Client-side Digester?

2005-11-25 Thread Martin Cooper
On 11/25/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: > > I can see where the Dojo parsing methods *will* make life easier... but > in just quickly glancing at the dojo.xml.domUtil methods, it only looks > like slightly more convenience than doing it myself. I was referring more to dojo.xml.P

Re: Client-side Digester?

2005-11-25 Thread Frank W. Zammetti
Martin Cooper wrote: Yes and no. I do see a place for JavaScript at the ASF, and I do believe we should have a forum - and a community - around that. Kind of a tangent from my original post, but is there any chance of setting up a simple Javascript mailing list under the ASF? Or does it need

Re: Client-side Digester?

2005-11-25 Thread Frank W. Zammetti
I can see where the Dojo parsing methods *will* make life easier... but in just quickly glancing at the dojo.xml.domUtil methods, it only looks like slightly more convenience than doing it myself. By the way, is there more documentation online than the API outline (http://dojotoolkit.org/docs/

Re: Client-side Digester?

2005-11-25 Thread Martin Cooper
On 11/25/05, Noel J. Bergman <[EMAIL PROTECTED]> wrote: > > Frank W. Zammetti wrote: > > > Has any thought been given to, or has any work been done already, to > > creating a Javascript-based client-side version of Digester? I'm > > starting on a new project soon where I'll potentially have to be

Re: Client-side Digester?

2005-11-25 Thread Martin Cooper
On 11/25/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: > > Hope everyone (in the states at least!) is having a good Thanksgiving > weekend (and I hope, like me, that most of you have a 4-day extended > weekend!) > > Has any thought been given to, or has any work been done already, to > creating

RE: Client-side Digester?

2005-11-25 Thread Noel J. Bergman
Frank W. Zammetti wrote: > Has any thought been given to, or has any work been done already, to > creating a Javascript-based client-side version of Digester? I'm > starting on a new project soon where I'll potentially have to be doing a > fair amount of client-side XML parsing, and it occurs to