Ruchira/Sameera/Manu,

AFAIK we do not have a specific folder to keep JS libraries related to BE
functionality in the current Jaggery App Structure. Only libraries I have
seen (could be wrong) are in  themes/{theme name}/lib.

But these libraries are mostly related to UI presentation.

If I am correct on above, shall we go ahead and create a place holder for
such libraries?

What would be a good location? {app-name}/site/lib?





On Thu, Nov 20, 2014 at 3:07 PM, Lahiru Cooray <[email protected]> wrote:

> Hi,
>
> *Please refer the mail thread : "[Architecture] [AF] Capturing BAM events
> with an objective of understanding user activity"*
>
> Currently I'm working on implementing a common JS library modifying the
> above mentioned JS to make it more generic.
>
> User can give the below inputs to this Javascript as a json string:
>
>    - *isActive* : switch to activate the JS features
>    - *path* : Publisher Jaggery Path (JS library will post an event with
>    results to mentioned path)
>    - *appData* : Data in the web page which needs to add to the event
>    (eg: ApiID, SubscriberID,Email, Username,  etc)
>    - *appControls : *User can mention some HTML controls here and for the
>    changes in those controls this JS will execute
>    - *publishedPeriod *: Time gap which user needs to publish.
>
>
> Then the Js will periodically post the result (appData, Timestamp) to the
> defined publisher path.
>
> *Please suggest the best place to keep these type of shareable resources.*
>
> --
> *Lahiru Cooray*
> Software Engineer
> WSO2, Inc.;http://wso2.com/
> lean.enterprise.middleware
>
> Mobile: +94 715 654154
>



-- 
/sumedha
m: +94 773017743
b :  bit.ly/sumedha
_______________________________________________
Architecture mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to