You know, I’m not very big fan of factory functions, nevertheless, I’m aware of the fact that they may be necessary in some situations.
Inline Anonymous Funcion Pattern
Boilerplate file for extension. Copy&paste it to your app then write your functionality in.
File to copy&paste to your application as a boilerplate for a plugin.
We can use an inline function to build items. See how.
See how to defer execution of an inline function.
Boilerplate for PHP files.
ExtJS Application File Pattern
We don’t create HTML files too often these days, nevertheless, here is the pattern.