Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The idea for the prototype is to get experience with angularjs

with angularjs webcomponents should be easy to make

angular supports something called directives which basically wraps/fold an blob of html into one new html tag, so:

Code Block
<datafield dataProviderID="record.orderid" />

expands to something like:

Code Block
<div class="xyz"><input type="text" value="{{record.orderid}}"></div>

an directive like "datafield" is the basic building block for a webcomponent, see "Create Components" section at: http://angularjs.org (especially see the component.js tab there)

 

So every webcomponent consists out of 3 parts/files:

...

AngularJS and to verify if this would be an valid replacement for WebClient

Prototype objectives:

  • Make all form elements beans/webcomponents