We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 7434
    • 24 Posts
    Hi everybody

    I have a music directory site (www.metalbible.com) which is currently in joomla and i am thinking to port it to Revo
    The problem is that it has 25k+ entries (artists, albums, songs).

    I can see 2 solutions.

    1. To use extra tables (the ones I already have), but as far as I know I will not be able to take advantage of ditto that way and

    2. To import somehow my data to the standard modx tables (by creating documents and TVs) but I am not sure if it is possible

    Do you have any suggestions?

    Thanks in advance
    Dimitris
      • 10152
      • 156 Posts
      Hi !

      I had the same type of question, asking about how to create a huge load of resources ( in the doc tree ):
      http://modxcms.com/forums/index.php/topic,46185.msg272398.html#msg272398

      OpenGeek said :

      I hope those 10000 documents are isolated into reasonable quantities in separate contexts. 10,000 Resources in MODx is not going to be efficient.
      You might consider not caching the Contexts to avoid loading metadata for all 10,000 Resources on every page request. This will increase the load time of any uncached Elements that rely on Context data (the context cache preloads a map of all the pages/URLs as well as source for the plugins that apply to a particular context) because they would have to fetch that data on demand. But if you properly cache all your Resources and the Elements on them, this may perform better than loading such a large context cache file on every request.

      Stop me if I am wrong, but it seems the best choice is to re-use your custom table and to code an administration interface that will show in the "Components" menu.
        • 7434
        • 24 Posts
        Thanks for your answer.

        I also thought that it would be the easiest way (to reuse the existing tables) but my problem is that ditto doesn’t seem to work if the content comes from custom tables.
        For example I can display the artists with a TV with @SELECT input and Hyperlink output but that’s all I can get. After that I think it needs a lot of custom coding.
        That’s why I try to import the old content to the modx tables