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

Re : best way to implement common Model.List

$
0
0
Allow me to clarify: either Control must be able to initialize the models and have the other one pick it up. I am not really sure how to do that with the option suggested, but I'll try.

I currently have it working with a (global) application variable which works fine. I am not quite sure why this is a bad idea, since I have lots of stuff in the global namespace (all my models for instance). Care to elaborate? Is it only about avoiding potential naming conflicts or are there other considerations?

Anyway, thanks.
Michel

Viewing all articles
Browse latest Browse all 3491

Trending Articles