Hi,

I wanted to follow best practices and thus using LUDA, but I found the
following weekness: I have to rewrite code common to all of the actions in
every action method.

When using JavaScript to set e.g. the action attribute, I can do some common
stuff in the execute method and then decide (if) what specific code to do
based on the action. However, if there are separate methods for each action,
I would have to either rewrite that code or make some common method and move
the code there (then there is problem with returning variables, or having
them as class variables - both doesn't seem very nice).

Am I missing something here? How are you guys dealing with this?

Thx for tips.

Radek

Reply via email to