Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using C++ to "get or post" data from a website

Status
Not open for further replies.

BChumie

Programmer
Jan 11, 2002
130
US
Hello,
I don't know if this is going to be posted in the correct forum (if not please forgive me). I am having a problem finding information that will allow me to write a small windows application that allows me post or get data from an internet website. I would like this program to add or modify data that I currently have in a mySQL database. If anyone could give me useful links or has any tips please let me know.

Thanks in advance
- BChumie
 
What languages are you running on your server? What kind of server is it? I think the best bet would be to write a web based application. Not C++. What are the specs of this project? MYenigmaSELF:-9
myenigmaself@yahoo.com
"If debugging is the process of removing bugs, then programming must be the process of putting them in." --Dykstra
 
Currently I am running PHP, HTML, and JAVA... I would like to creat something that people can use to update their information without going to a website.

Thanks
BChumie
 
Might I just pose the question, what's wrong with going to the web site? This project would be infinately simple with PHP integrated with a MySQL database. MYenigmaSELF:-9
myenigmaself@yahoo.com
"If debugging is the process of removing bugs, then programming must be the process of putting them in." --Dykstra
 
Actually nothing is wrong with web based site.. I think most of the web work is done (mySQL and PHP)... I just wanted a program to go along with it... so people wouldn't have to go to the website they could just go their program...
 
Ok, I understand the situation now. I'm all about C++, but if large scale effiency isn't really an issue VB might be a better route for you if you want to develop an app quickly. It seems to be way easier to learn and for all intents and purposes just as good as VC++ from a high level developer's perspective. Now are you looking to directly integrate this application with your MySQL database or did you want to make get and post calls to the web server and handle it that way? The web server route is good for reusability of code and it should be pretty easy, but it is a little costly. It depends on how much efficiency means in this project. MYenigmaSELF:-9
myenigmaself@yahoo.com
"If debugging is the process of removing bugs, then programming must be the process of putting them in." --Dykstra
 
What do you mean by costly (ie what are the expenses you are reffering to?). I would prefer to go through the webserver, and if you think that will produce more reusable code then the better it is. Efficiency shouldn't mean that much as long as we can get the app to connect and put the data in.... later in development it might be important to be more efficient due to the number of people maybe trying to connect at one time. For instance What if 5 people use this program at the same time (what language will benifit or help this out speed wise)?

-BChumie
 
Development wise it is much easier to connect to a web server using VB. It's easier to create the GUI and it's easier to integrate the two. I don't think that there would be a problem of efficiency really with multiple people hitting the server. Just think of it this way. It doesn't really matter what Internet Browser you use. That doesn't increase the speed tremendously. It's the power of the server that's important, so as long as you aren't sending a lot of data or doing complex calculations or things along those lines I say go the VB route. And the costs of hitting the web server are just that. You have to go through the server which adds seemingly unecessary overhead to your project. But if your server can handle it then do it up. good luck. MYenigmaSELF:-9
myenigmaself@yahoo.com
"If debugging is the process of removing bugs, then programming must be the process of putting them in." --Dykstra
 
Do you have any good web pages that might be able to show me some techniques to use VB?

-BChumie
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top