Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor naming conventions and add new injectable function wrappers #29

Closed
wjohnsto opened this issue May 28, 2014 · 0 comments
Closed

Comments

@wjohnsto
Copy link
Member

AppStatic -> IApp (injectableType = CLASS)

Http -> IHttp (injectableType = SINGLETON)
HttpConfigStatic -> IHttpConfig (injectableType = SINGLETON)

PromiseStatic -> IPromise (injectableType = CLASS)

Compat -> ICompat (injectableType = SINGLETON)

ControlStatic -> IControlFactory (injectableType = FACTORY)
- need to add getInstance() method

AttributeControlStatic -> IAttributeControlFactory (injectableType = FACTORY)
- need to add getInstance() method

NOTE: need to update injector to not look for '$AppStatic'

DocumentStatic -> IDocument (injectableType = SINGLETON)

DispatchEvent -> IDispatchEventInstance (injectableType = INSTANCE)

ErrorEventStatic -> IErrorEvent (injectableType = CLASS or INSTANCE?)

EventManagerStatic -> IEventManagerStatic (injectableType = STATIC)

LifecycleEventStatic -> ILifecycleEvent (right now its injectableType = SINGLETON but I think injectableType = CLASS or INSTANCE?)

NavigationEventStatic -> INavigationEvent (injectableType = CLASS or INSTANCE?)

ExceptionStatic -> IExceptionStatic (injectableType = STATIC)

Parser -> IParser (injectableType = SINGLETON)

Regex -> IRegex (injectableType = SINGLETON)

Tokenizer -> ITokenizer (injectableType = SINGLETON)

Navigator -> INavigatorInstance (injectableType = INSTANCE)
RoutingNavigator -> IRoutingNavigator (injectableType = SINGLETON)

ContextManagerStatic -> IContextManagerStatic (injectableType = STATIC)

Compiler -> ICompiler (injectableType = SINGLETON)

CommentManagerStatic -> ICommentManagerFactory (injectableType = FACTORY)
- need to add getInstance() method
ElementManagerStatic -> IElementManagerFactory (injectableType = FACTORY)
NodeManagerStatic -> INodeManagerStatic (injectableType = STATIC)
TextManagerStatic -> ITextManagerFactory (injectableType = FACTORY)
- need to add getInstance() method

CacheStatic -> ICache (injectableType = CLASS or FACTORY?)
ManagerCacheStatic -> IManagerCache (injectableType = SINGLETON)
TemplateCache -> ITemplateCache (injectableType = SINGLETON)

LocalStorage -> ILocalStorage (injectableType = SINGLETON)
SessionStorage -> ISessionStorage (injectableType = SINGLETON)

Attributes -> IAttributesInstance (injectableType = INSTANCE)
BindableTemplatesStatic -> IBindableTemplatesFactory (injectableType = FACTORY)
- need to add getInstance() method

Dom -> IDom (injectableType = SINGLETON)

DomEvents -> IDomEvents (injectableType = SINGLETON)
DomEventsConfigStatic -> DomEventsConfig (injectableType = SINGLETON)
DomEvent -> IDomEventInstance (injectableType = INSTANCE)

ResourcesStatic -> IResourcesFactory (injectableType = FACTORY)

TemplateControlStatic -> ITemplateControlFactory (injectableType = FACTORY)

ViewControlStatic -> IViewControlFactory (injectableType = FACTORY)
- need to add getInstance() method

Utils -> IUtils (injectableType = SINGLETON)

BrowserConfig -> IBrowserConfig (injectableType = SINGLETON)
NOTE: Need to change either routeType or routingType

Browser -> IBrowser (injectableType = SINGLETON)

UrlUtils -> IUrlUtilsInstance (injectableType = INSTANCE)
NOTE: Need to move this out into its own file

Router -> IRouter (injectableType = SINGLETON)

WindowStatic -> IWindow (injectableType = SINGLETON)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants