O'Reilly logo

SproutCore Web Application Development by Tyler Keating

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Avoiding pitfalls with statecharts

Remember, to design a statechart is to architect an application, and so creating the statechart diagram should be your first step to programming anything serious. And just like with programming, figuring out the proper statechart is a lot of work and you shouldn't expect to get it right on the first try.

While I can't claim to know every technique to creating a proper statechart diagram, I do know at least a few important rules that we should follow. I have already mentioned that it's better to avoid concurrent states if possible because of the extra complexity and a similar idea is to start simple and grow as needed. Statecharts are particularly well suited for capturing the generalized states for the application ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required