Starting a new database driven python web application would you use a javascript widget framework? If so which framework?

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.

Should I be using a javascript UI framework or should I go for standard HTML forms?

Which framework would you recommend?

Asked by: Emily599 | Posted: 28-01-2022

Answer 1

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: Chester759 | Posted: 01-03-2022

Answer 2

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: Gianna936 | Posted: 01-03-2022

Answer 3

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: Daryl319 | Posted: 01-03-2022

Answer 4

web2py uses jQuery

Answered by: Ada440 | Posted: 01-03-2022

Answer 5

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: Aston876 | Posted: 01-03-2022

Similar questions

javascript - How should I create a web interface for my application?

Closed. This question needs to be more focused. It ...

javascript - Best XMPP Library for Python Web Application

Closed. This question does not meet Stack Overflow guid...

javascript - Creating shopping list web application

I'm learning Python, Django, Javascript and jQuery by trying to build a simple shopping list web application. I'd like to hear from experienced developers if my approach is correct: Functionality: Web page will display a list of foods. When I click on a certain food I want a list of ingredients to get displayed (this will be my shopping list). Clicking another food will add more ingredients to the ...

javascript - How can I keep line breaks when sending data from one django application to another

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=""> <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...

python - How to catch an event of a file being dragged & dropped from desktop to QWebView in a Qt (PyQt) application with javascript

I am working on an application in PyQt. I made the UI with QWebView which gets loaded with an HTML page. This HTML page contains a javascript code which detects if a file was dropped on a certain DIV. $(document).ready(function() { jQuery.event.props.push('dataTransfer'); $('.input').bind('drop', function(e) { var files =

javascript - Handling AJAX response with jQuery $.ajax in Django application

I'm making an ajax call to the server and want to receive an array for further processing. I'm a beginner and quite confused about what I'm really doing. Below is a snippet that I came up with so far. It works well until I try to process the returned data. I think my problem is that I don't really understand how to form a correct response and how to process it. JAVASCRIPT/JQUERY: va...

javascript - Python websocket based application framework / server

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...

jquery - How can search results be live and updated using Javascript accessing a Python application?

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...

javascript - Accessing the server's file system from a web application

javascript - Embedding a Bash shell in my Flask application?

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/ ... 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 :-)

Still can't find your answer? Check out these communities...

PySlackers | Full Stack Python | NHS Python | Pythonist Cafe | Hacker Earth | Discord Python