javascript - Use iframe for mvvm design pattern -
is idea use iframe mvvm pattern? using knockout js similate mvvm design pattern in c#. thinking of making independent components own html files (view) corresponding .js file (model) them, , render them using iframe whenever pages needs them. way can create many reusable components.
can 1 please explain in details pros , cons of doing so? thanks
using frames in web development, important parts of page, bad idea. should used embedding 3rd party plugins (like shoutbox). other stuff should use partial postbacks ajax instead (if need kind of behavior). can create reusable parts/controls both mvc , webforms frameworks, shouldn't have problems.
if need know why frames bad idea, google it, there has been way many talks already.
Comments
Post a Comment