Facebook application design
I decided the other day to jump onto a very crowded bandwagon, that of a facebook app. At the time of publishing, there are 15,270 facebook apps. Of course, not all of them are used, or even useful.
I don’t intend to make a popular app; I doubt this server could withstand the traffic. I’m making an application just for the sake of making it, to learn.
My first app will be an interface with my Paper Knaves game. It would be rather basic, a chessboard look. I will update this blog with progress reports as it goes, and then the final unveiling. I want to be done in two months. A very reasonable goal.
The overall design is rather simple, and done. The game will consist of a game object, which is a state-machine. It keeps track of its previous state, and based on that, plus input through a generic interface, will perform the actions needed.
What that means is that, I can now make any kind of view I want, telnet, applications, or a web app, without modifying the core business logic. The interface takes care of presentation and returning neccesary information.
The presentation interface will be done with Django, with the database storing only relevant player data: name, games won, games lost, games drawn. Nothing else is stored.
Till next time
Comments are off for this post