Vb.net run apication server-side? - html

I want to build a website which uses HTML buttons that use the POST method to trigger a vb.net function on the "server" host PC via the TCP... In fact this is how I build applications on our local network. I was thinking this could be handy if it were also applied to a website on the WWW.
My vb.net applications typically receive an input from the html POST method, use that input to calculate or retrieve data and generate a new html page for the users viewing (typically displaying the requested data in some form or other)
I had built a simple website on a synology NAS before which will not run any vb.net applications because its not windows based.
What I was looking at was a HP Proliant Microserver that has windows server running on it.
I've never done this before but was intrested to know if this concept of posting html text to trigger server-side running vb.net applications would work on a windows server or is there far more involved?

Related

get data from database to display them to a Sencha Touch mobile app

We can fill a app Sencha Touch content access a web form against a mysql database?
In what way could make forms that fill that content is in the application, against a mysql database and once that part of this functional additions, deletions and modifications of those files against databases, would pass to another phase would consist of export of content to JSON or XML.
Thanked reference, real example of that power base it, I'm somewhat newbie, thanks!
To fill fields on a Sencha Touch application, you need to communicate with a server via JSON.
The server can be a Java web application or a PHP page which is connected to the MySQL database.
See this page for examples.

Connecting visual c++ to an online database

I am working on an app in visual c++ which requires data to be accessed from a database which can be edited so that every time there is a modification to the data I do not have to resend the app as it will automatically update, it is also required that this is a desktop app.
I am currently using MySql however for this to run constantly I will be needing a server which for a single simple app wont really be worth purchasing, so I started thinking of alternative methods and thought to myself there must be some method of reading directly from a website or online database, am I correct in thinking this? If so could someone please explain how I would achieve this?
Also, I have purchased phpmyadmin in the past so if there is any way I could connect my visual c++ app to a database from this then that would be great.
EDIT: Note, this app relies almost entirely on the database as it is just 3 combo box's and one text field all of that values for which come from the database.
The following response is assuming that by online you mean on the web.
You cannot exactly 'connect' to an online database with C++ (or anything outside of that server hosting the database).
What I would do is create some PHP API's that you can POST to with libcurl via C++. You can both send and receive data this way.

How to Make an Online / Offline Phonegap Application

I am investigating using HTML5 for a new suite of mobile applications that our company will be writing.
I found this demo here,
http://phonegap.com/start#android
Which shows how to use eclipse to generate and run an android application which is written using HTML.
Just wondering whether there is any information around about writing an online / offline application? This application would collect data based on the user input, and that data would be sent off to a central server and put into our central SQL server database.
What mechanisms could be used to connect and send the data to the server for instance?
Another requirement would be that some data would have to be sent and cached on the device, data related to the tasks that the logged in user has to perform.
You can interact with your server by applying traditional javascript techniques, like ajax, or other cross-domain methods like jsonp, iframes, etc.
The HTML5 localStorage will help you saving data on the local device, it's very useful when your data can be expressed as strings. But if your app requires more powerful tool for local data management, you can make a phonegap plugin with native code for anything you want.
In case of Offline-mode save the data in Local Storage which is feature of HTML 5. Whenever the user in Online Sync the data with the server. In case the data to be stored locally is quite large then use PhoneGap that allows to store some big stuffs
[Ref.: http://docs.phonegap.com/en/2.7.0/cordova_storage_storage.md.html#Storage].

How do I save data on a server ("In the cloud")?

I am learning web application development. To save anything on a server, ("In the cloud," like Facebook and Google do) within a web application, do I need to use server side code, or can it be accomplished another way?
A web application typically saves data in a (SQL) database. You could start off with a DB software (mysql, postgres, etc.) running on the same server as your application. As you application scales, you can evaluate other options such as separating out the work load, memcache, etc.

Develop an iOS App that gets contents from a remote DB

I am developing an education app for Kids.
The application is going to contain pictures, stories and video as well.
Including all above contents in the app will surely bloat it and hence i would like store all data on a server that will be accessed by my app.
I haven't used any remote databases (like MySQL or Oracle) with any other iOS app. In fact i am a newbie in developing such kind of apps. Can any one point me to a sample
Connecting to a remote mysql is really not recommended.
The security here is critical.
You should create a webservice and my advice to you is to make sure that the access to the webservice is restricted
The webservice can be your own "protocol" or any other well known protocol like SOAP
By your own I mean, json, csv .... or whatever.
Edit 1
The technology of your webservice should be dependent on many things.
If the system is small, and the code needs to be update very often, I would suggest to do it with PHP and some small(!) MVC framework like CI.
But if its a large system with needs of ACL (access control list) I will probably choose java with spring...
I suggest that : Do not connect to / use database directly from user application. It may causes serious security problems and your app should have native SQL drivers to connect db.
So, create a web service that receive queries from the application and response in XML, JSON or some other strings that easy to parse. This will be much easier than embed native APIs into your apps.