We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 29715
    • 6 Posts
    hello

    sorry for my english

    I need some advices

    I’m creating a site with a collection of bar clubs etc

    and for any place i would have a page with descripton, type, open-close hour etc
    i’m thinking on saving this infos (name, type, hour, address, city, etc) in a db-table out of the modx tables
    and take this infos from db for adding in the page of each venue

    ex.
    location name: blue club
    page: http://site.com/disco/blue_club
    the page disco has a snippet that take from db (query finding info of blue club) infos and put in the page

    i’m not using a page a venue for the easiness of reusing the data of any venue also from other parts

    what are problem of this choise
    there are other choises to be considered

    page are cached by the modx system?

    advice or other tips?


    thanks in advance!
      • 22295
      • 153 Posts
      I suggest you read this post (and linked posts):
      http://modxcms.com/forums/index.php/topic,45269.msg269473.html

      i’m thinking on saving this infos (name, type, hour, address, city, etc) in a db-table out of the modx tables
      don’t think twice, use xpdo.

      page are cached by the modx system?
      Yes, you can control what, it’s pretty flexible.
      http://svn.modxcms.com/docs/display/revolution/Caching