Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

application design question

 
k Oyedeji
Ranch Hand
Posts: 96
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I am building a classifieds type application. Users will be able to add adverts which other users can then search. My question is would it be a bad idea to load all the adverts in to the application object from the database once when the application is initalised? I dont envisage many adverts being added due to the nature of the ads (perhaps 3 a week) and when they are added i could store them in the database and then refresh the data held in the application object. can anyone see anything wrong with this? Is there a better approach?
Thanks
 
k Oyedeji
Ranch Hand
Posts: 96
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I am building a classifieds type application. Users will be able to add adverts which other users can then search. My question is would it be a bad idea to load all the adverts in to the application object from the database once when the application is initalised? I dont envisage many adverts being added due to the nature of the ads (perhaps 3 a week) and when they are added i could store them in the database and then refresh the data held in the application object. can anyone see anything wrong with this? Is there a better approach?
Thanks
 
Who among you feels worthy enough to be my best friend? Test 1 is to read this tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!