Wednesday, March 01, 2006

main, ark initialization

The main method has been moved again. Its now on the Direct class. But that has moved too--its now at framework.portals.text.direct. Perhaps its in the right place now? This main is really only to start up the direct portal. Later, when the framework is run as a backend application & database server, we'll need another main method for starting up the server.

I've also been thinking this morning about the creation of the Etc and Home cabinets. They will be used by the framework, but perhaps not by every application of the Ark class. There could well be single-user applications of an embeded ark. So perhaps the code that creates these cabinets when the ark is empty should be moved into an init class in framework--wouldn't be more than a few lines of code, in any case.

Headed out to the office early this morning, so I didn't get any code written. Besides, I'm still gearing up for the registration command. Should be fun. Last night I added a 1-liner, initializing user to "Guest" when the Env object is created. Note that Env holds most of the session state of the framework. (Well, of course, the portal needs some session state. But mostly that's just a map to the Env object for each user.)

Bill

0 Comments:

Post a Comment

<< Home