As well as those basic types, Items in this new framework can be anything you like. Take files for example since I mentioned the file system was where I got the idea. A class called File could be derived from Item and expose custom properties that are just hooked up to the Attributes and Properties Dictionaries/Lists of the Item type. What needs to happen now is the plumbing to make this possible. I intend to add a few new functions to the Item type to Add/Update and Remove Properties and Attributes without having to manually do the checking if it exists in the dictionary and such. Then our custom properties just use the Item.AddProperty(name,value) function for example in its set and a simple Item.GetProperty(name) in its get. If anyone has a better way to do this, I’m all ears, but this seems the most logical to me at the moment.
Related Posts
Item-based xml data framework
- William Forney
- September 29, 2005
- 5 min read
- 0
Call For Help With The NewGenesis Portal Framework
- William Forney
- August 1, 2005
- 2 min read
- 0
XML in New Genesis portal framework
- William Forney
- August 28, 2005
- 1 min read
- 0