Wednesday, October 19, 2011

Wolfram Alpha APIs for CAS, templates for GyroGears and markup columns for RTreeView

I've been working a lot these days, implementing, fixing and testing.
Wolfram|Alpha APIs are now available in Concept Framework 2.2:

http://www.radgs.com/docs/help/WolframAlpha.html

It has a really simple interface, something like

include WolframAlpha.con
...
var wa=new WolframAlpha(APPID);
var result=wa.Query("pi');

And this is all.

Here is a test application and some responses:















You can ask Wolfram|Alpha for virtually anything.

In Concept Framework I've added a new column type for RTreeView: MARKUP_COLUMN. This allows you to use Pango markup language in column. You can see it in action in the Wolfram|Alpha screenshots.

For GyroGears a new feature: Template Member. This will populate an object based on another template object. You can think of a project management application where you have "Project template" as an entity, which have tasks and so on. Then, when you have a "project" with a many to one relation to Project template, all the members will be automatically initialized with the values from the template.


I've optimized the memory usage in empty arrays (now an empty array uses only a few bytes). This resulted in 5% less memory used by the Gyro-generated applications.

Sunday, October 9, 2011

Concept Application Server 2.2 brings faster CGI script execution

... about 4 time faster, take a look


When running with APID (application ID), the interpreter asks Concept Application Server to give a pipe for communications. This is why is taking significantly more. But, you need APIDs on web only when debugging (in developer mode).... so when you disable AllowCASParent, you significantly speed up your http scripts. Green is CSP (concept server page) ran through mod_concept, blue is static HTML and red is CSP as CGI. As you can see, when disabling APIDs on http, CSP is faster than static HTML.

But now, a new mod_concept module for concept. This module load a script and keeps it in memory and runs it multiple times (you can set CGIProcessSessions in BeeKeeper).

As usual, new features are available on GyroGears. I've reorganized the directory structures, and now an include directory is available for each application. But the really new stuff is GyroGrease - (grease for gyro's gears)


This framework is automatically generated for your application model and is available by checking "Generate high level APIs" GyroGears (in Solution properties).