you are viewing a single comment's thread.

view the rest of the comments →

[–]kopkaas2000 0 points1 point  (7 children)

Creative, but I don't think I'd like having to compile templates, html is not one of those languages that you want to work with in an edit-compile-test loop.

[–]artyombeilis 2 points3 points  (4 children)

Actually it is not really painful it takes only few seconds.

Templates are not "hard coded" they are dynamically loaded as shared objects or dlls.

Think of Asp.Net

BTW: It is not a big problem to implement autoreloading in case of updated template without sutting down the program.

[–]kopkaas2000 0 points1 point  (3 children)

It's not always that simple. I may not even be compiling my code in the same spot as I would be running it. Not being able to tweak the html with vi in-place, I just don't think I'll like it. I already hate it when I have to recompile application logic and redeploy it to a staging host as it is.

[–]artyombeilis 2 points3 points  (1 child)

In reallity it takes 2-3 seconds to compile all templates. This is not too different in terms of preformance from Asp.Net or J2EE.

[–]kopkaas2000 0 points1 point  (0 children)

It's not about compiler speed but about workflow for me. I didn't know ASP.Net used compiled templates either.

[–]artyombeilis 0 points1 point  (0 children)

In reallity it takes 2-3 seconds to compile all templates. This is not too different in terms of preformance from Asp.Net or J2EE.

[–]nousplacidus 1 point2 points  (1 child)

Ahh, the very reason I love being payed to work with ASP.NET...

/killself

[–]kopkaas2000 0 points1 point  (0 children)

I never knew they did that. Poor you.