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
240
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
120
I2C basics with Arduino
mulderp
0
210
Sharing hardware with JavaScript
mulderp
1
190
Arduino October meetup
mulderp
0
110
Physical JavaScript with Johnny-5, Cylon and Tessel
mulderp
1
1.1k
Blogging and writing about JavaScript
mulderp
2
850
Minimum Viable Interactions
mulderp
3
570
Arduino July Meetup
mulderp
0
93
Other Decks in Programming
See All in Programming
unique パッケージから学ぶ interning と weak reference @ Asakusa.go#3
karamaru
2
810
実践!難読化ガイド
mitchan
0
220
はじめてみよう量子プログラミング
itokoichi01
0
220
Understand the mechanism! Let's do screenshots tests of Compose Previews with various variations / 仕組みから理解する!Composeプレビューを様々なバリエーションでスクリーンショットテストしよう
sumio
3
840
Ebitengineの1vs1ゲーム WebRTCの活用
ponyo877
0
380
全部見せます! クラシルリワードのSwiftTesting移行プロジェクト
uetyo
0
210
Amazon BedrockでサーバレスなAIお料理ボットを作成する!!
tosuri13
0
230
エンジニア1年目で複雑なコードの改善に取り組んだ話
mtnmr
3
2k
Patched fetch did not work
quramy
4
400
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
0
120
Crafting Cross-Platform Adventures: Building a Game Engine with Kotlin Multiplatform
dwursteisen
0
130
Kotlin 2.0が与えるAndroid開発の進化
masayukisuda
1
420
Featured
See All Featured
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
190
16k
VelocityConf: Rendering Performance Case Studies
addyosmani
322
23k
The Pragmatic Product Professional
lauravandoore
31
6.2k
BBQ
matthewcrist
83
9.2k
Docker and Python
trallard
39
3k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.2k
Making the Leap to Tech Lead
cromwellryan
128
8.8k
Web Components: a chance to create the future
zenorocha
309
42k
Fashionably flexible responsive web design (full day workshop)
malarkey
401
65k
The Invisible Side of Design
smashingmag
296
50k
Bash Introduction
62gerente
608
210k
The Straight Up "How To Draw Better" Workshop
denniskardys
230
130k
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