This Forum has been archived there is no more new posts or threads ... use this link to report any abusive content
==> Report abusive content in this page <==
Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How do i build a notification system like in Facebook and stuff using Dreamweaver?
04-08-2014, 09:20 PM
Post: #1
How do i build a notification system like in Facebook and stuff using Dreamweaver?
I'm using Dreamweaver CS6 and WampServer as my database. I'm trying to figure out how to create a notification system to view data as numbers, such as : There are 2 new complaints. Something like that. Anyone here can help?

Ads

Find all posts by this user
Quote this message in a reply
04-08-2014, 09:26 PM
Post: #2
 
it sound a litle hardly

You should reading about websocket
No!!

Use a websocket

Ads

Find all posts by this user
Quote this message in a reply
04-08-2014, 09:28 PM
Post: #3
 
DreamWeaver is not going to help you build this. It will only get in the way.

You need to learn PHP and AJAX for this. The basic idea is that a setInterval() call will update the notification area every 30 seconds or so using an AJAX call (opening a web resource in the background).
This AJAX call could load notification.php, a script which will check the database for new complaints and count them, then print their number.

There's no point in going into more depth here. Do simple PHP database tutorials to find out how to generate a dynamic web page / text based on database entries.
Then look at AJAX (which is not a language but a JavaScript technique).
https://developer.mozilla.org/en-US/docs...ng_Started
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)