--------------------------
My Awesome Projects!
--------------------------
*The Eternal Quest Engine
-BLAH BLAH BLAH
-BLAH BLAH BLAH
-BLAH BLAH BLAH
-BLAH BLAH BLAH
-BLAH BLAH BLAH
-BLAH BLAH BLAH
-BLAH BLAH BLAH
*Cross platform library for embedded systems
-BLAH BLAH BLAH
-BLAH BLAH BLAH
-BLAH BLAH BLAH
-BLAH BLAH BLAH
-BLAH BLAH BLAH
-BLAH BLAH BLAH
-BLAH BLAH BLAH
*The Adventures Of Square Head for the Xbox 360
-BLAH BLAH BLAH
-BLAH BLAH BLAH
-BLAH BLAH BLAH
-BLAH BLAH BLAH
-BLAH BLAH BLAH
-BLAH BLAH BLAH
-BLAH BLAH BLAH
*A top secret project that this page is for
-BLAH BLAH BLAH
-BLAH BLAH BLAH
-BLAH BLAH BLAH
-BLAH BLAH BLAH
-BLAH BLAH BLAH
-BLAH BLAH BLAH
-BLAH BLAH BLAH
Now in this project I'm doing something similar where I want to get this information and display it. Sure I could hard-code it or save it as a document. However this is more than likely to be updated every day with various information so I'm looking for some sort of embedded RSS feed in my application.
1- Is this possible?
2- Is C++ a good language of choice for this?
PHP or Perl would be great for that. At least the way I'm understanding it. So what are you working on like an application for a checklist? I know c++ can read from sites and I think you could rig it up to speak with a server, but honestly I think php/perl would be easier and make more sense
N64vSNES wrote:The application is somewhat graphics intensive so I guess embedding a perl interpretor would be the way?
Graphics intensive? Could you explain into a bit more detail what your trying to accomplish?
Haha, like I said it's a secret project.
Like I said, it's secret for now.
But the main gist of it is:
I want to be able to walk around in a 3D world were you can examine items and collect information about it. So the are various items that you can go click on and then it will bring up something like this:
Crappy example I know, but the list of items will be added/removed/edited etc on a regularly. So it makes more sense to have it download from a website/sever or just some place so that it gets updated anybody anywhere using this software will have it updated.
Well if you want help your secret project is going to have become somewhat less of a secret, because I still have no idea what the hell you are trying to do..
Falco Girgis wrote:It is imperative that I can broadcast my narcissistic commit strings to the Twitter! Tweet Tweet, bitches!
I don't really see why you would embed a scripting language into your application just so you could pull data(text?) from a server.
To me it looks like what you are trying to do is just that, client says "hello server" server says "[text formatted so you can parse it into headlines and normal text]". Then the client would have the necessary data to continue. You can do that with sockets, and C++ does that just fine...
If you want to reed it from an actual RSS feed, it seems you just need to get some XML and parse it(http://stackoverflow.com/questions/4598 ... ss-library). As seen in the link, there are plenty of ways to do that with C++.
there are lots of ways to get this data to and from client/server
you need to be more clear about how exactly this data is going to be updated, by who, automatically, how often, secure, etc..
is the website and data the same thing ? eg can you use a html/xml file for the website and also for the data to go out to the client apps? or is the website going to show other things. i assume with 200000 connections you are going to want to be very clever with your protocol so that you arent downloading a whole webpage if all you need is a couple of numbers back to the client
rss is published once on the server and the client apps have to go and check for changes
so you could just publish a .html / .php page / rss feed / xml file and have the client apps periodically check for this file at regular intervals. these will all achieve the same outcome if you know the protocol of the message (you will as you will be creating it)
if you want it to be pushed out to all the clients instantly, then they need to have some sort of listening socket connection open to your server, and you would broadcast this event through a collection of clients connected or something.
How about an SQL database that your application can connect to. That way the website can display the data however it wants and the game can display it however it wants.