Quantcast
Channel: JavaScriptMVC Forum
Viewing all articles
Browse latest Browse all 3491

Re : Interaction between Controllers

$
0
0
Probably youre right. May I ask, how you would generally include an api into javascriptmvc and how you would seperate the logic? The problem is, that the FB-SDK functionality is used in very different contexts, but shares some common variables and some of them could only be intialized once. Inheriting from it or initialzing a new isntance it for every controller which uses it, seems not very practical for me.

Viewing all articles
Browse latest Browse all 3491

Trending Articles