Data Mining Using Javascript
Data Mining Using Javascript
using
JavaScript
An Overview
• Brief History
Chronicles of • Standards and Framework Wars
the JS Empire • The Arrival of NodeJS and Package
Managers
vs
Brenden Eich
Three Ages of JavaScript Kingdom
What is ECMAScript/ES
• ECMA (European Computer
Manufacturers Association)
• ECMAScript is the name of the
International standard that defines
JavaScript.
ECMAScript Timeline
ES2017/ES8 is coming!!
Arrival
of
NodeJS
A Brief Intro
• Inspired from Flickr file uploader.
• It combines Chrome's V8 Engine, Event
Loop and Low-level I/O API
• It is Opensource.
• Single-thread application.
Ryan Dahl
Pros and Cons of NodeJS
Asynchronous event-driver Large Nested callbacks can
IO support concurrent lead to spaghetti code.
handling. No Multi-threading support.
Both Server and Client use Not compliant with high-
JavaScript hence ease of computational tasks.
development.
It is consistent.(API's code
Pack Managers for easy change for each version.)
installation and maintenance.
Large Open-source
Community backing.
Frameworks
WH's of Framework
• WHAT - A set of functionalities that provides solution to a particular
problem.
• WHY - To save effort and time. To ensure guidelines are met.
• WHEN – To make a solution reusable and efficient.
• WHERE – Problems that have solutions.
Advantages of Using JS Framework
• Efficiency — projects that used to take months and hundreds of
lines of code now can be achieved much faster with well-
structured prebuilt patterns and functions.
• Safety — top JavaScript frameworks have firm security
arrangements and are supported by large communities where
members and users also act as testers.
• Cost — most frameworks are open source and free. Since they
help programmers to build custom solutions faster, the ultimate
price for web app will be lower.
A Game of thrones: Framework wars
• Angular2
• React
• Vue.js
• Meteor
House Angular2
o Model-View-Whatever Pattern.
Dependency Injection
Opinionation: Flexible
Data Binding: Two-way
Fast Rendering: Static Lists.
Virtual DOM
Opinionation: Less Opinionated making Development Flexible.
Data Binding: One-way
Good Code Reuse
JSX
Debugging is easy.
https://github.com/NaturalNode/natural
Overall Summary