Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
script your way to nosql
Search
mulderp
April 29, 2014
Programming
0
270
script your way to nosql
a talk on javascript talk at nosql matters 2014
mulderp
April 29, 2014
Tweet
Share
More Decks by mulderp
See All by mulderp
Node.js for Embedded Systems
mulderp
1
2.8k
Nodebotsday
mulderp
1
130
I2C basics with Arduino
mulderp
0
220
Sharing hardware with JavaScript
mulderp
1
210
Arduino October meetup
mulderp
0
120
Physical JavaScript with Johnny-5, Cylon and Tessel
mulderp
1
1.1k
Blogging and writing about JavaScript
mulderp
2
900
Minimum Viable Interactions
mulderp
3
620
Arduino July Meetup
mulderp
0
100
Other Decks in Programming
See All in Programming
「次に何を学べばいいか分からない」あなたへ──若手エンジニアのための学習地図
panda_program
1
270
AIと”コードの評価関数”を共有する / Share the "code evaluation function" with AI
euglena1215
1
180
商品比較サービス「マイベスト」における パーソナライズレコメンドの第一歩
ucchiii43
0
180
TypeScriptでDXを上げろ! Hono編
yusukebe
3
780
Flutterで備える!Accessibility Nutrition Labels完全ガイド
yuukiw00w
0
170
猫と暮らす Google Nest Cam生活🐈 / WebRTC with Google Nest Cam
yutailang0119
0
170
PHPでWebSocketサーバーを実装しよう2025
kubotak
0
320
「テストは愚直&&網羅的に書くほどよい」という誤解 / Test Smarter, Not Harder
munetoshi
0
200
状態遷移図を書こう / Sequence Chart vs State Diagram
orgachem
PRO
2
210
可変変数との向き合い方 $$変数名が踊り出す$$ / php conference Variable variables
gunji
0
180
NEWT Backend Evolution
xpromx
1
140
Goで作る、開発・CI環境
sin392
0
260
Featured
See All Featured
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
8
840
A better future with KSS
kneath
238
17k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
29
1.8k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
8
700
Designing for humans not robots
tammielis
253
25k
Stop Working from a Prison Cell
hatefulcrawdad
271
21k
Building a Scalable Design System with Sketch
lauravandoore
462
33k
Building Flexible Design Systems
yeseniaperezcruz
328
39k
Writing Fast Ruby
sferik
628
62k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
50
5.5k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
357
30k
How to Think Like a Performance Engineer
csswizardry
25
1.7k
Transcript
<script> your way into NoSQL Patrick Mulder
@mulpat
In the beginning, there was LAMP
Linux Apache MySQL Perl (or PHP)
hBp://en.wikipedia.org/wiki/LAMP_(soHware_bundle) ALTER table ...
The dawn of ORMs Hibernate ActiveRecord
Data Store Client API stateless
URIs resources Today, API‘s vs Clients MV*
remote STATE Synchronize
The client-side runs JavaScript
Document stores provide JSON natively
Apps with MEAN stacks
MongoDB ExpressJS AngularJS Node
But, there is also Meteor, ArangoDB-Foxx, Rendr, Brainy, Backbone-ORM, Serverbone,
BookshelfJS, i-tier, Thorax, DerbyJS, ...
The main point 100% JavaScript
A Good Thing MulVple runVmes
A quick demo on JavaScript RunVmes: Node –
Browser – ArangoDB
More Good Things concurrency built-‐in
A quick demo on the event-‐loop
Challenges ... inheritance async vs sync throwing errors
From JSON ... {! "director": "Matthew Vaughn",! "rating": 3.4,! "showtime":
1388766180,! "description": „In grief and anger, Lensherr's magnetic power manifests .... ",! "title": "X-Men: First Class",! "id": 15,! "year": 2011,! "length": 132,! "genres": [! "Action",! "Adventure",! "Sci-Fi"! ]! }!
... to data „modules“ with event emitters to be exported
Demo let‘s create a model
„Enhanced“ data events validaVons map primary key
queries
The jQuery of data Underscore Lo-Dash and promises
Interesting projects • http://knexjs.org/ • https://www.arangodb.org/foxx • http://bookshelfjs.org/ • https://github.com/Everyplay/backbone-
blueprint
var talk; talk.quesVons()
.end();
Developing Web Apps with BackboneJS