the mean stack

28
Developers Conference MEAN Stack The

Upload: md-ziaul-haq

Post on 15-Jul-2015

950 views

Category:

Technology


2 download

TRANSCRIPT

Page 1: The MEAN Stack

Developers Conference

MEAN Stack The

Page 2: The MEAN Stack

Sr. JavaScript Developer���Elance-oDesk Corp���

���@jquerygeek

Md. Ziaul Haq

Page 3: The MEAN Stack

What is MEAN Stack ?

Page 4: The MEAN Stack

Stack ?

Page 5: The MEAN Stack

•  LAMP - JS, Apache, Php, MySQL

•  MS.Net - JS, IIS, C#, ASP.Net, SQL Server

•  Java - JS, Tomcat, Java, JSP, Oracle

Some Development Stack

Page 6: The MEAN Stack

MEAN is for

Page 7: The MEAN Stack

•  MongoDB - as Database

•  ExpressJS - as Web Application Framework

•  AngularJS - as Frontend Framework

•  NodeJS - as Web Server

MEAN

Page 8: The MEAN Stack

Server

Datasase

Client

MEAN App

Page 9: The MEAN Stack

JavaScript Everywhere

{JSON}

{JSON}

Page 10: The MEAN Stack

Fullstack JavaScript

Page 11: The MEAN Stack

• JavaScript everywhere

•  One language, no context change

•  Consistent best practices

•  Asynchronous Communication

•  Scalable

Why MEAN

Page 12: The MEAN Stack

• Popular among the community

•  Popular in Github

•  HackerNews love JS :)

•  Enough resource

•  Easy to start on

Why JavaScript

Page 13: The MEAN Stack

Who Using

Page 14: The MEAN Stack

Quick Overview

Page 15: The MEAN Stack

•  NoSQL, document-oriented database system

•  JSON-like documents

•  Easier & Faster to communicate

•  Scalable

•  Learn more : http://www.mongodb.org/

Page 16: The MEAN Stack

•  A lightweight web app framework on top of Node.js

•  Wrapper for Node.js HTTP module objects

•  Easier & Faster to communicate

•  Learn More: http://expressjs.com

Page 17: The MEAN Stack

•  Client-side MVC framework

•  2 way data binding

•  Watcher everywhere

•  Learn More: http://angularjs.org

Page 18: The MEAN Stack

•  Server-side JavaScript platform built on V8 engine

•  Non blocking I/O

•  Asynchronous

•  Event driven

•  Almost every thing in NPM

•  Learn More: http://nodejs.org

Page 19: The MEAN Stack

Jump on

Page 20: The MEAN Stack

•  Install Node and MongoDB in your system

•  Install the required tools

•  npm, Git, bower, grunt/gulp, mongoose

•  Setup the MEAN project with dependency

Page 21: The MEAN Stack

•  Install Node and MongoDB in your system

•  Install the required tools

•  npm, Git, bower, grunt/gulp, mongoose

•  Setup the MEAN project with dependency

Page 22: The MEAN Stack

Fullstack JavaScript Framework

Page 23: The MEAN Stack

•  Boilerplate, ready to start on

•  MEAN CLI

•  Dependancy management

•  Test suit are ready

•  Ready free packages

MEAN.IO

Page 24: The MEAN Stack

Project create

•  $ sudo npm install -g mean-cli

•  $ mean init <appName>

•  $ cd <appName> && npm install

Page 25: The MEAN Stack

•  public - Frontend

•  assets - CSS and images go here

•  controllers - the front end processing

•  routes - routes to each view

•  services - angular wrappers for data providers

•  tests - karma tests

•  views - the HTML for each page

Page 26: The MEAN Stack

•  server - Backend

•  controllers - the back end processing

•  models - the data object’s definitions

•  routes - routes to the controllers, from get/posts…

•  tests

Page 27: The MEAN Stack

Love Generator ?

•  Yeoman

•  generator-mean

Page 28: The MEAN Stack

[email protected]

Thank you all.���

Questions?