notificationsystemsamples.leanpub.com/notification-system-using-socketio-redis-and-la... ·...

4

Upload: others

Post on 22-Aug-2020

10 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: NotificationSystemsamples.leanpub.com/notification-system-using-socketio-redis-and-la... · NotificationSystem using Socket.io, Redis and Laravel JoshHarington Thisbookisforsaleat
Page 2: NotificationSystemsamples.leanpub.com/notification-system-using-socketio-redis-and-la... · NotificationSystem using Socket.io, Redis and Laravel JoshHarington Thisbookisforsaleat

Notification Systemusing Socket.io, Redis and Laravel

Josh Harington

This book is for sale at http://leanpub.com/notification-system-using-socketio-redis-and-laravel

This version was published on 2016-09-13

This is a Leanpub book. Leanpub empowers authors and publishers with the Lean Publishingprocess. Lean Publishing is the act of publishing an in-progress ebook using lightweight tools andmany iterations to get reader feedback, pivot until you have the right book and build traction onceyou do.

© 2016 Josh Harington

Page 3: NotificationSystemsamples.leanpub.com/notification-system-using-socketio-redis-and-la... · NotificationSystem using Socket.io, Redis and Laravel JoshHarington Thisbookisforsaleat

Contents

Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1Why I wrote the book . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1A bit about me . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1

Page 4: NotificationSystemsamples.leanpub.com/notification-system-using-socketio-redis-and-la... · NotificationSystem using Socket.io, Redis and Laravel JoshHarington Thisbookisforsaleat

IntroductionHave you been struggling to get some sort of “real time” system for your site, or just in a rush andneed it now? This book is a short, simple and straight to the point guide on how I managed to do sofor my own projects. I have dubbed this book a “Notification System”, as that is what I will be usingit for, but the logic can be used for pretty much anything.

Why I wrote the book

I have always enjoyed sharing knowledge. I have always been the one to want to help those whodidn’t know how to do a certain task or needed help in fine-tuning certain processes or logic patterns.So on one of my projects I struggled for a few days trying to build a notification system. When Ieventually got it right I decided, why not write a book on how to implement a notification system?If I struggled doing so, surely others are as well? And well, here we are.

A bit about me

After learning to code in the 7th / 8th grade, I quickly learnt that it is what I enjoy most about life.Gone are the days of being a paper-cut survivor dealing in textbooks, I now only wanted e-booksand to read on my screen and only my screen. I had discovered the future.

I quickly grew into the habit of getting into trouble staying up late and missing school, being “tootired”, or being “distracted” when all I was thinking about was a damn bug that had me going for afew days. And within few months in… I was no longer just a noob coder, I was a noob programmer.

Fast forward a few years and I have managed to work on some pretty large projects for clients allover the world. I have managed to win awards in coding at hackathons, graduate with high 90’sfrom college in software development and lose many nights to stupid bugs by a misnamed variablesomewhat 200-odd lines of code above where I am looking.

Sideline, I am a musician and sleep enthusiast (all though I don’t get much practise).

If you would like to see more material covered in other aspects of coding, please get hold of me andlet me know!

Follow me on twitter: @JoshHaring10¹

¹https://twitter.com/JoshHaring10