Article Preview
Buy Now
COLUMN
Column
Issue: 15.6 (November/December 2017)
Author: Scott Boss
Author Bio: Scott Boss is the founder of Nocturnal Coding Monkeys, Llc, who specialize in writing custom software. Scott has been a developer, system administrator, storage engineer, consultant, and architect to businesses from startup to global 100.
Article Description: No description available.
Article Length (in bytes): 5,260
Starting Page Number: 90
Article Number: 15611
Related Web Link(s):
http://aloe.zone
http://timdietrich.me/luna/
http://timdietrich.me/xwf/
http://vxug.org/
Excerpt of article text...
This month we are going to discuss a solution that extends Xojo Web Edition. Xojo Web Edition is great at creating web applications. But Xojo Web Edition is weak for creating websites. That is where Aloe (http://aloe.zone) by Tim Dietrich comes in.
Aloe extends the functionality of Xojo Web Edition so it can serve static pages or templated pages better than Xojo Web Edition can natively (see Figure 1).
This is not Tim's first foray into extending Xojo Web Edition: he's also made Luna (http://timdietrich.me/luna/), XWF (http://timdietrich.me/xwf/), and others.
Hal Gumbert has just recenty updated his Xandu (https://campsoftware.com/products/xanadu-for-xojo.php) product to use Aloe over using XWF. Xandu is Hal's way of replacing Filemaker Web version with a Xojo-based system.
Now if we look at the code, Aloe utilizes the
HandleURL
orHandleSpecialURL
event to process the WebRequest.In this example, we are using the
HandleURL
event. (If we were to useHandleSpecialURL
, there would be either an/api/
or/special/
in the URL path.) Look at the example code below. As you can see, it's very straight forward. We just take theWebRequest
object and hand it off to a method to process it.
...End of Excerpt. Please purchase the magazine to read the full article.