Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2379 Lượt xem

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!

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 3 23
1533
0
thg 9 20
2099
1
thg 2 20
3079
1
thg 5 16
3541
1
thg 5 25
44