Another thing, since the code i wrote is not directly JSF related
but is a generic approach of java multiline templating,
should we even host it at MyFaces?
Another option would be to have it as a self hosting project
on sourceforge or java.net
an existing build process in MyFaces still could fetch the
maven plugin (which comes with the compiler) via maven
and a java.net repo reference.
Werner
Andrew Robinson schrieb:
But the problem persists, how are we going to improve the readability of the
rendered code and how do we maintain the much needed speed on component
level?
A very good question. I wonder if there is a way to get JSP-like
runtime compilation of HTML template code and have that compiled code
get as close to being inside the renderer as possible. Using XML isn't
that bad for performance if the DOM is cached, but then that puts a
nice overhead on the heap. Developing components myself, I find the
experience very frustrating as maven builds and redeployments tend to
be very slow. I think this is why most web sites are written in perl,
php or python, there is no redeployment necessary, just immediate
gratification.
I wonder if groovy, jython or some other "java script" language could
be leveraged to be able to author in external files but have it become
java byte code to be able to go directly into the JIT? I don't have a
good solution as I don't like JSF renderers for speed and convenience
of development, but also don't like on-the-fly interpretation for
speed reasons.
Anyone have a profound thought?
Werner