Hi there,

I'm currently playing with Lift, and one of the things that surprised
me was how much Javascript code is in Scala for snippets and bind.
I'm not saying this is bad, because I haven't done an app this way
yet, but I'm more used to writing the JS myself using jQuery or some
other library.
I'm wondering if anyone has had more experience working with Lift and
maintaining an app in it, to say when in their opinion is a good time
to put things in JS or in Scala snippets, and the advantages and
disadvantages of putting most of the JS in snippets. (would you mostly
use it for Ajax callbacks and comet-related stuff, or would you do a
lot more stuff like hide/unhiding elements, etc. in scala?)

The one thing I can think of is Scala's type safety, but when for
example, I accidentally change an HTML node's id and there is a JSCmd
to trigger behaviour on that, there won't be JS errors, but the
"right"/expected behaviour won't happen either.

Thanks,
Tim

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to