1 مستودع
Conversion of template sources into standalone JavaScript modules to eliminate runtime compilation overhead.
Distinct from Distribution Module Compilation: Specifically targets templates being compiled into JS modules, whereas the parent is for general distribution module compilation.
Explore 1 awesome GitHub repository matching programming languages & runtimes · Pre-Compiled Template Modules. Refine with filters or upvote what's useful.
doT هو محرك قوالب JavaScript مجمع ونظام عرض يستخدم لتوليد نصوص وHTML ديناميكية لكل من واجهات المتصفح وبيئات خادم Node.js. يحول سلاسل القوالب إلى دوال JavaScript قابلة للتنفيذ لإنتاج مخرجات نصية عبر بيئات تشغيل مختلفة. يركز النظام على تجميع ملفات مصدر القوالب مسبقاً في وحدات JavaScript مستقلة في وقت البناء. تلغي هذه العملية عبء التجميع في وقت التشغيل، وتزيد من سرعة التنفيذ، وتمنع حقن الكود الضار. يدعم المحرك الاستيفاء القائم على المنطق باستخدام الشروط ومكررات المصفوفات، بالإضافة إلى إنشاء أجزاء ووحدات ماكرو قابلة لإعادة الاستخدام. تشمل القدرات الإضافية التحكم في المسافات البيضاء، وتكوين المحددات المخصصة، والقدرة على تعيين هياكل الأدلة تلقائياً إلى معرفات القوالب.
Pre-compiles template sources into standalone JavaScript modules to eliminate runtime compilation overhead and increase security.