►
Description
Speaker | Russ Bradberry (Principal Architect, SimpleReach)
Date | Wednesday November 29 @ 11AM PST
Join MVP for Apache Cassandra and Node.js expert, Russ Bradberry as he presents the basics of how to write your first Node.is application on top of Cassandra. Russ will talk about the Node.js driver, Helenus, that he created and provide top tips that will save you time and headaches. This webinar is 101 level
A
A
Russ
Bradbury
Russ
is
a
base
tax
MVP
and
is
also
the
person
who
wrote
the
Helenus
driver,
which
is
the
nodejs
driver
for
Cassandra,
and
we
have
something
a
little
bit
different
today
that
Russ
is
actually
going
to
do
a
live
walkthrough
of
how
to
build
your
first
node.js
application
on
Cassandra.
So
without
further
ado
or
actually
one
little
housekeeping
item,
we
will
save
questions
for
the
end
of
this
presentation.
So,
as
usual,
there
are
two
ways
to
ask
questions
you
can
use
the
WebEx
Q&A
panel
and
also
you
can
ask
questions
via
twitter.
A
B
B
B
B
So
the
first
thing
we're
going
to
need
to
do
in
creating
the
application
is
to
specify
Helenus.
As
the
driver
like
Christian
said,
I
wrote,
the
Helenus
driver
and
I
do
currently
maintain
it,
and
we
do
allow
community
involvement
if
you'd
like
to
get
involved
in
helping
to
create
the
to
help
better.
The
driver
itself.
B
B
B
It's
important
to
remember
that
when
using
Cassandra,
what
you
want
to
do
is
you
want
to
connect
to
as
many,
if
even
all,
nodes
as
possible
to
ensure
that
the
load
of
the
fellow
to
the
request
gets
balanced
properly.
The
second
second
we're
going
to
specify
the
key
space
here,
I've
already
set
up
my
key
space
and
called
it
webinar.
B
If
you'd
like
to
see
how
to
set
up
the
key
space
and
column
family,
you
can
go
to
the
github
to
the
github
source
code,
which
will
be
quote
which
is
quoted
for
this
onl
online
github
profile
set
based.
The
third
is
going
to
be
the
cql
version
and
we're
using
the
latest
version
of
Cassandra
over
a
specified
sequel
version
is
3.0.
B
B
So
now
that
we
have
our
application
set
up
here,
what
we're
going
to
do
is
we're
going
to
add
some
routes.
The
first
route
is
going
to
be
our
index
and
that's
going
to
be
again.
The
second
route
we
are
going
to
specify
is
a
post
route.
The
post
route
is
going
to
allow
us
to
put
put
new
objects
into
our
passado
database
and
we're
just
going
to
specify
routes.
New
and
a
third
is
going
to
be
the
delete
route
and
that
will
be
obsolete.
B
Now
that
our
route
to
set
up,
we
can
start
creating
them.
So
we're
going
to
go
into
the
index
into
the
index
route
and,
as
you
can
see,
they
have
already
specified
for
us
one
one
one
index
route
we're
going
to
go
ahead
and
modify
this
and
what
we
want
to
do
is
we
want
to
connect
to
our
Cassandra
pool.
B
A
B
Stick
a
parameter
is
going
to
be
B
callback
in
the
callback.
It
will
pass
back
in
just
the
same
just
the
standard
note,
jf
style
of
an
error
and
then
the
value
you're
expecting
so
in
this
case
we're
expecting
users
when
I
specify
as
users
and
if
we
have
an
error.
What
we
want
to
do
is
we
want
to
ensure
that
error
makes
it
to
the
application
by
calling
next.
B
B
In
a
new
route
again,
what
we're
going
to
do
is
we're
going
to
specify
our
our
statement.
In
this
case,
it's
going
to
be
an
insert
statement
and
much
of
the
same
way
that
a
lot
of
a
lot
of
drivers,
like
my
sequel
and
n
post
grads,
do
in
node.js
we're
going
to
use
question
mark
replacement
variables.
So
where
is
it
first
name
equals
question
mark.
B
And
here
we're
going
to
specify
our
key,
which
is
in
the
where
clause
when
using
Cassandra
update
statements.
If
you
use
a
where
Clause
it's
going
to
use,
it's
going
to
use
first,
the
primary
key,
which
is
the
key
in
Cassandra
here,
we're
going
to
specify
our
parameters,
which
is
going
to
be
an
array
of
items
from
first
to
last.
That
will
match
up
with
the
first
question
mark
the
second,
the
second
question
mark
in
the
third,
the
third
question
mark.
So
here
we're
going
to
access
our
body
and
get
the
parameters
out.
First
name.
B
B
We're
going
to
pass
the
air
up
again
and
one
more
time
we're
going
to
just
redirect
to
the
home
page
if,
if
it's
been
successful
so
now
that
we
have
our
route
set
up,
let's
go
ahead
and
take
a
look
at
our
view.
Our
view
is
very
basic
here.
So
what
I'm
going
to
go
ahead
and
do
is
I
have
some
pre-written
code
here
that
I'm
going
to
go
ahead
and
just
copy
and
paste
so
that
you
can
keep
this
kind
of
short.
B
You
don't
have
to
see
me
typing
everything
out
so
now
that
we
have
our
view
in
place.
As
you
can
see,
it's
a
simple
table
with
the
first
name
last
name
and
email,
the
when
using
the
Helenus
driver
when
you
get
back
that
a
result
set,
you
used,
get
on
the
results
set
with
the
name
of
the
field
and
that
values.
B
The
reason
why
you
do
this
is
because
the
results
that
will
return
you
back
with
each
field
will
return
you
back
the
name
of
the
field,
the
value
as
well
as
the
timestamp
that
was
created.
So
in
this
case,
all
we
care
about
is
the
value.
So
we're
going
to
be
specifying
those
zekrom,
and
here
we
specify
a
mini
form
to
access
the
delete
methods
and
down
here
is
the
form
to
add
new
users.
B
A
B
B
B
B
A
So
we
we
don't
have
any
questions
yet,
but
please
go
into
your
Q&A
panel
and
start
to
ask
your
questions.
One
thing
I
wanted
to
just
sort
of
preempt
as
a
question,
because
we
always
get
this
one,
and
that
is,
we
always
are
asked
for
the
slides
and
whether
this
there
will
be
a
video
of
this
webinar.
And
the
answer
is
yes
and
we
will
notify
all
the
registrants
and
attendees
when
they
are
available
and
that
should
be
within
24
hours,
we're
trying
to
hit
rhythm
where
we
get
them
out
pretty
quickly.
A
Also
we
have
our
next
webinars
scheduled,
so
we
have
one
ready
for
the
holiday
season
as
I'm
noticing
that
the
next
one
is
December
13th
and
that
will
build
on
what
we've
done
today
and
we'll
look
at
building
your
first
java
application
with
Apache
Cassandra
in
January,
we'll
be
talking
about
CEP
and
that
will
be
focused
on
storm
and
Cassandra
and
then
on
Valentine's
Day
put
it
in
your
Diaries.
Do
not
miss
B
is
not
for
Valentine's
Day,
it's
curvy
notes,
and
that
should
be
a
very
popular
session
as
well.
B
A
B
B
B
No
chance
is
great
at
I/o
bound
based,
IO
bound
applications.
The
reason
why
is
because,
while
while
it's
waiting
on
the
IO
it
can
do,
it
can
do
a
few
other
things
at
the
same
time.
This
is
this
is
great
because
you
can
make
several
requests
to
katana.
Let's
say
you're
doing
range
queries
instead
of
doing
one
large
range,
where
you
can
break
that
up
into
three
or
four
smaller
range
queries
and
get
back
a
faster
overall
response
than
and
doing.
One
very
large
range
query.
A
Okay,
great,
thank
you
well
Russ,
a
light
Q&A
panel
today
you
got
off,
you
got
off
easily
knows
no
real
hardball
questions
for
you
and
thank
you
again
for
taking
the
time
and
talking
to
us
about
your
no.
No
js'
driver
became
meters
back
here
on
December
13th
for
the
next
one,
which
is
building
your
first
java
application.
Thank
you.
Everyone!
Thank
you.