PDA

View Full Version : Sencha docs legends explained?



mx_starter
13 Nov 2013, 1:39 AM
Hi guys,
within the beautiful sencha docs all of us have seen the legend of a particular class/method/property.

I'm looking for a place where these legends are explained, e.g.:

What means 'singleton' for a class?
What means 'private', 'protected', 'template', 'chainable', 'static' and so on?

tobiu
13 Nov 2013, 3:16 AM
the topics you address are not entirely sencha related and are called design patterns.

the singleton: true will create a single instance directly to ensure that you can only do that once.
you can search the forums and you should find topics like this one:
http://www.sencha.com/forum/showthread.php?128646-Singleton-vs-class-with-all-static-members

you can also take a look at:
http://en.wikipedia.org/wiki/Singleton_pattern
http://en.wikipedia.org/wiki/Category:Software_design_patterns