Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我不确定为此接受的设计模式是什么。如果没有收藏品,我似乎无法让任何东西正常工作,而且似乎没有其他人这样做。
您可以很好地使用视图和模型,没有义务在集合中拥有模型,集合可以在您需要工作时为您提供帮助并对一组模型进行调整。