Js revolution donald_derek

913 views

Published on

Arabnet DevTour Lebanon Code Lab #2
https://github.com/DonaldDerek/JSRevolutionII

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
913
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
19
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide
  • for(var i = 0 ; i <= 100; i++){ db.users.insert({"name":"Foo"+i , "email":"foobar"+i+"@foo.com"})}
  • http://www.youtube.com/watch?v=jo_B4LTHi3I
  • Leveraging V8 allows Node to provide a server-side runtime environment that compiles and executes JavaScript at lightning speeds. The major speed increase is due to the fact that V8 compiles JavaScript into native machine code, instead of interpreting it or executing it as bytecode. Node is open source, and cross-platform, running on Mac OSX, Windows, and Linux.
  • asynchronous relies on callbacks
  • Npm is like the LaLaLand of every node.js programmer
  • Express 3.x is a light-weight web application framework to help organize your web app into MVC architecture on the server side. You can use a variety of choices for your templating language
  • Mixins
  • Mixins
  • Mixins
  • The primary data representation for MongoDB.
  • The primary data representation for MongoDB.
  • The primary data representation for MongoDB.
  • The primary data representation for MongoDB.
  • Js revolution donald_derek

    1. 1. JavaScript Revolution II Module Pattern – Node.js – Preprocessors – MongoDB DonaldDerek DerekHaddad
    2. 2. Organize your js code …and prevent polluting the global namespace DerekHaddad
    3. 3. WARNING coding mask on!
    4. 4. Node.js An intro by Rayn Dahl DerekHaddad
    5. 5. Node.js - Definition Node.js is an event-driven, server-side JavaScript environment Node runs JavaScript using the V8 engine developed by Google for use in their Chrome web browser DerekHaddad
    6. 6. Lightning speed! The major speed increase is due to the fact that V8 compiles JavaScript into native machine code, instead of interpreting it or executing it as bytecode DerekHaddad
    7. 7. Single threaded Unlike the good ‘ol LAMP Stack DerekHaddad
    8. 8. Node packet manager npmjs.org DerekHaddad
    9. 9. Downloading weapons Download Node.js (available for Linux, OSX and Windows)
    10. 10. github.com
    11. 11. Express.js Express is a light-weight web application framework to help organize your web app into MVC architecture on the server side DerekHaddad
    12. 12. WARNING coding mask on!
    13. 13. HTml preprocessors Jade – The Template Engine DerekHaddad
    14. 14. WARNING coding mask on!
    15. 15. Css preprocessors Stylus DerekHaddad
    16. 16. WARNING coding mask on!
    17. 17. NoSql VS SQL Relational - Non-Relational DerekHaddad
    18. 18. Mongo db Schema-less Database DerekHaddad
    19. 19. The mongo shell Live shell example DerekHaddad
    20. 20. Mongo-db driver on node.js Back to Tutorial DerekHaddad
    21. 21. WARNING coding mask on!
    22. 22. May The Source be With you github.com/DonaldDerek

    ×