aurelia-ui-toolkits / aurelia-syncfusion-bridge

27 stars 21 forks source link

How to get us all together again? #13

Closed adriatic closed 8 years ago

adriatic commented 8 years ago

This task should be really called: adding the first real ej-widget to the Aurelia-Syncfusion bridge.

My today's comments to our "daily log" (here and here) tell me that I did not provide sufficient guidance for the transition from the the quick bridge developer's tutorial to the next level, presented in the article control implementation walkthrough.

To be direct, I could not have written this second article mentioned above, since the task define Syncfusion JavaScript collection installation is still not finished.

So, the very first item on our agenda here is the following section below under the name How to define Syncfusion JavaScript collection installation. Please mark each sentence or paragraph that needs further explanation - or state that all is clear.

The second item on our today's agenda is simple to define:

  1. Read (again) control implementation walkthrough that explains all the steps how to add the KendoUI button to the bridge (as a wrapper) and to the catalog application as a page that utilizes that wrapper.
  2. Ask about anything that is not clear in that article
  3. Create the parallel copy of that article that explains all the steps how to add the Syncfusion `ej-button button to the bridge (as a wrapper) and to the catalog application as a page that utilizes that wrapper
adriatic commented 8 years ago

How to define Syncfusion JavaScript collection installation

Please explain what if anything in the the article define Syncfusion JavaScript collection installation is not clear and how can I help to get this done.

Start with careful examination of KendoUI installation page and check all tabs on that page:



Image 1

Then observe that we offer three ways of installing KendoUI SDK with the motivation to help folks that never bought Kendo, by allowing them to either grab free copy of KendoUI-core from Github or Bower. In addition we use the vendors folder based approach to make the installation simple for people that already have the full installation of KendoUI SDK (see below:



Image 2

and coy only two highlighted folders on the above images to the vendors folder in the root of the project repository (see below)



Image 3

_Lastly _ any code in the bridge (say button.js wrapper, for example)



Image 4

gains access to these Syncfusion SDK modules stored in vendors folder via the paths section shown below:

  paths: {
    "github:*": "jspm_packages/github/*",
    "npm:*": "jspm_packages/npm/*",
    "kendo-ui/*": "vendors/*",                      <----
    "kendo.*": "vendors/js/kendo.*.js"         <----
  },

This paths section is here

adriatic commented 8 years ago

NOTE:

This issue continued in https://github.com/aurelia-ui-toolkits/skeleton-bridge/issues/26 which was resolved there.