> This is the first of (hopefully) more posts about the not so new Cappcuccino framework that uses Objective-J (which gets parsed into JavaScript) to write *desktop class* web applications Today, I want to talk about objects in Cappuccino, with the main focus on the **UID** property within *CPObject*[^1], and, because every class should inherit from *CPObject*, every other object. There are situations (and they aren't very seldom) when you need to store a dozen or much more objects in some kind of structure or information that is related to objects but can't be attached to them (because of design pattern prohibiting extension of objects). A example of this is the *CPOutlineView*, that needs to store information (expanded?, selected?) that belongs to the objects that are provided by the datasource (*items*). To have efficient storage, it uses an private property called * _itemInfosForItems* which is a JavaScript object and acts like a key-value storage. But how does it work? It's easy: As mentioned a
More
Support this project and others with 1-click micro-donations
