Your SlideShare is downloading. ×
QCPHP - Node.js
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

QCPHP - Node.js

657
views

Published on

Introduction to Node.js at the Charlotte PHP group

Introduction to Node.js at the Charlotte PHP group

Published in: Technology

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
657
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
3
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. QCPHP - NODE.JS
  • 2. Garrett Johnson Charlotte, NC Red Ventures Developer
  • 3. NON-BLOCKING IO NODE<?> DEVELOPMENT
  • 4. “IO needs to be done differently, we are doing it wrong.” -Ryan Dahl $query = mysql_query(‘SELECT * FROM BAR’);
  • 5. NON-BLOCKING IO NODE <?> DEVELOPMENT
  • 6. ISN’T THERE OTHER STUFF LIKE THIS?
  • 7. NO EXTRA BAGGAGE
  • 8. $(document).ready(function() { $(#foo).bind(click, function(event) { $.get(/resource/, function(data) { }); });});
  • 9. LIBUV V8 NODEJAVASCRIPT
  • 10. NON-BLOCKING IO NODE.JS DEVELOPMENT
  • 11. EVENTS STREAMS FSUNIX SOCKETS HTTP TCP UDP DNS ...
  • 12. BASICS
  • 13. SERVERS
  • 14. MODULES
  • 15. NPMNODE PACKAGE MANAGER
  • 16. REAL TIME
  • 17. WINDOWSI HEAR ITS ACTUALLY PRETTY GOOD!
  • 18. WHYDOES IT MATTER?
  • 19. PHP + NODE? DO REALTIME WEB SERVICES WHAT ELSE? OMFG DONT’S EXEC(‘NODE’); APACHE PROXY GET LAZY AND USE FS.SYNC____
  • 20. TIPS? ORGANIZE CODE WELL, JUST LIKE YOU NORMALLY WOULD USE NPM AND LOOK TWICE AT WHAT MODULE YOU USEUNDERSTAND ASYNC BEFORE USING A “CONTROL FLOW” MODULE CONNECT EXPRESS SOCKET.IO NODE-REDIS NODE-MYSQL *CLUSTER*
  • 21. QUESTIONS?THANKS FOR LISTENING! GJJ391@GMAIL.COMGARRETT-JOHNSON.INFO

×