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

      P4V             Eclipse          Browser


   web engine        web engine       web engine


  User Custom       User Custom      User Custom
      App               App              App



  JavaScript API   JavaScript API    JavaScript API

   P4 C++ API       P4 Java API      Web Services


                   Perforce Server
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?

Perforce JavaScript API

  • 1.
    The Perforce JavaScriptAPI A Platform for User Innovation Fred Malouf Director Client Development James Creasy Product Technology Research Manager
  • 2.
  • 3.
    DRIVING FORCE •  Leverage web development skills •  Quick time to market •  Stability across server versions
  • 4.
    2011 BIG PICTURE P4V Eclipse Browser web engine web engine web engine User Custom User Custom User Custom App App App JavaScript API JavaScript API JavaScript API P4 C++ API P4 Java API Web Services Perforce Server
  • 5.
    PERFORCE COMMON OBJECTMODEL (PCOM) •  Client Side Abstract Object Model •  Perforce Objects •  Perforce Operations •  Consistent naming scheme for object field names •  Consistent operation names where possible
  • 6.
    SIMPLE APP USINGPERFORCE JAVASCRIPT API
  • 7.
    SIMPLE APP USINGPERFORCE JAVASCRIPT API
  • 8.
    SIMPLE APP USINGPERFORCE JAVASCRIPT API
  • 9.
    SIMPLE APP USINGPERFORCE JAVASCRIPT API
  • 10.
    SUPER COOL APPS •  Contributions by people in diverse roles •  Safe experimentation •  Rapid development
  • 11.
  • 12.
    STREAMS TIMELINE Which changeshave been integrated between streams?
  • 13.
    P4 OGLE How canI search Perforce metadata?
  • 14.
    JOB VIEWER How canI customize my jobs view?
  • 15.
    STREAM VIEW APPLET Howcan I visualize module dependencies between streams?
  • 16.
    PERFORCE JAVASCRIPT APIFUTURE •  API for Container Services •  Administrator-Managed Application Deployment •  User-Managed Application Deployment •  Digitally Signed Applications
  • 17.
    TYING IT ALLTOGETHER •  PCOM frees you from our development cycles and the “down and dirty p4-isms”. •  Perforce JavaScript API opens the door wide and encourages collaboration.
  • 18.
    Ecosystem What will you build?