Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Why does Pivot include its own collection classes?

classes collection Pivot
0
Posted

Why does Pivot include its own collection classes?

0

The short answer is that they make the API easier to use, and provide a consistent API across all classes that require indexed or keyed access. The longer answer: • Pivot’s collection classes fire events that notify listeners when collections are modified. This makes it very easy to wire an application data structure directly into a UI. • Pivot’s collection interfaces enable construction of arbitrary object hierarchies using XML. Any class that implements the Sequence or Dictionary interface can be instantiated and configured completely in markup. Note, however, that developers aren’t required to use these collection classes. Pivot includes various wrapper classes that allow existing model and collection data to be incorporated directly into a Pivot user interface.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123