Hi, guys, sorry for delayed response. I'm working hard on my master's
degree at the moment and the project using Lift is just one of the
things I do as a part of it. So, having got stuck with this problem I
decided to concentrate on other things not to spend time irrationally.
As a disclaimer: I am completely new person to web development, so I
am not so good at working with HTML, CSS, JavaScript, AJAX, Comet,
data persistance, session and request management, RESTful services/
APIs, and etc. - that is the plenty of things I somehow managed to
avoid for many years of studying and several years of working, being
engaged in mostly calculational tasks, algorithms, or simple GUI
programming, touching RDBMS's doing nothing more than simple SELECT/
UPDATE requests. That is the reason why I may miss some simple things,
because at some moments I feel my head is going to blow up not being
able to cope with such a massive attack of tough stream of new
information.
Well, first of all, Richard D., I want to thank you so much for
providing extremely minimal example highlighting the issue I faced
with and was unable to provide it myself. I had to be too sleepy or
completely blind in order to comletely miss it. Perhaps, I was in a
hurry and was struggling for trying out more complete example.
Diego M. and Lukasz K., thank for your responses and advices. I am
aware of putting big JS-scripts into a separate file, that is (as it
was stated in the first message of this thread) just an example from
the "Exploring Lift" book. Learning JS abstraction I tried this
example and it didn't work for me, then I spent several hours trying
to work the reason out by myself, reading other books, tutorials,
searching the web and browsing the sources of the Lift - but with no
luck. Only after those attempts I allowed myself to disturb folks of
Lift's Google group.
By the way, Lukasz mentioned that "It has another benefit you don't
send so many bytes by wire." I am not so good at what ends being where
(I mean client and server sides), but I don't understand how a client
can get use of JS in a separate file not having downloaded it a
priori? Or, maybe, you mean that functions generated by Lift do a
remote call to webapp's server?
And finally, David P., you do a great job developing LiftWeb and I
really appreciate it. More over, I feel some excitement learning it
and the Scala language alongside, despite there are (I am from Russia)
only several employees stating in description of their vacancies that
"familiarity with Scala/Lift is a plus". So, mostly I learn them for
self-education.
I admit that sometimes my replies are rude (and most probably you are
much older than me), but I try not to stash my thoughts when I feel
something goes wrong. I have to say that your position on
participating in new-comers' investigations (particularly, of you
framework) is contrary to mine. As for myself, I try to follow simple
rule: if you are able to help newbie, just help him/her, - no need for
lectures and exhortation (maybe I use not the best fitting words, not
being native speaker of English, but you have to get the idea). And,
in the future, if you feel uncomfortable to give an answer/explanation
when I am, as you have said, "nagging", please, just ignore me. Maybe
a month or two ago I was watching some video with you on LiftWeb
framework, and you mentioned that the Lift's community is very
friendly and responsive. It really is, not so much as for it's
originator. Wandering around in the Web while paying interest to Lift,
several times I saw your invitations for live talk in some caffe or
there appear to be some hours at your office when you are ready for
consultations on usage of Lift. Feeling uncomfortable with your
response, I really want to blame you for still being unable to provide
good and thorough documentation (what would be a much greeter
investment in supporting the framework), but I realize that you are,
surely, a busy person, have to take care of your family and writing
Lift at your own will providing it for free, after all. So, it
wouldn't be right. Thanks again for all you do for the world of free
and open source software, just try to be less schoolmarmish.
Dmitry F. Volosnykh
Moscow, Russia
On Apr 25, 12:44 am, Richard Dallaway <
rich...@dallaway.com> wrote:
> In case it helps, it looks like a smaller example exhibits the same
> symptom. Viahttp://
exploring.liftweb.net/onepage/index.html#lst:Jx-trivial-example