Networking

Top  Previous  Next

Smart Mobile Studio really comes into it’s proper setting when you start talking to your web-services. It is a great way to maximize the potential of your already existing technology and make your apps truly universal.

It is common these days to create the bulk of your application as a web service, which exposes interfaces and methods that is ultimately used by your desktop software and mobile clients. This type of programming allows you to target any platform that is capable of invoking methods on your server. In this case smart will function as a "pretty face" which allows your software to run on anything from cellphones to set-top boxes.

By default smart does not provide you with a pre-made component set. We have written wrappers for the common javascript objects that are used in communication with servers, such as TW3Httprequest and TW3JSONP (in the w3inet.pas unit). These classes gives you access to the underlying API used by browsers when talking to servers.

·TW3HttpRequest object
·TW3JSONP object
·Loading files