best practices - Forum

Forum Navigation
You need to log in to create posts and topics.

best practices

Hello, I have a structure with 3 tables master/detail like continent/country/ town with less than 1000 records for the last level.

I would like to know if the best choice is to use a database or a JSON file to store the data with visualneo web ?

If it is JSON, is it better to have one big JSON or one JSON per level ?

thanks in advance for your answers.

Hi @phil78

If your records won't be too big, you can use JSON and try to use pagination to load records 20 by 20, 40 by 40, or whatever. This is good to load records very fast.
Use pagination too if you decide to use database. Well, this is my preference.

Happy coding!

thanks @asleycruz I will take your advice, I guess LoadAsyncJSON handles the pagination because I don't have the hand to do it...

@phil78

You can use neoTable to display the rows/columns ... it has built in Pagination ... and it accepts JSON as input (which can be output from neoCms).

luishp has reacted to this post.
luishp

thanks @gaev , this was indeed my intention