Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #14180
| Newsgroups | comp.lang.php |
|---|---|
| Date | 2014-08-19 06:48 -0700 |
| Message-ID | <0ca6166b-e6cd-445e-be59-bee46d8f0070@googlegroups.com> (permalink) |
| Subject | Asynchronous Function Call in PHP |
| From | Tuấn Dương Trần <duongtt84@gmail.com> |
Hi every body, I'm building a website using Yii2, Redis, mysql. I need to write a function marking the songs, scores are stored in Redis and mysql. Scoring function using ajax to call the controler. I want this function to run in sequence as follows: The number is stored in Redis and returns immediately, then use a background thread to save the results into mysql. How i can do? Thanks.
Back to comp.lang.php | Previous | Next — Next in thread | Find similar | Unroll thread
Asynchronous Function Call in PHP Tuấn Dương Trần <duongtt84@gmail.com> - 2014-08-19 06:48 -0700
Re: Asynchronous Function Call in PHP Jerry Stuckle <jstucklex@attglobal.net> - 2014-08-19 11:45 -0400
Re: Asynchronous Function Call in PHP Tuấn Dương Trần <duongtt84@gmail.com> - 2014-08-20 02:38 -0700
Re: Asynchronous Function Call in PHP Jerry Stuckle <jstucklex@attglobal.net> - 2014-08-20 06:25 -0400
Re: Asynchronous Function Call in PHP crankypuss <crankypuss@nomail.invalid> - 2014-08-21 03:18 -0600
Re: Asynchronous Function Call in PHP "Christoph M. Becker" <cmbecker69@arcor.de> - 2014-08-21 16:37 +0200
Re: Asynchronous Function Call in PHP crankypuss <crankypuss@nomail.invalid> - 2014-08-21 03:16 -0600
csiph-web