Hi Gokul, I think it is OK to copy the Gadget when it is changed. I do not think we will have that many gadget so copying will be a problem.
--Srinath On Mon, Jul 29, 2013 at 11:32 AM, Balakrishnan Gokulakrishnan < [email protected]> wrote: > Hi all, > > The following is a report on the F2F meeting held with UES folks regarding > using UES gadgets in the BAM KPI implementation. Participants - Anjana, > Sinthuja, me, Ruchira, Madhuka, Praveena. > > For the BAM use case, it is required to represent the outcomes of KPI > definition via gadgets. For this purpose, we require the gadgets to be > customisable on a level such that multiple users can share a specific > variation of a gadget, with new users(added after gadget creation) being > able to see the custom gadget from the start. Options for customisation may > include labels for axes, titles and so on. For instance, it should be > possible for a barchart gadget to exist as "sales-barchart" and > "marketing-barchart" at the same time. > > Currently, UES gadgets are rendered based on the gadget XML available on > the file system and any preferences that have been defined. The parameters > may be of two types: user preferences and module preferences. User > preferences are specified by the user and may contain information such as > gadget placement etc. and are specific to that particular user. Module > preferences are tied to the gadget itself (via its source) and are not > meant to be changed dynamically. > > Since there is no intermediate level (such as a copy in the registry) in > which a gadget is stored so that there could be more than one > representation of the same gadget, we have decided to go with spawning > variations of gadgets for each customisation for the time being. > Specifically, we will need to perform the following actions: > > -Add a gadget and create a new page/site > -Add a gadget to a pre-existing page/site. > > It is our intention to go with the JS APIs used by UES for the above > functions. @UES Team please provide us with details on the APIs and their > usage for the above. @All please add anything that I may have > missed/misinterpreted. > > Thanks, > Gokul. > -- > *Balakrishnan Gokulakrishnan* > Software Engineer, > WSO2, Inc.; http://wso2.com > > Twitter: http://twitter.com/gokulbs > Mobile: +94775935789 > > _______________________________________________ > Architecture mailing list > [email protected] > https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture > > -- ============================ Srinath Perera, Ph.D. http://people.apache.org/~hemapani/ http://srinathsview.blogspot.com/
_______________________________________________ Architecture mailing list [email protected] https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
