The Perforce JavaScript API A Platform for User Innovation · Perforce Server JavaScript API P4 C++...

Post on 03-May-2020

48 views 0 download

transcript

The Perforce JavaScript API

A Platform for User Innovation

Fred Malouf Director Client Development

James Creasy Product Technology Research Manager

CULTURE OF CONTRIBUTION

DRIVING FORCE

•  Leverage web development skills

•  Quick time to market

•  Stability across server versions

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

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

SIMPLE APP USING PERFORCE JAVASCRIPT API

SIMPLE APP USING PERFORCE JAVASCRIPT API

SIMPLE APP USING PERFORCE JAVASCRIPT API

SIMPLE APP USING PERFORCE JAVASCRIPT API

SUPER COOL APPS

•  Contributions by people in diverse roles

•  Safe experimentation

•  Rapid development

CHANGELIST TRAJECTORY

Where did my change go?

STREAMS TIMELINE

Which changes have been integrated between streams?

P4 OGLE

How can I search Perforce metadata?

JOB VIEWER

How can I customize my jobs view?

STREAM VIEW APPLET

How can I visualize module dependencies between streams?

PERFORCE JAVASCRIPT API FUTURE

•  API for Container Services

•  Administrator-Managed Application Deployment

•  User-Managed Application Deployment

•  Digitally Signed Applications

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.

Ecosystem

What will you build?