[Twisted-Python] Pyjamas + web2py + twisted vs Django + Pinax
dripton at ripton.net
Fri Dec 19 02:47:37 EST 2008
On 2008.12.19 10:44:49 +0900, Theron D. Huffman wrote:
> 1. Pyjamas - (for the AJAX browser stuff)
> 2. Pyjamas-desktop - (for the desktop client)
> 3. Web2py (or djanjo, or django+pinax) - for the website on which the game will run and for database access and social part - login, chat, members, profiles, game history, etc.)
> 4. Twisted - for the networking and chat functionality.
> 5. Pygame - for most of the game stuff, sprites, inages, etc. (Actually I don't know if Pygame is necessary for a board-type game.)
> My understanding of the above technologies is still limited and I'm not sure if I need all of these because some functionality may be overlapped. e.g. I don't know where Pyjamas leaves off and where web2py/danjo/pinax begins.
> Can someone please give me some advice?
That's a fine laundry list of frameworks, but i believe getting all of
them to cooperate would be practically impossible. (Note: a framework
is a library that's grown to the point where it thinks it owns your
whole program. Getting multiple frameworks to play nicely together is
usually hard. There are rare exceptions, like the beautiful integration
between Twisted and PyGTK, but they're rare.)
I know that Django and pygame and Twisted are useful, mature, documented
frameworks that actually get used in production by people other than
their authors. I don't know about Pyjamas.
If putting 100% Python in one end and getting Ajax out the other is
really important to you, then you need Pyjamas to work. (Or wait for
code to production-quality stuff.) So my advice is to write a simple
tic-tac-toe game in Pyjamas, and find out.
David Ripton dripton at ripton.net
More information about the Twisted-Python