Re: Click and Drag Functionality in Web Apps with Python

2006-10-13 Thread Diez B. Roggisch
Wijaya Edward schrieb:
 Hi,
  
 Some recent webapps like Kiko http://www.kiko.com/ , Google's gadget 
 http://www.google.com/ig/directory?hl=en , and spreadsheets 
 http://spreadsheets.google.com  to name a few, 
 have this functionality. 
 
 I wonder how can this funcitonalities be implemented in Python. 
 Do you guys have any experience with it?
 Any Python module that support that?

There is mochikit, a javascript library that makes coding in javascript 
suck less.

And there is the pypy javascript backend.

But real python - no.

diez
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Click and Drag Functionality in Web Apps with Python

2006-10-13 Thread Fredrik Lundh
Diez B. Roggisch wrote:

 There is mochikit, a javascript library that makes coding in javascript
 suck less.

and which is written by an experienced Python programmer, so it also
makes your JavaScript look and feel a little more Pythonic.

(not that JavaScript itself is that unpythonic, really, but some of the API:s
suck pretty badly).

/F 



-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Click and Drag Functionality in Web Apps with Python

2006-10-13 Thread Diez B. Roggisch
Fredrik Lundh schrieb:
 Diez B. Roggisch wrote:
 
 There is mochikit, a javascript library that makes coding in javascript
 suck less.
 
 and which is written by an experienced Python programmer, so it also
 makes your JavaScript look and feel a little more Pythonic.
 
 (not that JavaScript itself is that unpythonic, really, but some of the API:s
 suck pretty badly).


I pretty much like the language, yes. But the environment it is deployed 
in suck pretty hard, especially when they stem from a north-western US 
state.

diez
-- 
http://mail.python.org/mailman/listinfo/python-list


Click and Drag Functionality in Web Apps with Python

2006-10-12 Thread Wijaya Edward

Hi,
 
Some recent webapps like Kiko http://www.kiko.com/ , Google's gadget 
http://www.google.com/ig/directory?hl=en , and spreadsheets 
http://spreadsheets.google.com  to name a few, 
have this functionality. 

I wonder how can this funcitonalities be implemented in Python. 
Do you guys have any experience with it?
Any Python module that support that?
 
Regards,
Edward WIJAYA
SINGAPOE

 Institute For Infocomm Research - Disclaimer -
This email is confidential and may be privileged.  If you are not the intended 
recipient, please delete it and notify us immediately. Please do not copy or 
use it for any purpose, or disclose its contents to any other person. Thank you.

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Click and Drag Functionality in Web Apps with Python

2006-10-12 Thread Steve Holden
Wijaya Edward wrote:
 Hi,
  
 Some recent webapps like Kiko http://www.kiko.com/ , Google's gadget 
 http://www.google.com/ig/directory?hl=en , and spreadsheets 
 http://spreadsheets.google.com  to name a few, 
 have this functionality. 
 
 I wonder how can this funcitonalities be implemented in Python. 
 Do you guys have any experience with it?
 Any Python module that support that?
  
 Regards,
 Edward WIJAYA
 SINGAPOE
 

In order for your request to make sense Python would have to be 
available as a browser programming language. This has been done (by Mark 
Hammond as part of the win32all extensions), but for security reasons it 
is no longer installed by default, and it's not sufficiently widespread 
to make such solutions really worthwhile.

If you are talking about web servers *delivering* such interactive code, 
then there is no inherent difference between Python and other web 
servers - they just deliver the interactive code to the browser. Bob 
Ippolito's MochiKit is quite Pythonic in nature.

regards
  Steve
-- 
Steve Holden   +44 150 684 7255  +1 800 494 3119
Holden Web LLC/Ltd  http://www.holdenweb.com
Skype: holdenweb   http://holdenweb.blogspot.com
Recent Ramblings http://del.icio.us/steve.holden

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Click and Drag Functionality in Web Apps with Python

2006-10-12 Thread Bernard
I'd say they use javascript to make a click and drag function.
Like this jquery interface example:
http://interface.eyecon.ro/demos/drag.html

So basically, you could use a python web framework like
Turbogears(http://www.turbogears.org/) or
Django(http://www.djangoproject.com/) with javascript to create such
effects.

Bernard

Wijaya Edward wrote:
 Hi,

 Some recent webapps like Kiko http://www.kiko.com/ , Google's gadget 
 http://www.google.com/ig/directory?hl=en , and spreadsheets 
 http://spreadsheets.google.com  to name a few,
 have this functionality.

 I wonder how can this funcitonalities be implemented in Python.
 Do you guys have any experience with it?
 Any Python module that support that?

 Regards,
 Edward WIJAYA
 SINGAPOE

  Institute For Infocomm Research - Disclaimer -
 This email is confidential and may be privileged.  If you are not the 
 intended recipient, please delete it and notify us immediately. Please do not 
 copy or use it for any purpose, or disclose its contents to any other person. 
 Thank you.
 

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Click and Drag Functionality in Web Apps with Python

2006-10-12 Thread Bruno Desthuilliers
Wijaya Edward wrote:
 Hi,
  
 Some recent webapps like Kiko http://www.kiko.com/ , Google's gadget 
 http://www.google.com/ig/directory?hl=en , and spreadsheets 
 http://spreadsheets.google.com  to name a few, 
 have this functionality. 
 
 I wonder how can this funcitonalities be implemented in Python. 

I wonder too !-)

Seriously: this is done with Javascript, not Python. But if you're
looking for a Python web framework making such things easy, then Pylons
is for you:
http://pylonshq.com/docs/0.9.2/quick_wiki.html#delete
http://pylonshq.com/project/pylonshq/wiki/AjaxGettingStarted

HTH

-- 
bruno desthuilliers
python -c print '@'.join(['.'.join([w[::-1] for w in p.split('.')]) for
p in '[EMAIL PROTECTED]'.split('@')])
-- 
http://mail.python.org/mailman/listinfo/python-list