I’ve written about the Cappuccino theming system before1 and I have a confession to make, I don’t like the current system.
Let me clarify. Being able to change every visual aspect of a view is great, but currently it’s too complex.
It’s complex because a it requires manual building, even during development. I should be able to make a change, refresh the browser and see the difference. Just like developing everything else on the web, including Objective-J.
Objective-J itself is also part of the complexity.
setValue:forThemeAttribute:inState works great for small amounts of theme changes. But it becomes unreadable when changing large parts of a theme.
With all the talent in the Cappuccino community I’m sure we can work around these problems with the current system. It will however not fix the biggest issue. Designers won’t theme as long as we’re using Objective-J as our theming language.
This is a huge step backwards. Designers have been able to style websites for years using CSS. I don’t see why that isn’t possible for (Cappuccino) web applications.
Obviously this application is a big hack, but it does show what is already possible. Imagine what we could do if we implemented this properly.
Now to also get them to use Git.