RE: WDDX Replacement Attempt (was RE: Ajax and CFCs)

2005-08-21 Thread Jim Davis
> -Original Message-
> From: Roger B. [mailto:[EMAIL PROTECTED]
> Sent: Monday, August 22, 2005 12:56 AM
> To: CF-Talk
> Subject: Re: WDDX Replacement Attempt (was RE: Ajax and CFCs)
> > If you have some time I'd much appreciate you going over my XMLRPC
> > implementation to see if it measures up.
> 
> I went ahead and set up a little debugger for you. Just go here:
> 
> http://agincourtmedia.com/xmlrpc/testxmlrpc.cfm

Here's an odd one.  This packet:

prop1
val1prop2val2<
/string>1

Through your parser produces two arrays (an outer one with one element and
an inner one with the two specified elements).

That don't seem right...

I'm making the assumption (probably a good one) that the problem is on my
end... but I'm stumped as to what it is.

Any ideas?  What'd I do wrong?

Thanks,

Jim Davis






~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:215882
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: WDDX Replacement Attempt (was RE: Ajax and CFCs)

2005-08-21 Thread Jim Davis
> -Original Message-
> From: Roger B. [mailto:[EMAIL PROTECTED]
> Sent: Monday, August 22, 2005 12:56 AM
> To: CF-Talk
> Subject: Re: WDDX Replacement Attempt (was RE: Ajax and CFCs)
> 
> > But
> > although the system does seem to be well supported it also seems to be
> > poorly documented.  ;^)
> 
> Jim: That's a matter of perspective. Some people love Dave Winer's
> approach to spec-writing, and some people absolutely *loathe* it. I'm
> gonna guess you're in the latter group. :D

I don't feel that strongly about it either way.  ;^)

It just seems like some pretty big things are missing from the documentation
which could easily result in incompatible parsers...

> I went ahead and set up a little debugger for you. Just go here:
> 
> http://agincourtmedia.com/xmlrpc/testxmlrpc.cfm
> 
> and enter any of your serialized chunks into the form. It will wrap
> whatever you input in a method/param, deserialize it, and CFDUMP the
> results.
>
> I don't claim that my (de)serializer is any kind of benchmark, but
> it'll at least let you know if you're heading down the right path.

Very Cool - thanks!

With some quick passes the serializer seems to work with it.

I've just finished the JS deserializer (well - at least the first draft -
it's not tested yet).  Feel like throwing me some test packets?  ;^)

It's not fully tested but I've now got a single JavaScript object that will
serialize and deserialize from JSON, WDDX, XMLRPC (data only) and my own
YODEL format.

I'm sure it's buggy as hell... but everything works with simple stuff so
far.

I'm too beat right now but I'll post it for download tomorrow.

Jim Davis




~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:215881
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Control USB Camera through COLDFUSION

2005-08-21 Thread Dick Applebaum
There are a couple of ways to do this--- many think them oddball, but  
the do the job.

1) You can run CF on the client desktop (CFEverywhere) where you have  
complete access to the Client (programs, devices, file system, etc)  
thru cfexecute.

2) You can run a Dashboard widget on OS X Tiger (programmed in HTML/ 
Javascript with  an interface to the web and to the underlying OS  
applications, devices file system)

In the latter case, there are several widgets (free) that already do  
this-- all you need do is supply the VideoCam.

I just checked and there were 50 webcam widgets at :

http://www.apple.com/downloads/dashboard/

Since these are written in JavaScript, the source is available,

I am currently watching SoftCam which shows a pic of a New York  
intersection, updated every 5  sec

Dick

On Aug 21, 2005, at 9:20 PM, Jim Davis wrote:

>> -Original Message-
>> From: ekcien [mailto:[EMAIL PROTECTED]
>> Sent: Monday, August 22, 2005 12:02 AM
>> To: CF-Talk
>> Subject: Control USB Camera through COLDFUSION
>>
>> We want to capture a 30 seconds video from a PC  client and upload  
>> the
>> video
>> file to our database:
>>
>> Can we control the video/camera port to be able to start capture, end
>> capture, save file in COLDFUSION.
>>
>
> You could finagle such a thing on the _server_ (where ColdFusion is  
> running)
> but not on the _client_ - ColdFusion isn't there to do anything!
>
> To do this on the client you would need some thing "active" and  
> trusted: a
> Signed Java Applet, an ActiveX control or a Flash movie that was given
> permission to use the camera (the latter is probably the simplest  
> option
> overall unless you find something off the shelf).
>
> There are other options... but those three cover the broadest range of
> possibility.
>
> Jim Davis


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:215880
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: WDDX Replacement Attempt (was RE: Ajax and CFCs)

2005-08-21 Thread Roger B.
> But
> although the system does seem to be well supported it also seems to be
> poorly documented.  ;^)

Jim: That's a matter of perspective. Some people love Dave Winer's
approach to spec-writing, and some people absolutely *loathe* it. I'm
gonna guess you're in the latter group. :D

> - Convert a null into an empty value: .
> - Convert a null into an empty string: .
> - Throw an error.

I can't say conclusively, but I would opt for the first or third choice. 

If you can afford the ambiguity, the first is the best... most
implementations (including mine) will interpret an empty  as
a zero-length string, but at least it leaves open the possibility for
other implementations.

> Any idea about what's "right"?

Technically, XML-RPC dates have no timezone. Apps are expected to set
timezones in another method, or within another param in the current
method.

In practice, my (de)serializer respects the above... but the instant
it returns the value to my main code, I promptly assume that it is UTC
and go from there. :-)

> +) String formatting seems... odd.  The spec claims that only ampersands and
> less-than signs should be escaped - is this right?  Not even greater-than
> signs?  Nothing for control characters?

Basically, it's saying "do what you would normally do to escape any
off-limits XML characters". Technically, greater-than signs don't need
to be escaped as long as you escape any less-thans, but most of us do
it anyway, just to be safe.

Probably the easiest thing to do is just wrap strings in ,
although there may be an oddball deserializer out there that will
barf.

> If you have some time I'd much appreciate you going over my XMLRPC
> implementation to see if it measures up.

I went ahead and set up a little debugger for you. Just go here:

http://agincourtmedia.com/xmlrpc/testxmlrpc.cfm

and enter any of your serialized chunks into the form. It will wrap
whatever you input in a method/param, deserialize it, and CFDUMP the
results.

I don't claim that my (de)serializer is any kind of benchmark, but
it'll at least let you know if you're heading down the right path.

--
Roger Benningfield
JournURL
http://admin.support.journurl.com/
http://admin.mxblogspace.journurl.com/

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:215879
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Control USB Camera through COLDFUSION

2005-08-21 Thread Jim Davis
> -Original Message-
> From: ekcien [mailto:[EMAIL PROTECTED]
> Sent: Monday, August 22, 2005 12:02 AM
> To: CF-Talk
> Subject: Control USB Camera through COLDFUSION
> 
> We want to capture a 30 seconds video from a PC  client and upload the
> video
> file to our database:
> 
> Can we control the video/camera port to be able to start capture, end
> capture, save file in COLDFUSION.

You could finagle such a thing on the _server_ (where ColdFusion is running)
but not on the _client_ - ColdFusion isn't there to do anything!

To do this on the client you would need some thing "active" and trusted: a
Signed Java Applet, an ActiveX control or a Flash movie that was given
permission to use the camera (the latter is probably the simplest option
overall unless you find something off the shelf).

There are other options... but those three cover the broadest range of
possibility.

Jim Davis




~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:215878
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: WDDX Replacement Attempt (was RE: Ajax and CFCs)

2005-08-21 Thread Roger B.
> Mostly because I'd never heard of it until you mentioned it.  Where have you
> been for the past two weeks while I've been ranting about not having
> something like this.  ;^)

Jim: I only skim the list, in general. I'm surprised I didn't notice
the conversation, though... I have watchlists set up for "XML" and
"RSS" for CFTalk, since those are the two areas where I'm best
positioned to be helpful. I have no idea why they failed in this
instance.

> It does look good - it's just odd that in my posting/searching I never came
> across it.

You were probably one search term away... that's how it always works
out for me. Although if it helps, I had an article/CFC published in
DRK4 that addresses XML-RPC in CF.

--
Roger Benningfield
JournURL
http://admin.support.journurl.com/
http://admin.mxblogspace.journurl.com/

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:215877
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Control USB Camera through COLDFUSION

2005-08-21 Thread ekcien
We want to capture a 30 seconds video from a PC  client and upload the video 
file to our database:

Can we control the video/camera port to be able to start capture, end 
capture, save file in COLDFUSION.

rgrd
ekcien 


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:215876
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: SPAM-LOW: Re: CFEclipse 1.2 - How do you wrap text?

2005-08-21 Thread Stéphane_Bergeron
Sean Corfield wrote:therwise
> 
> And the real core problem is that it would impact line
> numbering and code collapse so you might get word wrap but no
> line numbers and no code collapse (i.e., if it happens at
> all, it may be an option that disables those other two features).

It won't impact line numbering if it's implemented the same way as in
Dreamweaver and HomeSite which both have a "soft wrap" option. If a wrapped
line of code takes up 3 lines for example, only the first "line" shows a
line number in either HomeSite or DW. Code collapse also works fine with
line wrap on in both HomeSite and in the new DW 8.

Stéphane Bergeron



~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:215875
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CFEclipse 1.2 - How do you wrap text?

2005-08-21 Thread Sean Corfield
>This is correct... we discussed the usefulness of the line-wrapping  
>feature and basically it come down that most coders didnt use it  
>(personally I turn it off in most editors)
>
>Being a semi-democratic plugin, it isn't a feature that will appear  
>until the great masses tell us otherwise

And the real core problem is that it would impact line numbering and code 
collapse so you might get word wrap but no line numbers and no code collapse 
(i.e., if it happens at all, it may be an option that disables those other two 
features).

Sean

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:215874
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CFEclipse 1.2 - How do you wrap text?

2005-08-21 Thread Mark Drew
This is correct... we discussed the usefulness of the line-wrapping  
feature and basically it come down that most coders didnt use it  
(personally I turn it off in most editors)

Being a semi-democratic plugin, it isn't a feature that will appear  
until the great masses tell us otherwise

Of course... if someone REALLY wants it they could go and implement  
an extension or code it and send me the path :)

MD

On 20 Aug 2005, at 08:29, James Holmes wrote:

> When it was discussed on the CFE lists, a number of people protested
> against line wrapping (myself included) - hence the low priority.
> Spike et-al can correct me if I am wrong...
>
> 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:215873
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Coldfusion7 CFDocument error

2005-08-21 Thread dcooper
Didn't receive anything...if someone can send me an example, we can take a 
look.  

I need either the full stack trace (that was one line) or an example or there's 
not much we can do!

Damon

>>> 'An Error of type "com.lowagie.text.ExceptionConverter" has occured'
>
>uh oh...iText went boom ;-)
>
>Bryan Stevenson B.Comm.
>VP & Director of E-Commerce Development
>Electric Edge Systems Group Inc.
>phone: 250.480.0642
>fax: 250.480.1264
>cell: 250.920.8830
>e-mail: [EMAIL PROTECTED]
>web: www.electricedgesystems.com

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:215872
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: SOT: Ajax blog entry

2005-08-21 Thread Michael Dinowitz
Judith just posted a review of it here:
http://www.fusionauthority.com/Blog_watch/Article.cfm/ArticleID:4511

>Ran across this and thought I'd share. Has info and links to ajax resources.
>
>http://hinchcliffe.org/archive/2005/08/18/1675.aspx
>
>Marty

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:215871
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54