Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2668 มุมมอง

Hello,

I am trying to understand the model view controller MVC concept of the frontend.

Odoo uses Python for the backend and Javascript for the frontend.

From what I've seen in the source code. I believe there to be 2 MVCs in Odoo.
One that is Python and the other that is Javascript.


The Odoo Python models, I understand them to be a representation of the database table. The views are a aesthetic representation of the data that is contained in the model. The controllers I don't exactly know what their purpose is.


The Odoo Javascript models, I understand as a collection of functions that help with data storage and retrieval from the database. The views aesthetic representation of the data contained in the model. Once again I don't know the controllers purpose.

Can anyone please help me understand this a little better?

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
1
มิ.ย. 23
2121
0
เม.ย. 21
5145
how does it worked controller in odoo 17 แก้ไขแล้ว
2
พ.ค. 25
2630
1
ส.ค. 22
2987
Controller inheritance แก้ไขแล้ว
1
เม.ย. 21
5274