I am starting a new web application project. I want to use python as I am using it at my bread-and-butter-job.
However I don't want to reinvent the wheel. Some things I have thought about:
AJAX would be nice if it’s not too much of a hazzle.
It is best if the licensing allows commercialization but is not crucial at this point.
It could also be funny to try out the Google App Engine if the tools will let me.
Which framework would you recommend?
Asked by: Edgar744 | Posted: 01-10-2021
jQuery? Though its UI components are perhaps not up to the very best (but lots of work appears to be done in that area), jQuery itself seems to be on track to become the de facto JS standard library. It is both MIT or GPL licensed so commercial use is ok (and costless).Answered by: Ada328 | Posted: 02-11-2021
I heartily suggest Django + Prototype. I think they cover most of the bases you are looking at and they are very straight-forward to get started with. Also you could use them on the GAE if that is the route you decide to take, although you should keep in mind that the GAE does not support Cron jobs, which can limit your functionality.Answered by: Marcus184 | Posted: 02-11-2021
Take a look at ExtJS. It's got the best widget library out there. They offer a commercial license and an open-source license. There are several python developers in the community and there is some integration with Google APIs.Answered by: Kevin558 | Posted: 02-11-2021
web2py uses jQueryAnswered by: Stuart484 | Posted: 02-11-2021
I'd take a look at web2py. It's a full-stack framework that requires no configuration and is easy to try out - everything can be driven via a web interface if you choose. I've dabbled with other frameworks and it's by far the easiest to setup and includes lots of helpful things for free. The documentation is good and there is a howto for getting it to work under Google App Engine. It comes with libraries and a howto for Ajax. As far as I remember the licence doesn't restrict using it in commercial applications.Answered by: First Name389 | Posted: 02-11-2021
Closed. This question needs to be more focused. It ...
Closed. This question does not meet Stack Overflow guid...
A user write a code in a textarea (HTML) I post the form like this: <form id="codeid" method="post" enctype="application/x-www-form-urlencoded" name="code" action="192.168.56.2:8000/api/comp/"> <input id="textarea_1" name="content" cols="80" rows="15" type="text" onkeypress="return runScript(event)"></input> <input id="thebutton" type="button" value="Submit" onclick="document.f...
I want to write an 'cloud' based application to interactivly develop games. I'm developing apps and tools in Python for years, but so far they were not in 'client <-> server' model. I don not want to get any comparison. I want to ask experts, which tool is able to solve this specific problem I was digging for over two weeks for right solutions and I found a lot of different servers/frame...
I currently have a simple python application built on Flask and SQLAlchemy. The application is accesses a database User imported from another python file. The application has two views, one is home def home() if request.method == 'POST': search = Search(query=request.form['searchbox'], time=datetime.datetime.utcnow()) db.session.add(search) d...
I know this is kind of weird and not secure at all, but is there a way of displaying a bash shell with a remote control on the machine where the webapp is running ? I would like to have a bash interpreter running directly in the webapplication in flask, does anyone knows how to do such a thing ? Thanks a lot, If my post wasn't clear enough just tell me and I will try to improve it.
python - Why won't Django 1.0 admin application work?
I've just started playing with Django and am loosely following the tutorial with my own set of basic requirements. The models I've sketched out so far are a lot more comprehensive than the tutorial, but they compile fine. Otherwise, everything should have been the same. My problem is with the admin application. I can log into it, and view the editable models, but when I click on a model or any of the change/add but...
python - What is the best way to serve static web pages from within a Django application?
I am building a relatively simple Django application and apart from the main page where most of the dynamic parts of the application are, there are a few pages that I will need that will not be dynamic at all (About, FAQ, etc.). What is the best way to integrate these into Django, idealing still using the Djang...
networking - Embedding a remote Python shell in an application
You can embed the IPython shell inside of your application so that it launches the shell in the foreground. Is there a way to embed a telnet server in a python app so that you can telnet to a certain port and launch a remote IPython shell? Any tips for redirecting the input/output streams for IPython or how to hook it up to a telnet server library or recom...
python - Debug Pylons application through Eclipse
I have Eclipse setup with PyDev and love being able to debug my scripts/apps. I've just started playing around with Pylons and was wondering if there is a way to start up the paster server through Eclipse so I can debug my webapp?
naming - Deploying a python application with shared package
I'm thinking how to arrange a deployed python application which will have a Executable script located in /usr/bin/ which will provide a CLI to functionality implemented in A library installed to wherever the current site-packages directory is. Now, currently, I have the following directory structure in my sources: foo.py foo/ __init__.py ... which...
python - How can I capture all exceptions from a wxPython application?
I'm writing a little debug app for a bit of kit we're developing and I'd like to roll it out to a few users to see if they can provoke any crashes. Does anyone know a way of effectively wrapping a wxPython app to catch any and all unhandled exceptions that would cause the app to crash? Ideally I'd want to capture all output (not just errors) and log it to a file. Any unhandled exceptions ought to log to the current...
deployment - How do I deploy a Python desktop application?
I have started on a personal python application that runs on the desktop. I am using wxPython as a GUI toolkit. Should there be a demand for this type of application, I would possibly like to commercialize it. I have no knowledge of deploying "real-life" Python applications, though I have used py2exe in the past with varied success. How would I obfu...
console application - using curses with raw_input in python
In my python linux console application I use curses to handle displaying of data. At the same time I'd like to have an input line to enter commands, pretty much in good ol' irssi-style. With default curses getch() I'd have to do a lot of coding just to get the basic funcionality of raw_input function - arrow keys to move cursor / browse through the input history. Is there a simple way to get such behavior working w...
scripting - How can I launch an instance of an application using Python?
I am creating a Python script where it does a bunch of tasks and one of those tasks is to launch and open an instance of Excel. What is the ideal way of accomplishing that in my script?
Global hotkey for Python application in Gnome
I would like to assign a global hotkey to my Python application, running in Gnome. How do I do that? All I can find are two year old posts saying, well, pretty much nothing :-)