•   
  • 1
  • 14
  • 15
  • 16
  • 17
  • 18(current)
TheCocktailDB.com - An Open Cocktail Database with API
No, you should never query an entire db at once it would be very inefficient and painfully slow for the user interface even with lazy loading.

Use the filters for ingredients and create category buttons in your app. Then list the cocktails to browse, then do another lookup on the ID once a user clicks on the cocktail for the details.
Image Image
Reply
(2021-02-07, 22:55)docwra Wrote: No, you should never query an entire db at once it would be very inefficient and painfully slow for the user interface even with lazy loading.

Use the filters for ingredients and create category buttons in your app. Then list the cocktails to browse, then do another lookup on the ID once a user clicks on the cocktail for the details.

Thank you! Smart I didn't think of it like that!
Reply
  •   
  • 1
  • 14
  • 15
  • 16
  • 17
  • 18(current)



Logout Mark Read Team Forum Stats Members Help
TheCocktailDB.com - An Open Cocktail Database with API2
This forum uses Lukasz Tkacz MyBB addons.