Jahia Dev Forum > Handling large a...

0 (0 Good)
0 (0 Bad)

Handling large a mouth of nodes for a cocktail's module

by  rvt »  2013/03/16 02:52

Hello!

I am converting a TYPO3 website with it's database to Jahia. The import went well, and I have pages created content.. A portion of this website contains seperate tables with cocktail information with +5000 cocktails and +1200 ingredients (and some other related info like glasses types, images etc...)

Importing this information isn't such a of a big problem, however I am wondering what's the best way is to manage this number of nodes?

Play around with the content manager shows that loading the dataset takes a lot of time, just clicking on the content folder to show all ingredients takes seconds to load, not to mention scrolling in the edit mode, this is teh same for the cocktail nodes, so just using the plain content manager seems to be a no-no.

What options do I have to make a editor for all datasets? i browsed through the module for an example, but couldn't find anything that would handle +1000 or more nodes, so I am not sure how to tackle this problem.

Any suggestions and hints are mor then welcome.

Ries

  • Handling large a mouth of nodes for a cocktail's module
    2013/03/16 02:52

    rvt <p> Hello!</p> <p> I am converting a TYPO3 website with it&#39;s database to Jahia. The import went well, and I have pages created content.. A portion of this website contains seperate tables with cocktail information with +5000 cocktails and +1200 ingredients (and some other related info like glasses types, images etc...)</p> <p> Importing this information isn&#39;t such a of a big problem, however I am wondering what&#39;s the best way is to manage this number of nodes?</p> <p> Play around with the content manager shows that loading the dataset takes a lot of time, just clicking on the content folder to show all ingredients takes seconds to load, not to mention scrolling in the edit mode, this is teh same for the cocktail nodes, so just using the plain content manager seems to be a no-no.</p> <p> What options do I have to make a editor for all datasets? i browsed through the module for an example, but couldn&#39;t find anything that would handle +1000 or more nodes, so I am not sure how to tackle this problem.</p> <p> Any suggestions and hints are mor then welcome.</p> <p> Ries</p>

  • Number of messages  185
    Registration date Mar 16, 2013
    0 (0 Good)
    0 (0 Bad)

    Re: Handling large a mouth of nodes for a cocktail's module

    by  shuber »  2013/03/16 12:29

    Hi Ries,

    Well if you're willing you could use YourKit to analysis the performance of the content editing interfaces and see if there's anything that could be improved. Btw on which version were you testing ?

    As for building custom interfaces, you could build customer rendering that could take offsets and limits and use REST POST to submit updates but usually it is not a good practice to put thousands of nodes under the same parent. It is usually recommended to split them into sub-groups by date, first letter, or other grouping mechanisms.

    Best regards,

      Serge Huber.

    Serge Huber (shuber)

    Number of messages  271
    Registration date
    0 (0 Good)
    0 (0 Bad)

    Re: Re: Handling large a mouth of nodes for a cocktail's module

    by  rvt »  2013/03/16 13:31

    Sergey,

    I have been playing with auto split nodes, and I think this will work for me to split the number of children below a node to a resonable size. 

    My main question, and I think I didn't make myself clear is what I am reading from you is that to manage the cocktails/ingredients etc I should create within the cocktails module a component that can do CRUD operations on the nodes (add nodes below nodes, update properties etc...) this module will work on the website in the default or live workspace, is that correct?

    Ries
    ##jahia@freenode.net

  • Re: Re: Handling large a mouth of nodes for a cocktail's module
    2013/03/16 13:31

    rvt <p> Sergey,</p> <p> I have been playing with auto split nodes, and I think this will work for me to split the number of children below a node to a resonable size.&nbsp;</p> <p> My main question, and I think I didn&#39;t make myself clear is what I am reading from you is that to manage the cocktails/ingredients etc I should create within the cocktails module a component that can do CRUD operations on the nodes (add nodes below nodes, update properties etc...) this module will work on the website in the default or live workspace, is that correct?</p> <p> Ries<br /> ##jahia@freenode.net</p>

  • Number of messages  185
    Registration date Mar 16, 2013
    0 (0 Good)
    0 (0 Bad)

    Re: Re: Re: Handling large a mouth of nodes for a cocktail's module

    by  shuber »  2013/03/16 15:50

    Hello Ries, 

    Just be careful with autosplitting, it can be tricky to use if you ever try to move something. 

    For the CRUD operations I was simply suggesting this if you wanted to build a UI that you can control in terms of scaling and user experience and if the default Jahia UIs were somehow not useable. It's not very difficult to do you can use JQuery AJAX code to do the posting as we have done for example in many components such as the forum or others.

    Serge Huber (shuber)

    Number of messages  271
    Registration date
    Contact
    Share
    Feedback

    Get in touch

    Whether you are a current user or if you are just evaluating Jahia, we are here to help.

    Contact us

    Share this page