By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,034 Members | 1,325 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,034 IT Pros & Developers. It's quick & easy.

Click and Drag Functionality in Web Apps with Python

P: n/a

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.
--------------------------------------------------------
Oct 12 '06 #1
Share this Question
Share on Google+
5 Replies


P: n/a
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.
--------------------------------------------------------
Oct 12 '06 #2

P: n/a
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...GettingStarted

HTH

--
bruno desthuilliers
python -c "print '@'.join(['.'.join([w[::-1] for w in p.split('.')]) for
p in 'o****@xiludom.gro'.split('@')])"
Oct 12 '06 #3

P: n/a
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
Oct 13 '06 #4

P: n/a
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>

Oct 13 '06 #5

P: n/a
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
Oct 13 '06 #6

This discussion thread is closed

Replies have been disabled for this discussion.