php - Call to an API to retrieve JSON data and store it in the database -
what need in order make call api, retrieve data in json format , store data database. know specifics of process, thing need done @ interval of 5 minutes , without placing burden on loading time of website. so, don't know concept of how done because can't done when page loaded, hence has done server, how ?
any useful reading material regarding topic come in handy. thanks.
take @ new web workers method in html 5.
http://www.w3schools.com/html/html5_webworkers.asp
you tagged jquery question assume know how make ajax call. if know how make ajax call im sure can figure out how use setinterval make repeat every x number of seconds. in case take @ this:
http://www.w3schools.com/jsref/met_win_setinterval.asp
this assuming want on page itself, otherwise others have commented set cron job.
Comments
Post a Comment