New pseudo-templates based in native php to improve speed