Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Looking for advice on data structure

$
0
0

Replies: 0

Hi there,

I am attempting to create a custom plugin and would like some advice/ideas on how best to structure it.

I will describe the process in it’s simplest form:

1. Logged in user looks at a business page in a directory.
2. The business has a button which will direct the user to the custom plugin.
3. The plugin will display a number stored in the database against the business (total).
4. The plugin will also display a number stored against the user for this business (current).
5. Each business has a unique code, when entered in the plugin, the user number (current) increases by one.

How would you best go about structuring such data in the database?

I expect 10,000 users and 1,000 businesses.

I can’t believe that it would be best to list every current point total per user per business?

Thanks in advance 🙂


Viewing all articles
Browse latest Browse all 59525

Trending Articles