338376 (1) [Avatar] Offline
#1
Hi Jeremy,

why don't you use the Controller as syntax in your code samples?


Regards
jeremy.wilken (208) [Avatar] Offline
#2
Hello,

"controller as" syntax is most useful in cases when you have multiple controllers with access to a particular element on the page. In my apps, each view has a single controller and does not need "controller as". It can be a great feature to use when it provides benefits. Some would argue you should always use it, but I say it should be up to the developer.

Jeremy
FitzChivalry2 (23) [Avatar] Offline
#3
Thanks for your quick responses to posts on the AO. It's nice to know you're so engaged and interested in our feedback!

This particular response was in well under an hour!
jeremy.wilken (208) [Avatar] Offline
#4
Thanks, I do the best I can to reply as soon as possible. I want to make the best book possible, so any input is certainly welcome!