Advertise Books Events Forum News Social Networking Support Us

sdkIQ for iPhone
($4.99)

Shape Up
($0.99)

Your First iPhone App
($1.99)

iVidCam Free
(free)

Kid Art
($0.99)

iPUBQUIZ
(£1.19)

ArtStudio
($3.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 01-02-2009, 08:45 PM   #6 (permalink)
dicklacara
New Member
 
Join Date: Nov 2008
Posts: 123
Default

Just read inZania' post & he brings up a good point about interactivity.

If there is a need for fast, efficient exchange of small packets of information, an HTTP server is prolly a poor choice.

inZania also mentioned that a lot of what is needed, e.g. high scores, client records, etc. are well within the capabilities of an HTTP/SQL setup.

So, you may need to provide at least 2 types of services:

1) interactive game playing (socket level as inZania suggests)
2) admin, record keeping, email, web services, etc. (http/SQL servers)/

CF (ColdFusion) has some socket programming capability (provided by the underlying Java server). I have never used it so nothing to report there.

CF also allows you to compose, execute and get results from the OS;s CLI. Conceivably, you could write, compile and execute a game-playing daemon from within your CF app.

Done properly, the interactive game-playing would be handled by a separate module.

1. Initially, while you are designing/prototyping your app, the game-playing module could be written in CF.

2. you could prolly support some number if interactive players with this (compiled Java ByteCode) module

3. When performance needs dictate, you could migrate this module closer to the iron by recoding it. But the rest of the app remains unchanged.

Might just be the best (cheapest/fastest) way to get you where you want to be!

HTH

Dick
dicklacara is offline   Reply With Quote
 
Enter the iPhone App Challenge!  Win $500!
» Advertisements
» Stats
Members: 24,271
Threads: 39,065
Posts: 171,310
Top Poster: smasher (2,575)
Welcome to our newest member, eieiosoftware
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 10:37 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.