SkillAgentSearch skills...

Fuelbackbonepusher

Demo of FuelPHP, Backbone.js and Pusher

Install / Use

/learn @danharper/Fuelbackbonepusher
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Pusher, FuelPHP & Backbone.js Example Application

Demo of FuelPHP, Backbone.js and Pusher. Demo at http://fuelbbpusher.phpfogapp.com/.

Preview Image

An example application demoing Pusher a realtime web API with FuelPHP on the server and Backbone.js on the client.

  • API endpoint at /api/messages implemented in FuelPHP, just for GET and POST requests as the client supports nothing else
  • On first load, current messages are 'bootstrapped' into the application to cut down requests
  • Backbone provides a seamless UI for creating messages which are added to the list & pushed to the API
  • FuelPHP then pushes the message out to all connected clients using Pusher. Each client then adds the new message to their list

Using the FuelPHP Pusher package.

Notable files include:

View on GitHub
GitHub Stars12
CategoryDevelopment
Updated5y ago
Forks2

Languages

PHP

Security Score

60/100

Audited on Apr 14, 2020

No findings