I think Topica is flaking out on me again...I posted this to SteerFB, but haven't seen it show up...reposting here...
The OO port of FB that Kace did got me thinking about how circuits are used in FB and how we normally "register" new circuits that we plug into an application (i.e. manually add them to the fbx_circuits file). If anyone is unfamiliar with the port he did, I have a copy of it here: http://www.kyid.net/dl/index.php I like the XML approach he took and was pondering about adding a generic circuit registration page to FB. Something along the lines of a simple interface that the user can enter that subdirectory (one step down) where the plugin is located and this will look into the subdirectory for the circuits.xml file and will extract the circuits and add them to the root circuit.xml file. And of course can remove them from the root circuits file as well... I was also thinking there could be another flag added to the circuit xml definition, "standalone", which is a yes/no that indicates whether the subcircuit should be able to execute as an independent application or not. If the flag is set to no, then the core should look one directory closer to the root to see if that circuits is set to yes/no, and continut moving up until it finds a "yes" - with the root level required to be set to yes. This way you could plug a whole application into a subdirectory and control whether it will execute or not if a user gets the bright idea to browse directly to that subdirectory. <circuits> <circuit name="validation" dir="validation" standalone="no"> </circuit> <circuit name="agame" directory="games" standalone="yes"> <circuit name="shooter" directory="fps" standalone="no"> </circuit> <circuit name="roleplay" directory="rpg" standalone="no"> </circuit> </circuit> </circuits> I don't know about his XML for layouts idea, but I think doing something like this with circuits would make it extremely easy for people to plug circuits into an application...no? Cheers, Keith. ==^================================================================ This email was sent to: [email protected] EASY UNSUBSCRIBE click here: http://topica.com/u/?bUrFMa.bV0Kx9 Or send an email to: [EMAIL PROTECTED] T O P I C A -- Register now to manage your mail! http://www.topica.com/partner/tag02/register ==^================================================================
