While making my choice b/n Array and Arraycollection I get confused why whould I use one and why not another.
I have read the theory in langref but apart from that is there some general advantages/disadvantages of one over the another that you have learned from your experience.
Thanks in advance.
An ArrayCollection is a wrapper over an Array. It provides sorting and filtering functionality which can be used for display purposes without affecting the underlying data.
By using a collection class, it is also easy to switch between data formats, such as to an XMLListCollection without having to re-write all of your sorting and filtering code. [at least in theory].