3.60 (21 reviews)
☑ Creating wordpress based real-time applications, where in case of database change server will push the latest content to all the connected client( Similar to stock market price application, where stock market price gets updated in real time without client refreshing the page again and again to get latest data)
In non real time application, client needs to refresh the page or poll the database to get the latest content from database.
For example client request to server to check the stock price. Once server has sent response of latest stock price. Client will always see that price and it will never get real time stock price. To get the latest stock price client has to either
1. Poll the server in regular interval to check if stock price is changed or not, or
2.User needs to continuously keep pressing refresh button to get latest data from server.
Option 1 is unnecessary putting load on server, as many clients connected and even if data is not changed they re polling server in regular interval.
Option2 . you know how annoying it can be.
Real time web applications are applications, where data form server is pushed to client in event of database content update, without client requesting for it
In this course you will learn
1. Basics of technology needed to make WordPress real time
2. Overview of network architecture for real-time communication between wordpress and socket
3. How to integrate wordpress with realtime socket technology so that any changes in database is pushed from server to client in soft real time.
4. We will create WordPress based game score Dashboard sample application where all players scores are visible and anytime score of any player changes, latest game score will get pushed from server to all the connected client browser and will reflect the latest score of player in real time.
Target Audience for this course
This course if for anyone who wants to learn to create wordpress applications with realtime technology.
Demo: Player Score DashBoard
What is real-time application ?
Typical request and response on http
What is real-time application
Network architecture and needed components for real-time app
Basics of WordPress action hooks
Basics of Soket.io and Socket.io sever
Basics of Socket.io Client
Basics of ZeroMQ
WordPress Setup for Score Dashboard Sample Application
WordPress child theme,post, page creation
Understand WordPress template hierarchy and create template for single page
Create WordPress application for Player Score
Create WordPress Plugin to send updated post data
Socket.io setup for Score Dashboard Sample Application
Socket.io and dependent module installation
Creating Socket.io server
Creating socket.io client
ZMQ core library and PHP binding installation on windows
ZMQ core library and PHP binding installation in linux
Testing components of ScoreDashboard Sample Application
Testing ZMQ socket connection
Testing Socket.io connection
Update socket.io client and testing complete application
How to run nodejs server as background service forever
Game Score Dashboard Source code
Danke erstmal. Ich beginne mit der socket Technologie. Ich habe zum Beispiel nicht verstanden, wie und wo ich socket installiere (hosted Webspace). Ich habe auch nicht verstanden wozu ich ZQM brauche. Reicht da nicht socket.io?