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:
- Select the starting number of the Square values.
- Select the ending number of the Square values.
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
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.
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.
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 from http://realthinclient.com/files/ for the stater version of the components, remember to choose the right version according to your RAD Studio version.)