Feature Samples

The following examples are short feature samples that demonstrate individual features of Web Connection. For more comprehensive examples please check out the menu options to check out any of the sample apps.

Simple Dynamic Request

What would any kind of development be without the Hello World request? The following link shows a dynamic request that says hello and returns server and form information from the Web server.

Hello Web Connection

Simple Data Query Example

The following example lets you list some data from a number of music albums and see that data displayed using a code based approach. The first button uses purely hand written HTML code, the second uses the HtmlDataGrid Helper.

Data Input and Interactive Html Forms

This small applet shows a guest book using basic FoxPro table access to a single table. The sample uses Html Templates stored on disk with FoxPro expressions embedded into the page and the new HtmlHelpers for simplified Html control creation.

Guest Book Browser

Markdown Editing

The following textbox lets you enter some Markdown text and echo it back out to the display when you press the submit button. Note: Scripts also support inline markdown via <markdown></markdown> tags.

Date Display

The following form demonstrates various ways to display and retrieve dates from input controls.

Html Date Display

File and Image Uploads

Uploading files and images, both on desktop and mobile applications is a frequent requirement. The following form demonstrates how to upload files using both traditional <input type="file" /> uploads as well as AJAX style uploading for single or multiple files.

File Uploads

PDF Printing from FoxPro Reports

This sample prints a FoxPro report to a PDF document

Authentication - Securing an individual Page

Restricting access to pages is often important and it's fairly easy to secure either individual pages or entire applications behind username and password. Click the button below to access, secured content - if you're not logged in you will be prompted. Otherwise you are passed through and allowed to see the 'top secret' content. use test@test.com/test for email and password

Access secured Page

Cookies and Session State Management

Client side Cookies and server side Sessions allow you to keep state between requests which makes it possible to track users through a site and store information about a user generically.

Cookies and Sessions