This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

A query with respect to creation of the shared Objects.

 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,

I am having a query with respect to creation of the shared Objects.

I have seen a example where the Author is creatining Shared Object as shown
below :


and there is nothing related to the word "myTasks" anywhere in the Application .

Can anybody please let me know what is this word "myTasks" mean here ??

Please share your views on this .
Thanks in advance .

 
Hongli Li
Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
just a guess, the word "myTasks" is served as a key to retrieve the shared object, and the object have multi-locals support. So if the user's locale is Chinese,then the code will return a Chinese version of the shared Object, if it's Japanese, then Japanese version of Shared Object will be returned. how to implement this sharedObject, in flex world it's mostly to be a singleton. cairngorm uses singleton a lot you can check that out.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic