Hellow, I was wondering if you can teach me how to add other stuff to the templating sistem like texto to explain whats about the article or more thigs.
Thank you. Martin
PD: I tried to put it like you teached us but it had a few problems
I love this video! Thanks for sharing. I'm just curious, on a philosophical level, why would one use Javascript to build templates in the first place? Is this assuming the absence of a backend solution such as PHP?
I like this one, good job! just one little thing with regards to possible speed optimization... storing the replaced text in a variable first and only changing innerHTML at the very end (after the FOR loop) will speed this up quite a bit, as the DOM would only need to be updated once ;-)
@zathruswriter Yeah - forgot to do that during the video. Refer to the article on Nettuts+ for the updated version. I also included a more automated solution that I personally use.
Hellow, I was wondering if you can teach me how to add other stuff to the templating sistem like texto to explain whats about the article or more thigs.
Thank you. Martin
PD: I tried to put it like you teached us but it had a few problems
CoolDising 1 month ago
The timing for this could not have been better.
travisismyusername 2 months ago
Wow! Mind-blowingly quick and informative.
teamsiems 2 months ago
I love this video! Thanks for sharing. I'm just curious, on a philosophical level, why would one use Javascript to build templates in the first place? Is this assuming the absence of a backend solution such as PHP?
y2kmicroboy 2 months ago
I like this one, good job! just one little thing with regards to possible speed optimization... storing the replaced text in a variable first and only changing innerHTML at the very end (after the FOR loop) will speed this up quite a bit, as the DOM would only need to be updated once ;-)
zathruswriter 2 months ago
@zathruswriter Yeah - forgot to do that during the video. Refer to the article on Nettuts+ for the updated version. I also included a more automated solution that I personally use.
nettutsplus 2 months ago
Simple and great, thank you.
mandos22 2 months ago
Yeah, that shows one of the neat aspects of Javascript, thanks fo that :)
h4emp3 2 months ago
WAOW, i don't hate Javascript anymore.
emrahatilkan 2 months ago
remarkable!!
deoadonis 2 months ago