Monthly Archives: February 2013

Send small files from a Server (Lesson 3)

By this moment, we have been sending content generated by our Server. Now we are going to see how to send small files from a folder that resides inside our Server’s running directory. We’ll do it this way because with this approach we can control what files can be accessed from the Server.

We’ll use some functions to secure our Server and check that the content (file size in this case) is small enough to send.

In the next lesson we’ll see how to deal with bigger file sizes.

We’ll need the code of our Lesson 2b post which you can download at Code For RealThinClient SDK Lesson 2b. Continue reading

Server using Query parameters (Lesson 2b)

Now that we have seen how to Create a Web Server and how to Send Dynamically Generated Content, we are going to see how to accept Query Parameters.

We are going to make some small changes to our previous code (Code for Demo Sending Dynamically Generated Content) to accept request’s query parameters.

When we coded our Dynamically Generated Content we give no option to the user to decide what Square values the system will return, so now, we are going to give the user the choice to:

  1. Select the starting number of the Square values.
  2. Select the ending number of the Square values.

Continue reading

Server sending dynamically generated content (Lesson 2)

Now we’re going to create an application to send Dynamically Generated Content. We’ll use as base the RealThinClient SDK – Your First Web Server  project. You can download the source code to work with.

In this lesson, you’ll see how two data providers can work together and how you can use multiple Write calls to send complex content out. Continue reading

Your first Web Server (Lesson 1)

We’re going to build a Web Server with RealThinClient SDK in Delphi.

Basically we are going to:

  • Create a Project
  • Add two RealThinClient SDK components (RtcHTTPServer and RtcDataProvider)
  • Configure three events.
  • Check that our Web Server is working.

We’ll be working the code sections in two formats, one using the with clause and another without it.

Continue reading

Posting code examples to RTC Forums

I’ve been burned by BB tags [b] and [i] more than once when posting code examples to RTC Forums, so I thought this would be worth mentioning here.

When posting to RTC Forums, you will be editing your text in raw format. This gives you full control over the look of your post by allowing you to directly insert special “BB” tags ([i] …[/i] for italic, [b]..[/b] for bold, [u]…[/u] for underlined text, and so on). You can also use the toolbar, which is visible directly above the text entry area (when composing your Forum post) to insert BB tags around your currently selected text.

Continue reading

RTC SDK Setup Process

First we will install the RealThinClient SDK and then the RealThinClient Portal components.

The install process is the same as for other components in the RAD Studio products. First, we unpack the downloaded files (you can download the files for the RTC SDK stater edition HERE, remember to choose the right version according to your RAD Studio version.)

Download Options

Download Options

Continue reading