Properties are things that an object has:
Attributes are things that other objects can use to access or find within its wrapper:
- domain (context)
- range (allowable contexts)
- means (method)
- extremes (constraints)
Perl's task Edit
The very article you are reading has a hidden keyword file embedded in its code. Its domain is perl.wikia.com. Its context is that of an article in the main namespace here. What we want to do in-house is build a tool called a parser that seeks out key words and forms them into a prototypical object that can be easily:
Applied computer science Edit
User:Beland can tell you that the use of perl in parsing Wikipedia content can make life a lot easier to maintainers of a relational database. Perl is adaptive enough to overcome limitations (constraints) imposed by policy enforced at say, Wikipedia.
Article and Talk contexts Edit
Wiktionary, on the other hand is another critter altogether.
In-house lexicon Edit
Our in-house lexicon is essentially a tool for extracting wikilinks, both red and blue from texts, no matter where they came from, as long as they are situated between the opening paragraph and the first section header of a document.
Perl Wiki:Library is what we call our HOUSE. A house can only be a home if there is fuel for the fire, food in the pantry, and boots by the door. Our continuing quest is to make sure that we add value to our content and that job starts at home on our Perl Wiki: project space. See m:namespace
Prototypes and protocols Edit
We must first form our object:
We begin with a wrapper having this format:
<!-- keyword file -->
<!-- keyword file: '''[[Keyword]]s:''' ''[[subject:]] '''[[chronology]]''''' | [[genesis]], [[generate]], [[general]], [[connotation]], [[complexity]] | '''[[term]]''' ''[[awe]]'' /-->
From that we can see that the <OBJECT> is a keyword file and the <SUBJECT> is Chronology. This packet is now a fully-qualified Lexicon Object that can safely be transported to another context. see MUTEX