Robert Shiplett's Blog

Previous Next
4


The Curl framework for the book, Enterprise Curl, has been upgraded to Curl 6.0 and is now in an SVN repository at http://code.google.com/p/curl-enterprise-framework-v1-1/

The code can be downloaded from the same site in a ZIP file.

It has only been testing in IE7 on Windows XP

To run the VMS Motors example from the book, visit www.logiquewerks.com

The demo may take a moment to start as the PCurls load. Not all features have been restored (the splash screen used undocumented code from a 2.0 pre-release for subapplets; the MDI interface and the toolbar need some work.

All scurl files have been renamed to lowercase for the yahoo host, but only a few have been converted to hyphenated names.

There are a few minor changes to AppParameters class for ease of use in a web container or running locally; some GIF files are now JPG's; there is now use of {register-suspend-proc}; a TabPane abstract class was added.

I have started an index to the Enterprise Curl book at another link at logiquewerks.

Some of the code is of slightly uneven quality and there are memory and GUI issues once the MDI windows are opening. But since the book is available, I thought it worthwhile to have a working version of the example from the book.

The book has treatments of SOAP with web services and the basics of using a SAXParser.

That so much code from early in version 2.0 could be upgraded with such ease to Curl 6.0 is a testament to the backward-compatibility achieved by the Curl team: all code ran from local files once the version was flipped toCurl 6.0, including the dodgy subapplet code for a splash pane.



Sep 15, 2008 5:53 PM Click to view rshiplett's profile rshiplett

To see the revised files online in a public folder, you can go to http://curl.logiquewerks.com

Sorry - I had posted that URL with a www ...

Sep 28, 2008 5:44 PM Click to view rshiplett's profile rshiplett

At www.LogiqueWerks.com I have replaced the version 1.1 Curl 6 revision of Paul Sheehan's "Curl Enterprise Framework" by a slightly re-factored version which uses only the documented sub-applet API?s of Curl 6.

The communications are richer in the case where the parent is Curl (enterprise-parent.curl) but the link from the web page uses no undocumented API's in the enterprise-parent.html.

If you found the shape example in the extended IDE documentation to be unclear or the IDE doc's Subapplets chapter a bit dense, you may want to look at the use of 'parent-invoke-handler' in the re-worked Logon class in login.scurl (now found in the VMS-MOTORS package.) In keeping with the examples, the SplashScreenManager class now has a 'splash-callback' field and a method {start-splash-callback callback:String}:void

The file 'enterprise-parent.curl' is only 81 lines and should be a good example of the applicability of the code in the working 'shape' example as it has made a splash screen available again without using undocumented Curl internals.

I note in my blog at EclecticPencil (http://plymouthreliable.com/blog/2008/09/28/curl-enterprise-framework-refactoring-and-sub-applets/) that this is not the best use for a subapplet, but it is the use of IPC in the book.

Sep 29, 2008 5:35 AM Click to view rshiplett's profile rshiplett

The source and key demo files for 1.2 are now available at code.google.com
Just search on Curl Enterprise or go to http://code.google.com/p/curl-enterprise-framework-v1-1/downloads/list

Oct 14, 2008 4:50 PM Click to view rshiplett's profile rshiplett in response to: rshiplett

I have added a brief WIKI page at http://code.google.com/p/curl-enterprise-framework-v1-1/wiki/PageName

Robert Shiplett's Blog

Notes from the workday of a lead Curl developer at a commercial software house specializing in integrated financial packages for audit, governance, compliance and enterprise risk assessment and management