Diese Präsentation wurde erfolgreich gemeldet.
Die SlideShare-Präsentation wird heruntergeladen. ×

Node.js 101

Anzeige
Anzeige
Anzeige
Anzeige
Anzeige
Anzeige
Anzeige
Anzeige
Anzeige
Anzeige
Anzeige
Anzeige
Wird geladen in …3
×

Hier ansehen

1 von 47 Anzeige

Node.js 101

Herunterladen, um offline zu lesen

Node.js 101
with Rami Sayar
Presented by FITC at Web Unleashed 2014 in Toronto
on September 18 2014, 10:30 - 11:15am

Node.js is a runtime environment and library for running JavaScript applications outside the browser. Node.js is mostly used to run real-time server applications and shines through its performance using non-blocking I/O and asynchronous events. This talk will introduce you to Node.js by showcasing the environment and its two most popular libraries: express and socket.io.

TARGET AUDIENCE
Beginner web developers

ASSUMED AUDIENCE KNOWLEDGE
Working knowledge of JavaScript and HTML5.

OBJECTIVE
Learn how to build a chat engine using Node.js and WebSockets.

FIVE THINGS AUDIENCE MEMBERS WILL LEARN
Node.js environment and basics
Node Package Manager overview
Web Framework, express, basics
WebSockets and Socket.io basics
Building a chat engine using Node.js

Node.js 101
with Rami Sayar
Presented by FITC at Web Unleashed 2014 in Toronto
on September 18 2014, 10:30 - 11:15am

Node.js is a runtime environment and library for running JavaScript applications outside the browser. Node.js is mostly used to run real-time server applications and shines through its performance using non-blocking I/O and asynchronous events. This talk will introduce you to Node.js by showcasing the environment and its two most popular libraries: express and socket.io.

TARGET AUDIENCE
Beginner web developers

ASSUMED AUDIENCE KNOWLEDGE
Working knowledge of JavaScript and HTML5.

OBJECTIVE
Learn how to build a chat engine using Node.js and WebSockets.

FIVE THINGS AUDIENCE MEMBERS WILL LEARN
Node.js environment and basics
Node Package Manager overview
Web Framework, express, basics
WebSockets and Socket.io basics
Building a chat engine using Node.js

Anzeige
Anzeige

Weitere Verwandte Inhalte

Diashows für Sie (20)

Andere mochten auch (20)

Anzeige

Ähnlich wie Node.js 101 (20)

Weitere von FITC (20)

Anzeige

Aktuellste (20)

Node.js 101

  1. 1. Rami Sayar -@ramisayar Technical Evangelist Microsoft Canada
  2. 2. •Bootstrap Layoutand CSS Basics •Responsive Web Design and Bootstrap •Bootstrap Components, Themes •Favorite Addons •LOTS OF DEMOS!
  3. 3. •Working knowledge of HTML5and CSS3. Note: Slides and code will be made available on @ramisayar.
  4. 4. •Bootstrap is the most popular HTML, CSS, and JS framework for developing responsive, mobile first projects on the web. •Designed for everyone, everywhere. •Open Source! •It's made for folks of all skill levels, SUPER EASY TO GET STARTED. •Developed by Mark Otto and Jacob Thornton at Twitter.
  5. 5. •Currently v3.2.0 •Supports Internet Explorer 8-11, Chrome, Firefox, Opera, Safari. •Designed for the mobile-first, responsive Web
  6. 6. •Building new websites and mobile web apps •Need a quick and easy way to prettify your website/tool •Looking to develop over a stable CSS framework with a large community. ->Bootstrap is for you. •Do not use Bootstrap if you want a truly unique design and style.
  7. 7. •Huge community! •Most popular project on GitHub •71,893 stars •26,883 forks •581 contributors
  8. 8. HTML5 doctype <!DOCTYPE html> <htmllang="en"> ... </html>
  9. 9. Bootstrap is mobile first. <metaname="viewport"content="width=device-width, initial-scale=1"> Disabling mobile zoom (don’t do it). <metaname="viewport"content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
  10. 10. •Bootstrap sets basic global display, typography and link styles. (You can see this in scaffolding.less) •Bootstrap also normalizes basic browser rendering using Normalize.css
  11. 11. •Responsive web design is a design approach aimed at crafting sites to provide an optimal viewing experience—easy reading and navigation with a minimum of resizing, panning, and scrolling—across a wide range of devices (from mobile phones to desktop computer monitors). Wikipedia
  12. 12. •Thinking of the user’s needs instead of ours. •Adapt to various device capabilities instead of configurations. •Help future-proof our sites.
  13. 13. •A flexible, grid-based layout, •Flexible images and media, and •CSS3 media queries.
  14. 14. •Bootstrap includes a responsive, mobile first fluid grid system that scales 12 column units to the device width size. •The MOST IMPORTANT part of this presentation. •Grids must be placed within a container. The container type changes behavior and sizing.
  15. 15. Reference: http://getbootstrap.com/css
  16. 16. •Includes 200 glyphs from GlyphiconHalflings. •Don’t mix with other components. •Only for use on empty elements that have no child elements. <span class="glyphiconglyphicon-search"></span>
  17. 17. <ulclass="navnav-tabs"role="tablist"> <liclass="active"><ahref="#">Home</a></li> <li><ahref="#">Profile</a></li> <li><ahref="#">Messages</a></li> </ul>
  18. 18. <ulclass="navnav-pills"> <liclass="active"><ahref="#">Home</a></li> <li><ahref="#">Profile</a></li> <li><ahref="#">Messages</a></li> </ul>
  19. 19. <spanclass="label label-default">Default</span> <spanclass="label label-primary">Primary</span> <spanclass="label label-success">Success</span> <spanclass="label label-info">Info</span> <spanclass="label label-warning">Warning</span> <spanclass="label label-danger">Danger</span>
  20. 20. •To customize Bootstrap, you can customize Less. •Bootstrap uses Grunt for its build system. •grunt dist-compile CSS and JavaScript •grunt watch -watch directory •grunt test –run tests •grunt –build everything and run tests
  21. 21. •Lots of themes are available for free. •Take a look: bootswatch.com or wrapbootstrap.com
  22. 22. •Fuel UX: http://exacttarget.github.io/fuelux/ •Bootstrap Growl: https://github.com/ifightcrime/bootstrap- growl •Bootstrap Modal: http://jschr.github.io/bootstrap-modal/ •Bootstrap Markdown: http://toopay.github.io/bootstrap- markdown/
  23. 23. •I was using Visual Studio 2013, you can get it for free here: •http://www.visualstudio.com/en-us/products/visual-studio-express- vs.aspx •And Visual Studio Web Essentials: http://vswebessentials.com/ •Includes Bootstrap Support: •Intellisenseand Code Completion •Error Detection
  24. 24. •Bootstrap Layout Basics •CSS Basics •Using Bootstrap for Responsive Web Design •Bootstrap Components •My favorite plugins
  25. 25. Follow @ramisayar Tweet at me for slides/code.
  26. 26. ©2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Office, Azure, System Center, Dynamics and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

×