iDevGames Forums
Anyone know about Tutorials/Lectures about Server Programming - Printable Version

+- iDevGames Forums (http://www.idevgames.com/forums)
+-- Forum: Development Zone (/forum-3.html)
+--- Forum: iPhone, iPad & iPod Game Development (/forum-11.html)
+--- Thread: Anyone know about Tutorials/Lectures about Server Programming (/thread-331.html)



Anyone know about Tutorials/Lectures about Server Programming - Bersaelor - Feb 15, 2010 05:18 AM

Hi there,

I'm want to build a server for my iPhone Game to facilitate those multiplayer games and a database of registered players with their stats.

I know how to request JSON-Files from a server and handle them in my App
but I'm currently overwhelmed by the number of new things to learn in Server Programming. I mean I don't want to program a web-service but a server that provides some services for an iPhone App.
There are so many names and possibilities to do this like SOAP,LAMP,Python,Django,Pylons, MySQL etc..

Does anyone know about a good Tutorial/iTunes Lecture on how build servers that accept requests from mobile clients?

I know there are many pitfalls to client-server communication, I just want some Architecture/Framework where I have to do least work on the communication part to implement my Multiplayer-Logic.


Anyone know about Tutorials/Lectures about Server Programming - michelleC - Feb 15, 2010 05:25 AM

Bersaelor Wrote:Hi there,

I'm want to build a server for my iPhone Game to facilitate those multiplayer games and a database of registered players with their stats.

I know how to request JSON-Files from a server and handle them in my App
but I'm currently overwhelmed by the number of new things to learn in Server Programming. I mean I don't want to program a web-service but a server that provides some services for an iPhone App.
There are so many names and possibilities to do this like SOAP,LAMP,Python,Django,Pylons, MySQL etc..

Does anyone know about a good Tutorial/iTunes Lecture on how build servers that accept requests from mobile clients?

I know there are many pitfalls to client-server communication, I just want some Architecture/Framework where I have to do least work on the communication part to implement my Multiplayer-Logic.

There are a lot of different approaches and I guess it depends on the enviroment you want to support.

If your running on a shared hosting of some kind you probably want to stick with php whereby if you have a lot of users you might want go with ruby or java.

I tend to use java because I have a lot of experience in that.

Also are you going to use apple push notification or not.

The requirements for the iphone are no different than any other client/server environment , straight http posts or gets.

Lots and lots of book available.


Anyone know about Tutorials/Lectures about Server Programming - AnotherJake - Feb 15, 2010 11:23 AM

You could always consider giving a third-party system a try. Check out OpenFeint for example. It's a pretty good system they have set up. There's also ngmoco's Plus system but that appears to be closed right now. I have no idea what their API looks like either. OpenFeint's is rather large but it can be worked with.


Anyone know about Tutorials/Lectures about Server Programming - michelleC - Feb 15, 2010 01:02 PM

I have a couple that I built, there in java but if you study them you probably could learn how to build in any language.

One takes an uploaded image
http://sol3.typepad.com/tagalong_developer_journa/page/2/

And the other uses apple push notification
http://sol3.typepad.com/tagalong_developer_journa/2009/06/test-server-deployment-for-apns.html

I got mixed results on tests, a lot of people have downloaded them , even a whole colledge class in the netherlands, some people think the install is easy others had difficulty and I had to provide some help.

Neither are production ready.

I was going to use them for facebook updates but than I found fbconnect.


Anyone know about Tutorials/Lectures about Server Programming - OneSadCookie - Feb 15, 2010 01:25 PM

Google app engine is a very easy framework to get started with.


Anyone know about Tutorials/Lectures about Server Programming - michelleC - Feb 15, 2010 01:48 PM

OneSadCookie Wrote:Google app engine is a very easy framework to get started with.

Yes, and if I remember right, there are some video tutorials on the google page.

openSocial is pretty good, but thats more directed towards the social networking. Store scores on facebook. you could!


Anyone know about Tutorials/Lectures about Server Programming - Bersaelor - Feb 16, 2010 06:32 AM

Thank you for your posts.
I know there are a lot of books out there, that's exactly the problem.
I thought someone here probably knew some Tutotials or Lectures on iTunes, something like "Python and MySQL for Server Programming".

I already knew about OpenFeint and FBConnect but that is not the issue here.
For me there is a lot more then Rankings, my Stat-System is more complicated. And anyway the specific case of a list of Users with Stats is so standard its covered a lot. For the Management of the ongoing games I need more, so I searched for some Lecture on how to set up a Server and Database and use a Programming Language for the Server Logic in a more general setting.


Anyone know about Tutorials/Lectures about Server Programming - michelleC - Feb 16, 2010 08:59 AM

Bersaelor Wrote:Thank you for your posts.
I know there are a lot of books out there, that's exactly the problem.
I thought someone here probably knew some Tutotials or Lectures on iTunes, something like "Python and MySQL for Server Programming".

I already knew about OpenFeint and FBConnect but that is not the issue here.
For me there is a lot more then Rankings, my Stat-System is more complicated. And anyway the specific case of a list of Users with Stats is so standard its covered a lot. For the Management of the ongoing games I need more, so I searched for some Lecture on how to set up a Server and Database and use a Programming Language for the Server Logic in a more general setting.


You have specifc questions but you don't give enough info to answer them.

What environment are targeting or what can your host support.

windows unix

java, php, ruby

What server are you planning to use

Apache
Tomcat
weblogic


Those kind of answers would help someone give you suggestions.


Anyone know about Tutorials/Lectures about Server Programming - Bersaelor - Feb 16, 2010 10:23 AM

I haven't decided which framework to run on, yet.

That was the reason for my Question, I am new to server programming and wanted to know your opinion from where to start.

I understand Linux Apache Servers with MySQL and a Python Webdevelopment Framework (e.g. Django) are one typical way to do it.

But if you all agree, that using Googles App engine would save me a lot of work, then I'll learn how to use that.

There are so many options that I just wanted to ask which ones are the most promising (maybe best documented)