473,395 Members | 1,343 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Click and Drag Functionality in Web Apps with Python


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
5 1586
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
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
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Paul | last post by:
Hi, Does anyone know how I would be able to drag a single file onto my applications icon and have it run some predefined code. What I want is to drop an .mp3 file onto my applications icon...
5
by: Someone | last post by:
I know many don't like having right click disabled, however this is a unique case where clients using viewing this particular site will not be world wide so it's not going to affect too many...
7
by: Madhusudan Singh | last post by:
Is there such a thing for python ? Like Qt Designer for instance ?
10
by: Michi | last post by:
Hi Does anybody know how I can display own icons for drag & drop ? thx
2
by: ViRi | last post by:
I am wringing a small and lite Media Player to fit my custom needs for usage while programming. I had written some drag and drop functionality like i do with other programs, but hey, the ActiveX...
0
by: ViRi | last post by:
I am currently experimenting a bit with AxMicrosoft.MediaPlayer.Intero­p.AxWindowsMediaPlayer and so far, most has gone well. Currently, i would like to add drag-and-drop functionality to the...
2
by: Robert Zahm | last post by:
I have created a C# user control which display certain filesystem information, and allows the user to drag an drop files into and out of the control. I then placed this user form in IE using an...
9
by: Armando | last post by:
I have an app (A2000) where I am letting the user move an object on the screen. I use the OnClick for a command button event to modify the object's Top (or Left) properties, but you can only click...
3
by: Martin | last post by:
I have an application that generates a page with an embedded SVG image in it. The image (the viewport) is intentionally larger than the screen (the browser's window size). I would like to provide...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.