10600 Westminster Blvd
Westminster, CO 80020
Building Next Generation Apps Workshop
For a long while, we've built applications pretty much the same way. Regardless of the frameworks (or even languages and platforms) employed, we've packaged up our web application, deployed it to a server somewhere, and asked our users to point their web browser at it.
But now we're seeing a shift in not only how applications are deployed, but also in how they're consumed. The cost and hassle of setting up dedicated servers is driving more applications into the cloud. Meanwhile, our users are on-the-go more than ever, consuming applications from their mobile devices more often than a traditional desktop browser. And even the desktop user is expecting a more interactive experience than is offered by simple page-based HTML sites.
With this shift comes new programming models and frameworks. It also involves a shift in how we think about our application design. Standing up a simple HTML-based application is no longer good enough.
In this 2-part workshop, you'll get hands-on experience building a simple, yet complete next-generation application that can be deployed in the cloud, consumed from any device, and offers a rich experience for your users.
This session is a workshop. Please come prepared.
IMPORTANT!!! Please perform these steps prior to attending the workshop on the same computer that you'll be using during the workshop.
- Install node and npm: http://nodejs.org/
- Verify node installation, by typing "node -v" at the command line
- Should reflect v0.8.14 or whatever version you installed
- Verify npm installation by "npm -v" at the command line
- Should reflect v1.1.65 or whatever version you installed
- Install Spine.js (and hem) by typing "npm install -g spine spine.app hem" at the command line
- Verify Spine.js installation by typing "spine" at the command line
- Should display usage information
- You should have Java 1.6 or higher installed.
- You should have Apache Maven (http://maven.apache.org/) 3.0.4 or higher installed.
- Verify Maven installation by typing "mvn -v" at the command line
- Should display Maven and Java version details
- You should have Git (http://git-scm.com/) installed
- Clone the NGWorkshop starter project from https://github.com/habuma/NGWorkshop
- At the command line: git clone git://github.com/habuma/NGWorkshop.git
- Build and verify the starter project by cd'ing into the project and typing
"mvn tomcat:run" at the command line.
- Wait for build to pause and display "INFO: Starting Coyote HTTP/1.1 on http-8080".
- Point your web browser at http://localhost:8080/ngws
- You should see "Hello world!" and the server time displayed in the browser
- (optional, but recommended) Install Spring Tool Suite (http://www.springsource.org/sts)
- Install the NGWorkshop project into STS as an "Existing Maven Project"
- File -> Import... -> Maven/Existing Maven Projects
You are now ready to attend the workshop!
One final note: Just in case I need to make changes to the starter project prior to the workshop, you might want to do "git pull" in the project folder just before arriving at the workshop to be sure that you have the latest stuff.
About Craig Walls
Craig Walls is a senior engineer with SpringSource as the Spring Social project lead and is the author of Spring in Action and XDoclet in Action (both published by Manning) and Modular Java (published by Pragmatic Bookshelf). He's a zealous promoter of the Spring Framework, speaking frequently at local user groups and conferences and writing about Spring and OSGi on his blog. When he's not slinging code, Craig spends as much time as he can with his wife, two daughters, 2 birds and 3 dogs.More About Craig »