IDE Minutes 2008-09-02
From MemberWiki
Attendees
- Jon
- Rich
- Stew
- Lori
- Bertrand
- Phil
- Kin
- Wayne
Minutes
- What is passed to a constructor?
- Bertrand, common is either type name or object, Could do both by usingthe typeof the passed parameter ... a string means it is the name type, otherwise a object provides the type.
- Google gears uses a type reference .... beta.foo.typeName
- Are we trying to avoid enumerating all the types of objects that could be returned? (could be infinite)
- What if it is finite? ....
- Jon: What if we went to the flexibility of full javascript?
- Bertrand: IDEs could be free to not execute this js
- Phil: Isn't this just a variant on Jon's proposal using js rather than a new language?
- Jon: Likely, but a different attribute name would make sense
- Lori: Is this generic to other methods than factories ... multiple types could be returned
- Jon: Likely (others confirm)
- An example on email requested ...
- Stew/Wayne demoed widget vs mashable widgets:
- Showed a wrapper around the basic digit calendar widget to become an OAA mashable widget
- Kin: Why wouldn't the wrapper be what is described in the metadata?
- Noted that a mashable widget receives the WidgetWrapper as a constructor argument
- Likely we would require a widget to do defensive coding ... a null widget wrapper means those functions aren't available
- Another option is that the object always exists, but may not provide full functionality.
- Also, a widget could say that it needs the mashable feature
- Jon: perhaps what we really need is a pared down Widget wrapper an IDE could incorporate
- Stew will send out some pointers for furthwer digesting before deciding how to proceed