|
|
Hello World What would a software language be without the Hello World demo? Hello World consists of: The Hello World code is simple – a class that contains two properties. The ‘CreationDateTime’ property is the date and time when the object was instantiated. The ‘Age’ property is the greeting, i.e. “I was created on Wed, Jun 11, 2008 9:52 AM”. (And yes, it could have been done with one property.)
- The key point is that within this simplicity the Hello World objects are persisted.
The display has 2 Web Parts. The first Web Part prompts the use to say hello, i.e. click ‘Hello World’ to create an object. The second Web Part displays up to five most recently created Hello World objects. The code produces persistent objects. Say Hello today and check back tomorrow or in the next ‘millennia’ to verify that your hello is still here. (We recognize that only the five most recently objects are displayed.)
|
|
|
|
|