Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About JasonLewis

  • Rank
    Prolific Member
  • Birthday 01/31/1991

Contact Methods

  • MSN
  • Website URL

Profile Information

  • Gender
  • Location
    Victoria, Australia

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Just an update for people. I'm approaching this like I've posted above. I'll be making use of Node/Socket.io/Redis (pub/sub feature) to handle real-time updates for notifications and other related components. Once I get it working properly I'll post how I did it all for future reference.
  2. Thanks for your reply kicken! What I'm getting at is this. Say I post a new update or something, when that update is inserting into the database should I push the notification through to socket.io which then broadcasts that notification to the connected clients? Does that sound feasible? What I want to try to avoid is polling the database every couple of seconds to check for new notifications. I'm using MySQL and I've read that other database's handle that sort of thing a tad better. Edit: This is a quote from another forum: I can make sense of that... I'll just need to implement Redis since I don't have it at the moment.
  3. I'm looking for advice at the moment on achieving real-time notifications using a mix of PHP, NodeJS and socket.io. At the moment I have done next to nothing with Node and socket.io so I'm at a loss with the best way to achieve this. I've done some basically listening and what not but nothing extreme. For now my questions are: 1. How will socket.io know of new notifications, should PHP be responsible for sending the data (say a post was created) to socket.io and from there broadcasting to connected clients? 2. How does socket.io know which clients want the notifications? I'm really not sure what else. This is all a bit much for me at the moment. I just can't get my head around how the notifications will be distributed. Any advice would be greatly appreciated. I don't expect a detailed walk through, just a push in the right direction or some knowledge on how it all meshes. Cheers.
  4. Jeeze, big move. I had been thinking of doing the same but feared it might throw to many off. lol yeah... gonna take some getting used to, even for me... feels weird... but I figure I'll get used to it eventually. Figured it was time to "grow up" a little Was gonna say, who the frak is that .josh son of a bitch. Turns out to be that CV son of a bitch.
  5. Yew, can I get mine changed to Jaysonic please. ProjectFear, gah, what was I thinking back in those days. Please and thanks.
  6. I'm currently using Notepad++ for a fairly big project. I admit, it's not the best for it. Takes a bit more time to get around, but I like it. I'm thinking of upgrading to something which manages projects a bit better. Have to see how I go..
  7. Nah mate, could possibly be a plugin for it, doubt it though. Notepad++ only shows you the code, which is what most people are after with a code editor. To view your page, open it up in a browser.
  8. md5() and a good salt does the trick for me. If someone wants to crack something, making it harder will make them want to crack it more. I'm not saying don't hash it or anything, just don't go overboard and what not. If people really really want in, they'll find a way.
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.