PHP and node.js Together
Upcoming SlideShare
Loading in...5
×
 

PHP and node.js Together

on

  • 9,026 views

This goes over a bit of what node.js is, why you might want to use it, and how to use it with your PHP projects.

This goes over a bit of what node.js is, why you might want to use it, and how to use it with your PHP projects.

Statistics

Views

Total Views
9,026
Views on SlideShare
8,904
Embed Views
122

Actions

Likes
2
Downloads
27
Comments
1

3 Embeds 122

http://librosweb.es 120
http://css.dzone.com 1
http://remaps.local.com 1

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
  • But how to answer web visitors ? we have to choose between php and node.js to catch the port 80
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

PHP and node.js Together PHP and node.js Together Presentation Transcript

  • 5/15/2013 php|tek 2013E-mail: chris@ctankersley.comTwitter: @dragonmantankApp.net: @ctankersley
  •  ChrisTankersley Doing PHP for 9Years Lots of projects no one uses, and a few thatsome do TL;DR https://github.com/dragonmantankMarch 3rd, 2013 MidwestPHP 2
  •  Go over what node.js is What good is node.js? Different ways to use it with PHP5/15/2013 php|tek 2013
  • 5/15/2013 php|tek 2013
  • node.js is a server-side implementation of theGoogleV8 JavaScript engineIn broad terms, it does the same job as PHP butwith JavaScript5/15/2013 php|tek 2013
  • 5/15/2013 php|tek 2013
  •  It’s JavaScript npm is pretty awesome It’s fast There’s a huge community5/15/2013 php|tek 2013
  •  It’s just JavaScript, nothing fancy5/15/2013 php|tek 2013
  • 5/15/2013 php|tek 2013
  •  node.js Silex5/15/2013 php|tek 2013
  •  Background tasks Server-side scripts API endpoints Websites5/15/2013 php|tek 2013
  • 5/15/2013 php|tek 2013
  •  Call node.js just like any other program5/15/2013 php|tek 2013
  • 5/15/2013 php|tek 2013
  •  Push something into a redis via PHP, andhave node.js listen and react5/15/2013 php|tek 2013
  •  PHP and node.js connect to a redis channel PHP publish something to the channel node.js gets the message and reacts Really good for reacting to events, butrequires node.js to be listening5/15/2013 php|tek 2013
  •  Same idea, but the work sits there untilsomeone deals with it5/15/2013 php|tek 2013
  •  Allows two-way communication from thebrowser to the server Most browsers should support it Use socket.io to handle old browsers5/15/2013 php|tek 2013
  • 5/15/2013 php|tek 2013
  • 5/15/2013 php|tek 2013
  • 5/15/2013 php|tek 2013chris@ctankersley.com@dragonmantankhttps://joind.in/8165