Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
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/dra...
 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 butwit...
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 R...
 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...
5/15/2013 php|tek 2013
5/15/2013 php|tek 2013
5/15/2013 php|tek 2013chris@ctankersley.com@dragonmantankhttps://joind.in/8165
Upcoming SlideShare
Loading in …5
×

PHP and node.js Together

15,099 views

Published on

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.

Published in: Technology
  • But how to answer web visitors ? we have to choose between php and node.js to catch the port 80
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here

PHP and node.js Together

  1. 1. 5/15/2013 php|tek 2013E-mail: chris@ctankersley.comTwitter: @dragonmantankApp.net: @ctankersley
  2. 2.  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
  3. 3.  Go over what node.js is What good is node.js? Different ways to use it with PHP5/15/2013 php|tek 2013
  4. 4. 5/15/2013 php|tek 2013
  5. 5. 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
  6. 6. 5/15/2013 php|tek 2013
  7. 7.  It’s JavaScript npm is pretty awesome It’s fast There’s a huge community5/15/2013 php|tek 2013
  8. 8.  It’s just JavaScript, nothing fancy5/15/2013 php|tek 2013
  9. 9. 5/15/2013 php|tek 2013
  10. 10.  node.js Silex5/15/2013 php|tek 2013
  11. 11.  Background tasks Server-side scripts API endpoints Websites5/15/2013 php|tek 2013
  12. 12. 5/15/2013 php|tek 2013
  13. 13.  Call node.js just like any other program5/15/2013 php|tek 2013
  14. 14. 5/15/2013 php|tek 2013
  15. 15.  Push something into a redis via PHP, andhave node.js listen and react5/15/2013 php|tek 2013
  16. 16.  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
  17. 17.  Same idea, but the work sits there untilsomeone deals with it5/15/2013 php|tek 2013
  18. 18.  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
  19. 19. 5/15/2013 php|tek 2013
  20. 20. 5/15/2013 php|tek 2013
  21. 21. 5/15/2013 php|tek 2013chris@ctankersley.com@dragonmantankhttps://joind.in/8165

×