All Questions
Tagged with python web-development
38
questions
0
votes
1answer
108 views
How encrypting website data works
If i wanted to encrypt a password on my website before its sent to the server, would i have to encrypt the password in javascript on the frontend for it to be hidden over the interent or could it be ...
30
votes
10answers
7k views
What is a good approach to handling exceptions?
I have trouble reconciling "best practices" and real-world approaches to handling exceptions. In my day to day routine, I find myself running into the following examples:
try:
...
0
votes
1answer
44 views
Abstracting a set of services behind a common interface
Yay or nay? I have several related but separate services that are to be run in different processes. They execute a particular task unique to the service. Their call signature is similar, but the name ...
2
votes
1answer
35 views
An approach to send the contents of a file on the server to the client in real-time
I have a relatively simple front in good ol' JQuery, that makes a POST Request to a Flask Python web server, that runs a Python script using the subprocess module. Here's the whole route for ...
-2
votes
1answer
632 views
Choosing the right architecture for my web application
I've started working on my web application and I'm stuck at the design stage. I cannot decide which web technologies would be the most suited to this project. Let me explain what I want to achieve:
1)...
2
votes
3answers
213 views
How to manage an existing web application?
I am a student that will finish his degree in like 7 months. I have a side job where I am the only programmer for a small company. The web application is for invoices and employee working hours. This ...
8
votes
1answer
1k views
Options to handle large (multi-gigabyte) file uploads
How would you implement a very large file upload functionality with a Django application and S3?
In my side job as a photographer, I have several clients for which I have a need to share multi-...
4
votes
3answers
654 views
Options for the RESTFul approach for follow and unfollowing
I'm looking at implementing a new RESTFul call where a User can follow/unfollow a generic 'thing' item, but I need to know the best or common approach below, 1 or 2?
1) A GET or POST on the ...
-1
votes
1answer
845 views
Developing an app using Django. Do I design front-end after app? Or develop Django to fit UI? [duplicate]
Edit: this differs from a similar question because I'm interested specifically in how Django works with the front-end. I.e. what is considered best practice when developing using the Django framework.
...
-6
votes
2answers
949 views
Am i looking at HTML / Django the wrong way? [closed]
So I'm comfortable programming in Python, I love the minimalist nature of the language. However, I haven't been exposed to any Django yet.
I do know html, css etc for web design but when making ...
-2
votes
1answer
817 views
Can I use Qt open-source for my web-scraping website? [closed]
I apologize if I should be understanding this more readily but I'm a little new to this and dont understand the LGPL license. Here is the FAQ for it: http://www.qt.io/qt-licensing-terms/
I am making ...
7
votes
3answers
4k views
What's special about “non-blocking” node.js?
In the short chapter, What is Node by McLaughlin, he writes:
"Node has no blocks, no threads competing for the same resource (Node
is happy to just let things happen however they happen), nothing ...
1
vote
2answers
122 views
Is there a way to efficiently allow a user to upload multiple content at once for e-commerce type sites?
Sellers on large sites like Amazon and Newegg need to provide names, descriptions, and images for their products to be displayed on the e-commerce sites.
These sellers could have 10000+ products to ...
1
vote
1answer
184 views
How do we pass data between two Amazon instances?
I'm trying to create a website where the user enters a few numbers, these numbers are fed into some equations, and the output of these equations is emailed to the user. I'm using Python 2.7 for ...
22
votes
1answer
15k views
SQLite with two python processes accessing it: one reading, one writing
I'm developing a small system with two components: one polls data from an internet resource and translates it into sql data to persist it locally; the second one reads that sql data from the local ...
-1
votes
2answers
457 views
Python/Database Website development [closed]
I want to create my own website that would allow me to acess a database in the server and do inserts and lookups in a user friendly way. I am a seasoned user of linux and C/C++, and also have ...
7
votes
5answers
3k views
How can I keep a production Python environment secure?
Most of my work is creating websites in Django (a Python web framework) and deploying them to my own or clients' servers. I work from a virtualenv to separate site from system packages and have ...
6
votes
4answers
575 views
How to create different paths for users to take through the pages in my site?
I have a website where users are directed to go through a sequence of pages to perform a sequence of work tasks (transcribe a paragraph, answer a survey, interact with another user, etc). For short, ...
25
votes
8answers
5k views
Do frameworks put too much abstraction? [closed]
I've been programming for a little under a year and have some experience writing systems applications, web apps, and scripts for businesses/organizations. However, one thing I've never really done is ...
0
votes
1answer
288 views
Why should I use a web framework's template language over python's templating options?
I'm coming from a python CGI background and was wanting to move into something more contemporary and think I have decided upon web.py as the framework I would like to use. In regards to templating, ...
1
vote
2answers
541 views
Which web framework to use under Backbonejs? [closed]
For a previous project, I was using Backbonejs alongside Django, but I found out that I didn't use many features from Django. So, I am looking for a lighter framework to use underneath a Backbonejs ...
32
votes
4answers
121k views
How to develop front end (UI) for my Django website
I am learning Django and new to web development. Please excuse me if you find this question too dumb.
So, I am creating a Facebook application using Django which I would like to host in Google App ...
1
vote
1answer
275 views
Flexible cloud file storage for a web.py app?
I'm creating a web app using web.py (although I may later rewrite it for Tornado) which involves a lot of file manipulation. One example, the app will have a git-style 'commit' operation, in which ...
0
votes
1answer
173 views
Handling and organizing data from save file?
I'm working on a webapp (python/javascript) to modify a game's save file. The file has certain bytes representing player information, such as the gun, the equipment, etc. The idea is to show an ...
7
votes
2answers
4k views
Migrating from Python to Scala wise when a lot of work is already done in Python?
Me and my friend are developing a web-app in Python + Flask + PostgreSQL. We have been working on it for the past few months and have developed a lot of schema/use-cases specific to Python + Flask + ...
-1
votes
1answer
3k views
python login form vulnerability?
<HTML>
<HEAD><TITLE>Login Page</TITLE></HEAD>
<BODY>
<CENTER>
<FORM method="POST" action="http://yourserver/cgi-bin/login.py">
<paragraph> Enter ...
1
vote
5answers
25k views
Can I create a desktop Python GUI application and run it as a web app?
I'm working on a project where multiple (several hundred perhaps) users will need to run an application remotely. We thought that running a web app would be the best course of action to go. (Note: ...
11
votes
3answers
13k views
How does Python work?
This question may seems a little bit silly, but what the heck.
I started to learn Python. I know basic syntax, etc.
When I work with HTML, PHP, etc., I simply write code, put it inside .html or ....
7
votes
2answers
3k views
Web development in a small team - best practices
Currently developing a web app in a team of two maybe three in the near future. Tech stack is at the moment : flask, mongodb, and extjs for the fontend. I currently have the project under version ...
3
votes
3answers
1k views
Creating a Django development and production app
I just got started on some web development, and got my feet wet by creating a basic facebook app using Django. I am thinking of publishing the app, and consequently now need a development app that I ...
13
votes
8answers
3k views
Choosing between CL and Python for web development
I'm coming from a Java background and after I read this little essay by Paul Graham I started wondering about picking up a new language namely Common Lisp to speed up my work (I'm a web developer).
I'...
2
votes
3answers
3k views
Tips/Process for web-development using Django in a small team [closed]
We're developing a web app using Django and we're a small team of 3-4 programmers — some doing the UI stuff and some doing the Backend stuff. I'd love some tips and suggestions from the people here. ...
19
votes
5answers
19k views
How difficult is Python and Django to pick up for a Java/.NET web developer? [closed]
I just started a new job a couple months ago at a small company where I am currently leading all development efforts present and future. I personally have years of experience in software design and ...
7
votes
13answers
948 views
Type of computer for a developer on the road [closed]
I am planning to be traveling through eurasia and asia (russia, china, korea, japan, south east asia...) for a while and, although there are plenty of marvelous things to see and to do, I must keep on ...
-2
votes
3answers
3k views
Is there any way to use Python to replace Flash for in browser animation, gaming, whatever? [closed]
Is there any way to use Python to replace Flash for in browser animation, gaming, webapps, whatever? Pretty straight-forward IMHO. Does anyone know how to do this?
16
votes
2answers
20k views
What are hooks? [closed]
I keep coming across this term hooks in various programming articles. However I don't understand what they are, and how can they be used. So I just wanted to know what is the concept of hooks; if ...
1
vote
1answer
540 views
How to approach web app development?
I have been going through Flask and it seems that now I have a decent understanding to go ahead and build a web application. However I want to know how would I approach the problem. For eg: I decide ...
48
votes
6answers
129k views
How do I learn Python from zero to web development? [closed]
I am looking into learning Python for web development.
Assuming I already have some basic web development experience with Java (JSP/Servlets), I'm already familiar with web design (HTML, CSS, JS), ...