Top Banner
The Perforce JavaScript API A Platform for User Innovation Fred Malouf Director Client Development James Creasy Product Technology Research Manager
18

Perforce JavaScript API

Jan 19, 2015

Download

Technology

Perforce

This session will explore how to extend the functionality of Perforce clients with the power of HTML, CSS, and JavaScript. The vision for these applets is to be portable across P4V, P4Admin, P4Eclipse, and a browser. The toolkit will define an object model and will handle events, selections, and other services. The Perforce JavaScript API is more than a cool new feature for customers: it also provides a platform for internal innovation on Perforce's flagship GUI and beyond. Quick prototyping brings touchable validation for ideas to a wide range of employees across the organization.
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: Perforce JavaScript API

The Perforce JavaScript API

A Platform for User Innovation

Fred Malouf Director Client Development

James Creasy Product Technology Research Manager

Page 2: Perforce JavaScript API

CULTURE OF CONTRIBUTION

Page 3: Perforce JavaScript API

DRIVING FORCE

•  Leverage web development skills

•  Quick time to market

•  Stability across server versions

Page 4: Perforce JavaScript API

2011 BIG PICTURE

Perforce Server

JavaScript API

P4 C++ API

User Custom App

P4V

JavaScript API

P4 Java API

User Custom App

web engine

Eclipse

JavaScript API

Web Services

User Custom App

Browser

web engine web engine

Page 5: Perforce JavaScript API

PERFORCE COMMON OBJECT MODEL (PCOM)

•  Client Side Abstract Object Model

•  Perforce Objects

•  Perforce Operations

•  Consistent naming scheme for object field names

•  Consistent operation names where possible

Page 6: Perforce JavaScript API

SIMPLE APP USING PERFORCE JAVASCRIPT API

Page 7: Perforce JavaScript API

SIMPLE APP USING PERFORCE JAVASCRIPT API

Page 8: Perforce JavaScript API

SIMPLE APP USING PERFORCE JAVASCRIPT API

Page 9: Perforce JavaScript API

SIMPLE APP USING PERFORCE JAVASCRIPT API

Page 10: Perforce JavaScript API

SUPER COOL APPS

•  Contributions by people in diverse roles

•  Safe experimentation

•  Rapid development

Page 11: Perforce JavaScript API

CHANGELIST TRAJECTORY

Where did my change go?

Page 12: Perforce JavaScript API

STREAMS TIMELINE

Which changes have been integrated between streams?

Page 13: Perforce JavaScript API

P4 OGLE

How can I search Perforce metadata?

Page 14: Perforce JavaScript API

JOB VIEWER

How can I customize my jobs view?

Page 15: Perforce JavaScript API

STREAM VIEW APPLET

How can I visualize module dependencies between streams?

Page 16: Perforce JavaScript API

PERFORCE JAVASCRIPT API FUTURE

•  API for Container Services

•  Administrator-Managed Application Deployment

•  User-Managed Application Deployment

•  Digitally Signed Applications

Page 17: Perforce JavaScript API

TYING IT ALL TOGETHER

•  PCOM frees you from our development cycles and the

“down and dirty p4-isms”.

•  Perforce JavaScript API opens the door wide and

encourages collaboration.

Page 18: Perforce JavaScript API

Ecosystem

What will you build?