New Module: HTML::DragDrop

2004-06-24 Thread Becky Alcorn
We're looking at releasing our new module HTML::DragDrop.  Like the newly
released HTML::Tooltip::Javascript, this module uses a Javascript library
written by Walter Zorn http://www.walterzorn.com/dragdrop/dragdrop_e.htm.
The library provides an elegant way to implement dragable objects (images,
div tags etc) in your web page.  However, in this case we have extended the
library to allow 'containers' in which to catch the dragable objects.  The
perl module makes this very easy to use from a perl script, for example a
CGI script.

Following the advice we received for the HTML::Tooltip::Javascript module,
we think one of the following names would be appropriate for this module:

HTML::DragDrop
HTML::DragAndDrop
HTML::DragDrop::Javascript
HTML::DragAndDrop::Javascript

Which name is the most appropriate?  Or are there any other suggestions?

Regards
Becky



Re: New Module: HTML::DragDrop

2004-06-24 Thread Mark Stosberg
 HTML::DragDrop::Javascript
 HTML::DragAndDrop::Javascript

Is there a way to implement Drag and Drop with HTML /without/ using
JavaScript? I suspect not. Thus, I think it could be appropriate to drop 
'Javascript' from the name

 HTML::DragDrop
 HTML::DragAndDrop

Including 'And' in the name is how people usually refer to the
technique. However, for a module name I think it may be clear enough to 
exclude the word 'And' in favor of a shorter name that is 'good enough'.

Mark

http://www.summersault.com/


Re: New Module: HTML::DragDrop

2004-06-24 Thread A. Pagaltzis
* Mark Stosberg [EMAIL PROTECTED] [2004-06-24 15:46]:
  HTML::DragDrop::Javascript
  HTML::DragAndDrop::Javascript
 
 Is there a way to implement Drag and Drop with HTML /without/
 using JavaScript? I suspect not. Thus, I think it could be
 appropriate to drop 'Javascript' from the name

I'm thinking the same, though it then seems wrong to me.

Maybe HTML::Dynamic::DragDrop? Or maybe (the acronym soup for
dinner version) HTML::DHTML::DragDrop, which is a tad shorter.

 Including 'And' in the name is how people usually refer to the
 technique. However, for a module name I think it may be clear
 enough to exclude the word 'And' in favor of a shorter name
 that is 'good enough'.

Well, actually it's really drag'n'drop, but DragNDrop looks
more than a little ugly, DragnDrop looks awkward.

Heh, it *could* actually be ::Drag'N'Drop! (Which is the same as
Drag::N::Drop. C.f. the D'oh module.) But, that's not probably
a good idea for real code.

DragAndDrop looks and sounds a little awkward.. probably DragDrop
then.

Regards,
-- 
Aristotle
If you can't laugh at yourself, you don't take life seriously enough.


Re: New Module: HTML::DragDrop

2004-06-24 Thread SilvioCVdeAlmeida
Hello, you all.

I suspect that if drag_and_drop depends on javascript, so do tooltip.
That's of course in the HTML context. And also, I'm excluding from
tooltip the direct, obvious, plain img alt=

Please tell me if it isn't so.

Silvio


Mark Stosberg wrote:
 
  HTML::DragDrop::Javascript
  HTML::DragAndDrop::Javascript
 
 Is there a way to implement Drag and Drop with HTML /without/ using
 JavaScript? I suspect not. Thus, I think it could be appropriate to drop
 'Javascript' from the name
 
  HTML::DragDrop
  HTML::DragAndDrop
 
 Including 'And' in the name is how people usually refer to the
 technique. However, for a module name I think it may be clear enough to
 exclude the word 'And' in favor of a shorter name that is 'good enough'.
 
 Mark
 
 http://www.summersault.com/


Re: New Module: HTML::DragDrop

2004-06-24 Thread Mark Stosberg
On Thu, Jun 24, 2004 at 12:12:05PM -0300, SilvioCVdeAlmeida wrote:
 Hello, you all.
 
 I suspect that if drag_and_drop depends on javascript, so do tooltip.
 That's of course in the HTML context. And also, I'm excluding from
 tooltip the direct, obvious, plain img alt=
 
 Please tell me if it isn't so.

Tooltips can be implemented purely in CSS, as documented here:
http://www.madaboutstyle.com/tooltip2.html

I can't think of how drag'n'drop could be implemented without JavaScript.

Mark




Re: New Module: HTML::DragDrop

2004-06-24 Thread A. Pagaltzis
* Mark Stosberg [EMAIL PROTECTED] [2004-06-24 17:11]:
 I can't think of how drag'n'drop could be implemented without
 JavaScript.

Not possible.

Tooltips are, because using CSS you can define reactions to
hovering the mouse over something.

But you can't define reactions to clicks.

Regards,
-- 
Aristotle
If you can't laugh at yourself, you don't take life seriously enough.


Re: New Module: HTML::DragDrop

2004-06-24 Thread A. Pagaltzis
* Chris Josephes [EMAIL PROTECTED] [2004-06-24 19:50]:
 Also, I'm 90% sure there's no other method (besides JavaScript)
 to implement DD.  If some guy down the road manages to do it
 in VBScript, he can always register
 Html::DragAndDrop::VBScript.

It can certainly be done in VBScript. Anything that's possible in
one is possible in the other.

Maybe my proposition of ::DHTML:: was not so bad after all?

Regards,
-- 
Aristotle
If you can't laugh at yourself, you don't take life seriously enough.


Re: New Module: HTML::DragDrop

2004-06-24 Thread Dave Rolsky
On Fri, 25 Jun 2004, A. Pagaltzis wrote:

 * Chris Josephes [EMAIL PROTECTED] [2004-06-24 19:50]:
  Also, I'm 90% sure there's no other method (besides JavaScript)
  to implement DD.  If some guy down the road manages to do it
  in VBScript, he can always register
  Html::DragAndDrop::VBScript.

 It can certainly be done in VBScript. Anything that's possible in
 one is possible in the other.

 Maybe my proposition of ::DHTML:: was not so bad after all?

I think HTML::DHTML would be a great sub-namespace for this sort of stuff.


-dave

/*===
House Absolute Consulting
www.houseabsolute.com
===*/