Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free.

I have to create a web application, preferably I would host that on Google App Engine. it is a multiplayer game, So it needs to be interactive. I am only familiar with C/C++ coding, and have started learning python. I have made multiplayer games before too(multi-player and single player) but with no GUI.

Someone told me that the webapp interface would have to be written in JavaScript. And the back end could be in python or any other language. Please note, I have no issues in coding up the back-end, the game engine, of thew web app. Just that I do not know what are and how to, etc about web apps. And basically how to integrate the back end code into the web application (which I have to build from scratch) (I would also be writing the back end, so there is complete flexibility as of now)

So please show me the light! I have absolutely no clue about where to start! Please tell me where to begin, and what all to read up which can quickly give me some insight into development work! How to go about the GUI.

And what all possible language combinations can I use? The easier to use, the better.

share|improve this question

closed as too broad by MichaelT, durron597, GlenH7, Snowman, Dan Pichelman Jul 9 at 18:58

There are either too many possible answers, or good answers would be too long for this format. Please add details to narrow the answer set or to isolate an issue that can be answered in a few paragraphs. If this question can be reworded to fit the rules in the help center, please edit the question.

Game engines and web applications are two very different types of software. Web applications have to operate on a request/response basis where game engines involve session interaction, multi-threaded programming, and scheduled tasks. You should focus on learning best practices for architecting such systems and then worry about the best technology to implement that system. –  maple_shaft Apr 2 '13 at 19:27
You might want to look at Unity. It's C#, not C++, but I believe it has web app publishing. You'll still be on the hook for the back end, but it may simplify your task greatly. –  Kevin Hsu Apr 2 '13 at 19:32
I am sorry, I should modify the question to be more clearer! I am okay with the Game Engine part, per say, but I have no clue how as to integrate it into a web app. And where to start to learn about web apps and the dev work. The question still is "where to start, and what material to read up, etc" –  tMJ Apr 2 '13 at 19:32
@KevinHsu Thanks man, I think that would really really ease a lot of work for me! This seems to be so good, its currently downloading, I will use it soon and hope to stick to it! Thanks ! –  tMJ Apr 2 '13 at 19:41

1 Answer 1

up vote 5 down vote accepted

When you're talking web apps there are always two parts of it (at least). The front end (analogous to a GUI), and the backend.

Front end:

You are limited here to whatever is supported by web browsers. By far, the most prevalent choice is to use a combination of HTML, CSS and JavaScript, so you will have to learn those. HTML and CSS are used as display mechanisms that are mostly static. JavaScript, however, is used to give them more dynamism and introduce programming logic there. HTML5 is starting to gain ground, so investing in learning it would be a plus. Other front end technologies include Flash (losing popularity to HTML5), Java Applets (lost it a long time ago), and Silverlight (never that popular in the first place).

Back end:

Here the choice is almost limitless. There are hundreds of technologies that can run on back end (the server). But since you are planning on hosting it on GAE your choice becomes limited to Python and Java, both of which are mature and strong technologies. Since you've already started with Python, I would just continue that way. You'll need to pick a web framework to work with. Django seems very popular when it comes to GAE, so go with that, at least until you become more proficient and have better defined expectations.

The main thing to know when you are designing your app is properly differentiate which functionality goes where. Most of the web frameworks that you'll work with will enforce some kind of design pattern that will help with this. For instance, Django uses a pattern known as MVC (Model-View-Controller).

share|improve this answer
Hi! Thanks for your answer! I wanted to further ask, should I go for HTML5 instead of JavaScript? In any case I would have to learn Java Script too. I know just the basic HTML and CSS. Could you tell me more about Django, and what exactly does a web-framework do ? –  tMJ Apr 2 '13 at 19:47
@tMJ - You'll be using JavaScript either way. HTML5 is just a better version of the current HTML (which is version 4), and is designed to work better with JavaScript for UI work. –  System Down Apr 2 '13 at 19:49
Ok! great! @System Thanks mate! –  tMJ Apr 2 '13 at 19:51
@tMJ - A web framework is like a library that abstracts most of the web mechanics for you (instead of you having to code it from scratch). Think of it like MFC or QT for C++. Django is one (of several) web frameworks that help you make web apps using Python with less code. –  System Down Apr 2 '13 at 19:51
Thanks Again! :) –  tMJ Apr 2 '13 at 19:53

Not the answer you're looking for? Browse other questions tagged or ask your own question.