Introducing 

Prezi AI.

Your new presentation assistant.

Refine, enhance, and tailor your content, source relevant images, and edit visuals quicker than ever before.

Loading…
Transcript

let's explore the DB APIs some...

What can I do with this?

...but that can't possibly scale, right?

“CouchDB is made of the web.”

– Jacob Kaplan-Moss

Couchbase

jQuery and You

“jQuery is a fast and concise JavaScript Library that simplifies HTML document traversing, event handling, animating, and Ajax interactions for rapid web development.”

Dustin Sallings

@dlsspy

Complement

  • web server == DB
  • browser language == server language
  • read, write, REST

Shed Tiers

[demo]

jQuery: Awesome DB Client

http://goo.gl/A5Jwa

@dlsspy

Manage

Data

Manage Databases

jQuery

couch

Manage the

server

Responsibilities

create, retrieve, update

"favoriting" items

client-side

server-side

map function with reduce (server-side)

map function (server-side)

use built-in reduce: _count

map request

grouped map request

slightly fancier:

update the UI when

the server finishes

watch changes in realtime

basic change tracking

ungrouped

  • periodic poll
  • long polling
  • pause/resume
  • filter items
  • for tools, too!

`

Just about anything.

Learn more about creating dynamic, engaging presentations with Prezi