Top Banner
Trisha Gee, MongoDB Java Engineer #OSCON Rapid Application Prototyping with Java & MongoDB @trisha_gee
24

What Could Possibly Go Wrong? (OSCON version)

Nov 28, 2014

Download

Technology

Trisha Gee

AngularJS, HTML5, Bootstrap, Java, Groovy and MongoDB. Live coding presentation from OSCON

The code for this session is available here: https://github.com/trishagee/cafelito/tree/oscon

You can step through the history of this branch to see the application build up with each user story.
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: What Could Possibly Go Wrong? (OSCON version)

Trisha Gee, MongoDB Java Engineer

#OSCON

Rapid Application Prototyping with Java & MongoDB

@trisha_gee

Page 2: What Could Possibly Go Wrong? (OSCON version)

Live Coding: What Could Possibly Go Wrong

Page 3: What Could Possibly Go Wrong? (OSCON version)

Fully Buzz Word Compliant

• AngularJS (HTML5, JavaScript)

• Bootstrap (& UI Bootstrap)

• Drop Wizard (Jackson, Jersey, Jetty)

• MongoDB via Morphia (& Java Driver)

• Gradle, Groovy & Spock

• IntelliJ IDEA

Page 4: What Could Possibly Go Wrong? (OSCON version)

Hopefully you’ll learn…

• Java People: AngularJS / modern web UIs

• Non-Java People: Java Simplicity

• MongoDB

• Knowing your tools = productivity

Page 5: What Could Possibly Go Wrong? (OSCON version)

I want coffee!!!

Page 6: What Could Possibly Go Wrong? (OSCON version)

As a user of this amazing application, I need to be able to see it

Story 0

Page 7: What Could Possibly Go Wrong? (OSCON version)

As a coffee drinker, I would like to be able to select the coffee I want to order

Story 1

Page 8: What Could Possibly Go Wrong? (OSCON version)

As a coffee shop, I need to know which size and who ordered it so it goes to the right person

Story 2

Page 9: What Could Possibly Go Wrong? (OSCON version)

As someone with eyes, I would really like this to not look like crap

Story 3

Page 10: What Could Possibly Go Wrong? (OSCON version)

As a drinker of fine hot and cold drinks, I need to send this order to an actual coffee shop

Story 4

Page 11: What Could Possibly Go Wrong? (OSCON version)

As a systems admin, I need to know the connection to MongoDB is closed when the server stops

Story 5

Page 12: What Could Possibly Go Wrong? (OSCON version)

As a normal paranoid human being, I want to see my order made it to the server

Story 6

Page 13: What Could Possibly Go Wrong? (OSCON version)

As a thirsty person, I want to know where to pick my coffee up from

Story 7

Page 14: What Could Possibly Go Wrong? (OSCON version)

Caveats

•Took me a bit longer to create the original application

•I did cheat a bit with IntelliJ

•Nothing in any great depth

Page 15: What Could Possibly Go Wrong? (OSCON version)

REST in Practice: Hypermedia and Systems Architecture Jim Webber, Savas Parastatidis, Ian Robinson

Page 16: What Could Possibly Go Wrong? (OSCON version)

Angular Fundamentals in 60ish minutes

• http://www.youtube.com/watch?v=i9MHigUZKEM

Page 17: What Could Possibly Go Wrong? (OSCON version)

AngularJS meets JavaEE

• https://blogs.oracle.com/geertjan/entry/angularjs_meets_java_ee_7

Page 18: What Could Possibly Go Wrong? (OSCON version)

getbootstrap.com

Page 19: What Could Possibly Go Wrong? (OSCON version)

angular-ui.github.io/bootstrap/

Page 20: What Could Possibly Go Wrong? (OSCON version)

dropwizard.codahale.com/getting-started/

Page 21: What Could Possibly Go Wrong? (OSCON version)

mongodb.org

Page 22: What Could Possibly Go Wrong? (OSCON version)

https://github.com/mongodb/morphia/

Page 23: What Could Possibly Go Wrong? (OSCON version)

https://github.com/trishagee/cafelito

Page 24: What Could Possibly Go Wrong? (OSCON version)

P.S. We Are Hiring

#OSCON

Questions?

Come and see us at our booth

@trisha_gee

P.P.S We are giving away a free trip to Dublin