Re: [PHP] web based chat app
- From: paragasu@xxxxxxxxx (paragasu)
- Date: Tue, 29 Apr 2008 13:56:02 +0800
im thinking you probly dont need a database unless you want to preservechat history.
i don't think chat history is necessary. but i need to keep some of the user
chat session
right?
but honestly, id really think about what youll be using the database forhere..
well, i am still thinking :) .. if it is possible not to use database at all
it is better.
hmm; well you need to make the client side smart.. like dont actually fireoff an http request >as often if the last 3 queries all resulted in no new
message.
i did ask google. one way is to use a counter. if no new message, then
increase the counter.
On the other hand, reset the counter to zero. the counter multiple with the
request time will
make the request slower.
anyone ever make use of /dev/shm on any php project?
- Follow-Ups:
- Re: [PHP] web based chat app
- From: "Nathan Nobbe"
- Re: [PHP] web based chat app
- References:
- web based chat app
- From: paragasu
- Re: [PHP] web based chat app
- From: "Nathan Nobbe"
- web based chat app
- Prev by Date: Re: [PHP] web based chat app
- Next by Date: Re: [PHP] web based chat app
- Previous by thread: Re: [PHP] web based chat app
- Next by thread: Re: [PHP] web based chat app
- Index(es):