Application of node js in Epsilon
Mobile
Outline
• Nodejs
• NodeJs deployment
• Expressjs
• Epsilon’s choices
– Back-end
– Front-end
– Integrate with jenkins
NodeJs
• Event-driven I/O server-side JavaScript
environment based on V8 engine.
Create basic hello world sever
• Put the code below into app.js file
• Run command node app.js
Socket io for socket server
• Put the code below into app.js file
• Run command node app.js
• Node.js uses an event-driven, non-blocking
I/O model -> better than the traditional
thread-based server.
Extensible
• Easy to install and easy to use.
• There’re already a lot of packages out there.
Express.js
• web application framework for nodejs
– Routes
– Serve static file vs serve dynamic files
– User authentication
– Body parser
Express.js - routes
Express.js - Serve static files
User authentication
• Use basic authentication
• Middleware
Body parser
• Decide where to put the upload file
• Then, the files’ information will be parsed, the
file’s name will be hash.
Extensible
• Body parser is extensible.
• Template engine is also extensible.
Epsilon choices
Back-end
•nodejs
•Expressjs
•CoffeeScript, jade
•Mocha, superagent, should
Front-end
•backbone
•Jquery
•Mocha, sinon, require
Others
•Jenkins
•JSInt (maybe)
•JSDuck (maybe)
Application of nodejs in epsilon mobile
Testing for back-end
• mocha + superagent + should
Testing for front-end
• mocha + require + sinon
– We’re still working on this one.
spec_runner.js
test_runner.html
Integrate with Jenkins for continuous
integration
Our next problems
• Trying to setup a Continuous Integration and
Continuous Deployment.
• Reuse code between server and client.
• Generate documents from codes.

More Related Content

PPTX
Azure virtual machine-network
PDF
Cassandra Day Denver 2014: Setting up a DataStax Enterprise Instance on Micro...
PPTX
OpenStack!
PDF
2018년 3월 정기 세미나 - March 2018 Ops Meetup 후기
PPTX
A Journey Begin with Node.js
PDF
Microsoft Azure Container Service - DockerCH
PDF
VMUG St Louis - SDN in the Real World
PDF
Positioning Yourself for the Future
Azure virtual machine-network
Cassandra Day Denver 2014: Setting up a DataStax Enterprise Instance on Micro...
OpenStack!
2018년 3월 정기 세미나 - March 2018 Ops Meetup 후기
A Journey Begin with Node.js
Microsoft Azure Container Service - DockerCH
VMUG St Louis - SDN in the Real World
Positioning Yourself for the Future

What's hot (20)

PPTX
Containerization with Microsoft Azure
PPTX
Azure container service overview
PPTX
Docker presentation for sharing
PDF
vBrownBag - Scripting and Versioning with PowerShell ISE and Git Shell
PDF
Kubernetes, The Day After
PPTX
Glass fish performance tuning tips from the field
PPTX
Containerization in microsoft azure
PDF
OpenStack Momentum
PDF
VMUG - Using PowerShell to call RESTful APIs
PPTX
Docker With Asp.net Core
PDF
VMware vSphere in an OpenStack Environment
PDF
.Net Conf 2018 Service Fabric
PPTX
Azure cli-azure devops
PDF
QA speed up story
PDF
[OpenStack Day in Korea 2015] Track 2-6 - Apache Tajo on Swift
PDF
ContainerDayVietnam2016: Docker at scale with Mesos
PDF
VMware Nova Compute Driver
PPTX
Create Microservice with Spring Boot and Docker
PDF
TDD a REST API With Node.js and MongoDB
PPTX
DevCloud - Setup and Demo on Apache CloudStack
Containerization with Microsoft Azure
Azure container service overview
Docker presentation for sharing
vBrownBag - Scripting and Versioning with PowerShell ISE and Git Shell
Kubernetes, The Day After
Glass fish performance tuning tips from the field
Containerization in microsoft azure
OpenStack Momentum
VMUG - Using PowerShell to call RESTful APIs
Docker With Asp.net Core
VMware vSphere in an OpenStack Environment
.Net Conf 2018 Service Fabric
Azure cli-azure devops
QA speed up story
[OpenStack Day in Korea 2015] Track 2-6 - Apache Tajo on Swift
ContainerDayVietnam2016: Docker at scale with Mesos
VMware Nova Compute Driver
Create Microservice with Spring Boot and Docker
TDD a REST API With Node.js and MongoDB
DevCloud - Setup and Demo on Apache CloudStack
Ad

Viewers also liked (20)

PDF
Stack Overflow Austin - jQuery for Developers
PPT
San Francisco PHP Meetup Presentation on Zend Framework
PPTX
Sst hackathon express
PDF
Zend Framework Getting Started For I5
PDF
Zend Framework Components for non-framework Development
PPTX
Kraken.js Lab Primer
PPTX
expressjs-cleancontroller-160427080619
PPTX
Frontend technologies
PDF
Node lt
KEY
Zend framework: Getting to grips (ZF1)
PDF
Devdays Seattle jQuery Intro for Developers
PDF
Cooking with jQuery
PDF
jQuery Presentation to Rails Developers
ODP
Node js presentation
PPT
Facebook Development with Zend Framework
PPT
PHPBootcamp - Zend Framework
KEY
Unit testing with zend framework PHPBenelux
PDF
Laravel tips
PDF
Unit testing after Zend Framework 1.8
PDF
Big Data loves JS
Stack Overflow Austin - jQuery for Developers
San Francisco PHP Meetup Presentation on Zend Framework
Sst hackathon express
Zend Framework Getting Started For I5
Zend Framework Components for non-framework Development
Kraken.js Lab Primer
expressjs-cleancontroller-160427080619
Frontend technologies
Node lt
Zend framework: Getting to grips (ZF1)
Devdays Seattle jQuery Intro for Developers
Cooking with jQuery
jQuery Presentation to Rails Developers
Node js presentation
Facebook Development with Zend Framework
PHPBootcamp - Zend Framework
Unit testing with zend framework PHPBenelux
Laravel tips
Unit testing after Zend Framework 1.8
Big Data loves JS
Ad

Similar to Application of nodejs in epsilon mobile (20)

KEY
Dcjq node.js presentation
PPTX
Unit 1 Express J for mean stack and mern
PPTX
Comprehensive Guide to Node.js for Server-Side JavaScript Development
PDF
The MEAN Stack
PDF
Introduction to node js - From "hello world" to deploying on azure
PPTX
NodeJS - Server Side JS
PPTX
Meanstack overview
PDF
Introduction to Node.js: What, why and how?
PPTX
Express yourself
PPTX
NODE.JS_PRESENTATION.pptx
PPTX
Breaking the eggshell: From .NET to Node.js
PPTX
Introduction to node.js by jiban
PPTX
Nodejs getting started
PDF
The New Open Distributed Application Architecture
PPTX
NodeJS Presentation
PDF
Node.js introduction
PPTX
NWJS. Web on desktop
PPTX
18CSC311J WEB DESIGN AND DEVELOPMENT UNIT-4
PPTX
Oracle application container cloud back end integration using node final
PPTX
PHP Indonesia - Nodejs Web Development
Dcjq node.js presentation
Unit 1 Express J for mean stack and mern
Comprehensive Guide to Node.js for Server-Side JavaScript Development
The MEAN Stack
Introduction to node js - From "hello world" to deploying on azure
NodeJS - Server Side JS
Meanstack overview
Introduction to Node.js: What, why and how?
Express yourself
NODE.JS_PRESENTATION.pptx
Breaking the eggshell: From .NET to Node.js
Introduction to node.js by jiban
Nodejs getting started
The New Open Distributed Application Architecture
NodeJS Presentation
Node.js introduction
NWJS. Web on desktop
18CSC311J WEB DESIGN AND DEVELOPMENT UNIT-4
Oracle application container cloud back end integration using node final
PHP Indonesia - Nodejs Web Development

Recently uploaded (20)

PDF
sbt 2.0: go big (Scala Days 2025 edition)
PDF
Taming the Chaos: How to Turn Unstructured Data into Decisions
PPTX
MicrosoftCybserSecurityReferenceArchitecture-April-2025.pptx
PPTX
Custom Battery Pack Design Considerations for Performance and Safety
PDF
Hybrid horned lizard optimization algorithm-aquila optimizer for DC motor
PDF
OpenACC and Open Hackathons Monthly Highlights July 2025
PPTX
2018-HIPAA-Renewal-Training for executives
PDF
How IoT Sensor Integration in 2025 is Transforming Industries Worldwide
PPT
Galois Field Theory of Risk: A Perspective, Protocol, and Mathematical Backgr...
PDF
Produktkatalog für HOBO Datenlogger, Wetterstationen, Sensoren, Software und ...
PPT
Module 1.ppt Iot fundamentals and Architecture
PPTX
Modernising the Digital Integration Hub
PPTX
Final SEM Unit 1 for mit wpu at pune .pptx
PDF
Five Habits of High-Impact Board Members
PDF
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
PDF
Consumable AI The What, Why & How for Small Teams.pdf
PDF
Zenith AI: Advanced Artificial Intelligence
PDF
NewMind AI Weekly Chronicles – August ’25 Week III
PDF
A review of recent deep learning applications in wood surface defect identifi...
PPTX
Build Your First AI Agent with UiPath.pptx
sbt 2.0: go big (Scala Days 2025 edition)
Taming the Chaos: How to Turn Unstructured Data into Decisions
MicrosoftCybserSecurityReferenceArchitecture-April-2025.pptx
Custom Battery Pack Design Considerations for Performance and Safety
Hybrid horned lizard optimization algorithm-aquila optimizer for DC motor
OpenACC and Open Hackathons Monthly Highlights July 2025
2018-HIPAA-Renewal-Training for executives
How IoT Sensor Integration in 2025 is Transforming Industries Worldwide
Galois Field Theory of Risk: A Perspective, Protocol, and Mathematical Backgr...
Produktkatalog für HOBO Datenlogger, Wetterstationen, Sensoren, Software und ...
Module 1.ppt Iot fundamentals and Architecture
Modernising the Digital Integration Hub
Final SEM Unit 1 for mit wpu at pune .pptx
Five Habits of High-Impact Board Members
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
Consumable AI The What, Why & How for Small Teams.pdf
Zenith AI: Advanced Artificial Intelligence
NewMind AI Weekly Chronicles – August ’25 Week III
A review of recent deep learning applications in wood surface defect identifi...
Build Your First AI Agent with UiPath.pptx

Application of nodejs in epsilon mobile

Editor's Notes

  • #7: Node tells the operating system (through epoll, kqueue, /dev/poll, or select) that it should be notified when a new connection is made, and then it goes to sleep.If someone new connects, then it executes the callback. Each connection is only a small heap allocation.