Jump to content

Adding sorting and pagination to data from different DB


anuja12

Recommended Posts

My task is to take data from different databases  in different server and to display them in a single web page.I am working in joomla and i am able to take data from the databases using separate queries for each database.But the problem is that i need to give sorting and pagination to this web page. how can i do this without making any performance issue since all the databases contains a lot of data.

Or can i use a single sql query for this ??

Link to comment
Share on other sites

theres a tutorial on this link for what you are trying to do:

 

 

http://api.joomla.org/__filesource/fsource_Joomla-Framework_HTML_joomlahtmlpagination.php.html

 

But here i am using 12 sql queries.I cant apply pagination and sorting to these queries directly.i need to apply them to the list made using  the data from all those databases.

 

And is there any method to get data from the databases using XML .

 

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.