[Helma-user] more server side js
Aaron Iba
aiba at alum.mit.edu
Fri Dec 14 17:45:45 CET 2007
Yes, appjet.com is served from helma. *.appjet.com is served from
our own Jetty-based webserver. Using helma has truly been a pleasure.
> > And then also, on their own site, there was a time when Helma errors
> > appeared:
> >
> > Macro error in this.guideExample: ReferenceError: "hcl" is not
> > defined. (/appjet/live/helma-1.6.0/../frontend/helma_apps/appjet/code/
> > Global/global_functions.js#250)]
Oops! Incidentally, what's the right way to catch and log macro
errors like this?
> I don't particularly like the way they did it. Smell to much like PHP
> for my taste. However, that might exactly be what is needed to give it
> the killer app appeal. At the very least, this could help plow the way
> for something more elegant, if anything.
The php smell probably comes from our design requirement that you be
able to write an entire app in 1 file of code. We can probably all
agree that this breaks down as a project gets really big. (The appjet
frontend itself would probably not fit very nicely into 1 file of
code). But for small apps, I think it's a good fit.
Aaron
More information about the Helma-user
mailing list