LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 06-17-2008, 10:27 AM   #1
LordAnta
Member
 
Registered: Apr 2008
Location: Munich, Germany
Distribution: Slackware current
Posts: 128

Rep: Reputation: 18
need an implementation idea


For my thesis papper I have to create a browser based game of chess in XUL, SVG, AJAX, XML, CSS (all the weird stuff I like). The game itself it's up and running.

The users have the posibility to make moves by sending an e-mail or post a move on their blog.

I know that most blogs have a rss feed, so i get the XML and i can get the moves. For the e-mail part it's a little bit complicated, but i can manage that.

The game runs on a server with Slackware 12.

The question is: how can i get the information i need ? I can use cron to download periodically each users RSS feed, or check the mail database, but i don't think it is the best solution.

Anyone has other ideas?
 
Old 06-18-2008, 10:59 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
E-mail chess servers should be the *least* complicated part IMHO. They've been around since people used say, GOPHER. The big pro of it is that it is a push approach (you only receive messages and parse them) plus they conform to a standard (ICS, IIRC) so that cuts down on error checking as well. A pull approach, where you are forced to initiate sampling of HTTP "Content Not Changed" server responses to "know" if there's a new move, will cost you as in game lag vs server performance. Just my thoughts.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
freeradius implementation vs_sugani Linux - Security 1 06-21-2007 10:35 PM
freeradius implementation vs_sugani Linux - Networking 0 06-21-2007 12:28 AM
Good idea/bad idea: interface colors introuble General 5 10-30-2006 01:33 PM
LXer: Freespire: Great Idea? Awful Idea? LXer Syndicated Linux News 1 05-04-2006 06:10 AM
mp3 jukebox idea (different idea then I have seen) supradrvr Linux - Software 8 03-27-2006 07:58 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 03:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration