Jump to content

Performance optimization in a module


Kogkalidis

Recommended Posts

I make a blog module and now comes the pagination issue where I need the rows count for the respective calculations.

I have an idea to make a table lets say category_total where I will have 2 columns (category_id, total) where I will update the total once I add or delete something. I will delete the row only if the respective category gets deleted from the system.

Is it a good approach or you have something better in your mind? Thanx for your valuable time

Link to comment
Share on other sites

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
×
×
  • Create New...