a Python web framework
2
votes
1answer
157 views
Python, magic and objects that add attributes to its owner
Let me start with a disclaimer: I'm not the best programmer out there. I do however study I.T. and learnt a bit of Java and C.
I'm getting stuck into Python and Django + Mongoengine, I'm not going to ...
1
vote
2answers
175 views
Notify players every x seconds in a multiplayer game
I'm working on a realtime multiplayer game using Django and gevent-socketio, I'm facing some issues:
I need to send an update of the game state to connected players every X seconds (~4 seconds), so ...
2
votes
3answers
145 views
How to get a Web Application to communicate between users
I am developing a multipalyer web Application for Anti-Chess. It would be hosted on Google App Engine.
I have a few questions:
How do I get two different users who have opened the webapp on their ...
3
votes
1answer
145 views
Unit testing in Django
I'm really struggling to write effective unit tests for a large Django project. I have reasonably good test coverage, but I've come to realize that the tests I've been writing are definitely ...
-2
votes
1answer
89 views
Stack for building a searchable image service [closed]
I've been building web services & sites with Django & PostgreSQL using pieces like Redis, Memcached, RabbitMQ, etc. for a few years now.
I'm about to build a new kind of service (for me), ...
2
votes
1answer
158 views
Does it violate the DRY principle to use an MVC server-side framework and a client-side MVC framework
When using a MVC pattern for server side code (in my case django), the model definition is defined once in the model component. When using a client side MVC based library(in my case backbone) the ...
2
votes
1answer
118 views
How to dynamically add new posts once they are created
I am trying to design an application where users can make posts with Django on the backend. Right now I have to refresh the page with JavaScript every 20 or 30 seconds to check for new posts that ...
2
votes
7answers
367 views
git: having separate folder for development, why?
until now I was using dropbox as my main vcs (it is not, but for a single dev does the job pretty decent).
However I decided to give git a go and see if it fits my needs. Today I was reading this ...
1
vote
1answer
164 views
Python for first programming / web development job [closed]
I've been teaching myself python and django for a couple of years, but I don't seem to find many entry-level python jobs in the UK. If I'm looking to begin a career in programmming / web development, ...
0
votes
1answer
67 views
Handling table name collisions in Django
Django creates a table name by joining the app label with the model name. A project can have many apps. If two have the same label, how can both be used in the same database?
I'm currently using very ...
0
votes
1answer
118 views
Restrict access to backend
This might be one of those "not answerable" or "just opinions"-questions but I thought I'd give it a shot.
I'm developing an app with health care information with a friend who's a doctor. The basics ...
3
votes
1answer
311 views
What are your techniques for storing numpy structures in django database fields and how do you serialize them for http?
I want to publish a small web project that is supposed to contain some of my research results to present it to the scientific community. All my analysis I ran so far have been written in python ...
-2
votes
1answer
138 views
Where can I find out about basic python usage, cli, editor and testing? [closed]
I'm coming from Ruby / Ruby on Rails to Python.
Where can I find or find resources about:
The command prompt, what is python's version of 'irb'
info and recommendations on editors, plugins and IDE's
...
9
votes
6answers
1k views
Execute code every hour
I need to create a web service that executes every hour. It will be used to review data in a database and add alerts to a table in the same database if certain conditions are met/not met. What we ...
2
votes
2answers
224 views
Which web framework to use under Backbonejs?
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 ...