Jump to content

structure for project ( so each user can upload houndreds of images )


Recommended Posts

Posted

Hi,

I'm thinking about what could be a proper structure for one project.

basically, each user is expected to upload many images over time for himself. lets say max about 1000 images per each user. plus, each image needs to have defined 3 integer values that relates to the image.

so my question is what could be a proper structure for this? As far as i know repeater isn't a good choice for this.

I was thinking about creating template that would be allowed to be a child page under user template, and each such a page would store image and those 3 integer fields.

what do you think ?

thanks !

Posted

you mean creating a pagetable field for user template and storing pagetable items as a children of some other custom page? do i understand it correctly ?

if so, what would it be good for?

those images are only important for a particular user, expected to be shown on the front-end only if he is logged-in, and upload would be done on the front end only.

Posted

Yeah, that's what I thought about. It's just that I don't like to pollute the admin section of the page tree with things, that aren't admin related, but content.

  • Like 1
Posted

would that be relatively good structure performance wise? i mean, that custom parent page storing all the images could then have millions of children ....

Posted

each user would be expected to upload max around 1000 images. if we have 1000 users that could make a million.

Posted

BatchChildEditor - provide in the dev version a really nice feature to active and replace the content or children tab with a Lister Interface so handling many pages would be possible for every such userpage.

regards mr-fan

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...