تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2429 أدوات العرض

Hi,

So I've been playing around with Odoo's code for some time. I understand most of the basic concepts. However, I am having a hard time figuring out the difference between static and dynamic templates and their applications.

If I understand correctly, dynamic templates are parsed server-side. Meaning that they have direct access to database data.

Static template on the other hand are rendered client-side. Meaning they have no direct access to database data.

Why would you use static templates, if dynamic templates give you access to the data? What is the purpose of having both of these? is it for security reasons?

Thanks in advance!

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
2
مارس 23
1587
0
سبتمبر 20
2161
1
فبراير 20
3125
1
مايو 16
3591
1
مايو 25
44