jquery javascript module architecture on a website
Posted
by stephan
on Stack Overflow
See other posts from Stack Overflow
or by stephan
Published on 2009-07-21T09:47:36Z
Indexed on
2010/03/24
2:33 UTC
Read the original article
Hit count: 247
I want to write a module on one html site - I will never leave the site
I think about two possible concurrent basic approaches:
We go into the module by use only a specific function (with specific params - everything which will happen, happen there - logic, exception handling etc)
We go in by using one handler-fct, which manages some kind of action & a dataArray (depending on the action also fcts will be called -> but not directly maybe for exception handling)
So what you prefer?!
© Stack Overflow or respective owner