Best way to count page view in Plone

后端 未结 6 539
名媛妹妹
名媛妹妹 2021-01-13 15:00

I\'m working in a case require fairy complex use of page views.

Each content object will have page view, and this should be accessed easily so that we can do various

6条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-01-13 15:18

    A write on every access is a worst-case scenario for the ZODB. Relational DBs are generally pretty good at this sort of thing, and I'd look at that first.

    Need to sort on the data? Just add some utility or content type methods to query the db. When you need to lookup, do the catalog search, then use the db-connecting methods to annotate the data for the sort.

提交回复
热议问题