All posts tagged: Integration

Elegant Integration of Coach Views and AngularJS

If you have ever created a Coach View, you understand that it’s more difficult to integrate the data and its visual representation than you’d like, and if you have not created any coach views, perhaps for this reason, now’s your chance!  For example, to create a “Are you sure you wish to assign this task to SOMEUSER?” message view, you require the following (or perhaps a strictly JavaScript implementation):

js js1

Some of you are thinking, “So? Easy peasy lemon squeezy!” while others may be thinking “This is my NIGHTMARE!!”  What if you could get away with the following:

js2

Boom goes the dynamite!  The text automatically updated! Now we’re talking in the realm of AngularJS and Coach View integration with the Apex Coach Views Toolkit.. 2!

“But Kyle! How do I make it show up nice and pretty?  Whenever I create something,  I always have to worry about configuration options for style, format, and the likes!”

ACV2 (Apex Coach Views 2) solves this issue by allowing you to simply add “columns” as a configuration option and you’re done!  Instantly fits perfectly into a responsive layout with Bootstrap CSS!  No extra time in CSS Hell.  (CSS and DOJO Hell are terms coined by Apex consultants before coach view toolkits existed)

Now that you’ve created a dynamic message for your application the client will be very impressed and you can call it a day; however, if you want to ensure a free dinner and drinks outing at the steakhouse by Wednesday night, you’ll have to take advantage of a few more AngularJS features.

Let’s try our hand at a basic Text control:

js3

The label for a view is now displayed with conditional visibility, and the input not only reflects updated local variable values but also sets the value with each keystroke.  Neato!

Now that we’ve seen interactions with Coach View bound data as well as options, let’s throw in Angular’s handy dandy ‘ng-change’ directive to show some love for the oft forgotten metadata.

js4 js5

Above we see two of our views exhibiting Bootstrap CSS automatically with the “columns” configuration option.  Due to ng-change, not only is our bound variable updated as we type, but the label is updated with each keystroke as well.  Coach Views + AngularJS + Apex Coach Views 2 = Less Script + More Power + tan(DELTA(time)/resources) <- I don’t even know what that means… and as Will Ferrell would say: “Nobody knows what it means, but it’s provocative!”

Naturally, using Custom HTML blocks is bested by ACV2 patterns for IBM BPM web file templates and Custom Builds, but those adventures are for upcoming posts.

erikafulkElegant Integration of Coach Views and AngularJS
read more

Apex Repository 3.0

Apex Process Consultants is pleased to announce the general availability of Apex Repository 3.0.  This release expands on the success of the original Apex Repository and offers new functionality designed to make the implementation and maintenance of a system of record faster and more efficient.  The goal of any agile development project is keep moving forward efficiently thorough each iteration. Maintaining the system of record and keeping it in sync with changing business objects can lead to delays, especially when specialized tools and skills are required.  The team at Apex Process Consultants understands this and Repository 3.0 will help your team stay agile and deliver more business value.

Repository_diagram

(click image for larger view)

This release of Apex Repository introduces a new configuration wizard that allows you to:

  • Map business objects to tables using rules-based defaults with manual overrides
  • Easily identify database updates based on changes to your business objects (and apply those changes to your database)
  • Implement primary and foreign keys
  • Bulk load and manage data using Excel

With this release, Apex Repository includes a full set of ready-to-use integration services (no development required!), as well as, a set of integration coach views that retrieve and manage data directly from the client (no Ajax services to build!).  You’ll be able to quickly define and maintain the relationship between business objects and the system of record database whether you have an existing database schema or need to create a new one from scratch.

For more details, please visit the Apex Repository page.

Contact Apex Process Consultants with any questions or to set-up a demo!

erikafulkApex Repository 3.0
read more