The first step is to create a new IntraWeb application. His application is built using IntraWeb Borland Edition and application mode. Visual Studio.NET is currently under developmentĪpproximately 20 minutes of your time (installation time not included) One of the following : Delphi (5, 6 or 7), Kylix (2 or 3), C++ Builder (5 or 6) or JBuilder. IntraWeb 5.1 in Application Mode (to get an evaluation copy of IntraWeb, please go to the Atozed Software website - ) To run the example in this tutorial you'll need the following: In this tutorial you'll see in a few simple steps how to create and execute an IntraWeb application Hello and welcome to the exciting world of IntraWeb. IntraWeb Tutorial - Implementing a "Hello World" application To see the full power of IntraWeb you need to look at the included demos and better yet, write your own application. This tutorial took the next step and demonstrated the ease of handling user input and managing multiple forms.However IntraWeb is far more powerful and has many more features than what has been demonstrated here. Now, can you honestly say that about any other web development tool? You can develop web applications in days instead of months, and you can take on web projects previously deemed impossible or too time consuming. If you are a Delphi shop, there is no doubt your programmers can be up and running with IntraWeb in a matter of minutes while continuing to use their existing skills. WebApplication.Terminate('Goodbye!') end There are many variants of Terminate that can terminate // with messges, redirets, etc. with TformHello.Create(WebApplication) do begin // Set the page title Title := 'Saying Hello to ' + s + '!' // Set the caption of our label on the second form lablHello.Caption := 'Hello ' + s + '!' // Show the form Show editName.Text := '' end end end procedure TIWForm1.IWButton2Click(Sender: TObject) begin // Terminate the user's application and display a message. Your form should now look something like this:Įnd else begin // Create a new form. It is owned by WebApplication which is // IntraWeb's equivalant of Application. WebApplication // represents the user's session. Set the Caption property to "Talk to me!". This will be displayed as the page title when shown in the browser.Ĭhange the label's Caption to read "What is your name?" Add a TIWEdit to the form. Set the form's Title property to "What is your name?". If you have not created this project yet, you will need it for this demo. Not IntraWeb, IntraWeb is truly componentized.įor this demo, we will continue by modifiying our "Hello World" application built in the Hello World demo. Other development tools require you to set up adaptors, bindings, or handle the HTTP variables your self. We challenge you to try even something this simple with any other web development tool. As you will soon see the code used is still standard Delphi code. The last tutorial was very basic and designed to simply show you how easy it is to get an IntraWeb application up and running. This application is built using IntraWeb's application mode. In order to understand and run the example in this tutorial you should read the "Hello World" tutorial first. In this tutorial you'll learn how to use multiple forms, how to handle user input and how to use sessions. Your form should now look something like this: New Main Form Change the label's Caption to read "What is your name?" Add a TIWEdit to the form. This will be displayed as the page title when shown in the browser. Changes to the Main Form Set the form's Title property to "What is your name?". For this demo, we will continue by modifiying our "Hello World" application built in the Hello World demo. Not IntraWeb, IntraWeb is truly componentized. What is Next This application is built using IntraWeb's application mode. IntraWeb Tutorial - User Input Introduction In this tutorial you'll learn how to use multiple forms, how to handle user input and how to use sessions.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |