16
Creating Engaging Apps with Visualforce and Bootstrap The first UI framework in your kit Kyle Bowerman, Appirio/Cloudspokes, Technical Architect @kylebowerman

Create Engaging Apps with Visualforce and Bootstrap

Embed Size (px)

DESCRIPTION

Join us as we take a deep dive into Bootstrap and Visualforce, and show how easy it is to create attractive mobile apps. This case study will focus on JDRF's Online Diabetes Support Team's approach to solving their mobile challenges. Along the way, we'll cover Bootstrap's powerful CSS and base JavaScript functionality, and show you how to harness the power of this open source framework.

Citation preview

Page 1: Create Engaging Apps with Visualforce and Bootstrap

Creating Engaging Apps with Visualforce and BootstrapCreating Engaging Apps with Visualforce and BootstrapThe first UI framework in your kit

Kyle Bowerman, Appirio/Cloudspokes, Technical Architect

@kylebowerman

Page 2: Create Engaging Apps with Visualforce and Bootstrap

Kyle BowermanKyle Bowerman

Appirio / Cloudspokes TA

@kylebowerman

Appirio / Cloudspokes TA

@kylebowerman

Page 3: Create Engaging Apps with Visualforce and Bootstrap

It is 2013! Pick a framework!

In Spring 11 Salesforce released JS Remoting

It by passes the VF rendering engine and returns a JSON object

Now developers can use rich UI Javascript/CSS libraries [Frameworks]

You don’t need to work hard anymore to create rich Uis

Focus on the business process that is hard, pick a Responsive HTML5

Framework, I Bootstrap

Page 4: Create Engaging Apps with Visualforce and Bootstrap

Topics we will cover today

Why use bootstrap

Examples of some features

Project background

Landmarks of the demo

Demo

Page 5: Create Engaging Apps with Visualforce and Bootstrap

Why Bootstrap

1. Looks great and saves time

2. Plugins / Customizable

3. Great documents and community support

4. Future Compatibility

5. Developers Love it!

Page 6: Create Engaging Apps with Visualforce and Bootstrap

Nav example

<ul> <li><a href="#">Welcome</a></li> <li><a href="#">To</a></li> <li><a href="#">Dreamforce</a></li> <li><a href="#">2013</a></li></ul>

<ul class="nav nav-tabs"> <li class="active"><a href="#">Welcome</a></li> <li><a href="#">To</a></li> <li><a href="#">Dreamforce</a></li> <li><a href="#">2013</a></li></ul>

Page 7: Create Engaging Apps with Visualforce and Bootstrap

More Nav example

<ul class="nav nav-pills"> <li class="active"><a href="#">Welcome</a></li> <li><a href="#">To</a></li> <li><a href="#">Dreamforce</a></li> <li><a href="#">2013</a></li></ul>

<ul class="nav nav-list span2"> <li class="active"><a href="#"><i class="icon-fixed-width icon-home"/> Welcome</a></li> <li><a href="#"><i class="icon-fixed-width icon-book"/> To</a></li> <li><a href="#"><i class="icon-fixed-width icon-pencil"/> Dreamforce</a></li> <li><a href="#"><i class="icon-fixed-width icon-cogs"/> 2013</a></li></ul>

Icons are fonts so they scale to any size

Page 8: Create Engaging Apps with Visualforce and Bootstrap

But wait there’s more!

“Sleek, intuitive and powerful mobile first front-end framework

for faster and easier web development” - from getbootstrap.com

From the folks at Twitter

Core JS libraries

CSS, built using {LESS} css pre-processor

Framework for plugins

Uses glyphicons and font-awesome for icons

Page 9: Create Engaging Apps with Visualforce and Bootstrap

The Project

Migrate an existing on premise support app into SF to leverage

existing CRM data. The app will manage a team of volunteers

with no Salesforce experience It should be intuitive and look

familiar.

…. and it has to be done in 8 weeks time.

Page 10: Create Engaging Apps with Visualforce and Bootstrap

Support Flow

Page 11: Create Engaging Apps with Visualforce and Bootstrap

Landmarks

•Navbars

•12 column grid

•Data tables

•Expandable row details

•Glyphicons

Page 12: Create Engaging Apps with Visualforce and Bootstrap

Landmarks

•Animated modal “fly in”

•Backdrop shading

•Input types by class

•Partial refresh on search

Page 13: Create Engaging Apps with Visualforce and Bootstrap

DEMO

Page 14: Create Engaging Apps with Visualforce and Bootstrap

All about Appirio and Cloudspokes

Appirio is a global service company that uses traditional

consulting, crowd sourcing and cloud, social and mobile

technology to help enterprises dramatically improve the way

they do business.

Cloudspokes is Appirio’s crowd sourcing business unit.

With it’s recent acquisition of TopCoder.com, it provides a

resource of nearly 600k developers world wide to provide

customer solutions

Page 15: Create Engaging Apps with Visualforce and Bootstrap

Kyle BowermanKyle Bowerman

Technical Architect@kylebowerman

Page 16: Create Engaging Apps with Visualforce and Bootstrap