[Carbon-dev] [Architecture] Making Shindig apart of Carbon Core UI

Afkham Azeez azeez at wso2.com
Fri Sep 16 22:10:13 EDT 2011


On Sat, Sep 17, 2011 at 7:30 AM, Sanjiva Weerawarana <sanjiva at wso2.com>wrote:

> +1 for keeping the size small and for using P2 properly.
>
> Nuwan, aren't we already using the dashboard component in (almost) all
> products already? If so this is not a net increase in size but simply
> enabling gadgets to be used in any page without having to have the entire
> page be full of gadgets isn't it? If so that seems like a nice improvement
> for me.
>

Not all products use the dashboard. Even if they do, we should simply keep
something like this as a separate feature.


>
> In any case, if the feature is available for anyone interested to use and
> people use it then we can look at whether we want to have it in the core.
>
> Azeez, would it also make sense to look at having 2 core variations- one
> for servers which want a console and one for pure runtime servers? For
> example AS worker nodes don't need any of these bundles ... so once we get
> to the bundle pool + startup by installing what's needed mode the size will
> become minified automatically.
>

That is available even now. You can simply uninstall all BE features.
However, that won't delete any bundles, but will only remove the features
from the P2 profile. It might make sense to have 3 different distributions;
BE-only, FE-only, FE+BE. The core download size of each product has to be
reduced since >100MB would give the user the perception that the product is
bulky (not lean).


>
> Sanjiva.
>
>
> On Sat, Sep 17, 2011 at 6:54 AM, Afkham Azeez <azeez at wso2.com> wrote:
>
>>
>>
>> On Sat, Sep 17, 2011 at 6:26 AM, Nuwan Bandara <nuwan at wso2.com> wrote:
>>
>>> Hi Tharindu,
>>>
>>> On Sat, Sep 17, 2011 at 2:12 AM, Tharindu Mathew <tharindu at wso2.com>wrote:
>>>
>>>> Nuwan, can we make this available to whoever has the dashboard feature
>>>> without increasing the core size?
>>>
>>>
>>> Can be done, but not sure if that actually achieve our objective. my-idea
>>> was to push this feature for platform wide UI, so developers can create
>>> gadget with their own UI components and have them inside the JSPs across
>>> other components.
>>>
>>
>> Carbon core has become bulky due to such features unnecessarily getting
>> pushed into the core. We need to get the product sizes back to the sub 100MB
>> region. Even when it comes to products, we should not unnecessarily include
>> features by default. We must let users effectively use the P2 repo to
>> install whatever they need.
>>
>>
>>
>>> Regards,
>>> /Nuwan
>>>
>>>
>>>>
>>>>
>>>> On Friday, September 16, 2011, Afkham Azeez <azeez at wso2.com> wrote:
>>>> > Please note that I would like to see some other modules which are in
>>>> carbon core also moved out. So, please don't add anything new.
>>>> >
>>>> > ----
>>>> > Sent from my phone
>>>> >
>>>> > On Sep 16, 2011 11:51 PM, azeez at wso2.com wrote:
>>>> >> We will have to think about how to properly implement this, but I'm
>>>> sure it
>>>> >> can be done.
>>>> >>
>>>> >> ----
>>>> >> Sent from my phone
>>>> >> On Sep 16, 2011 10:13 PM, "Nuwan Bandara" <nuwan at wso2.com> wrote:
>>>> >>> Hi Azeez,
>>>> >>>
>>>> >>> On Fri, Sep 16, 2011 at 8:13 PM, Afkham Azeez <azeez at wso2.com>
>>>> wrote:
>>>> >>>
>>>> >>>> -1 to increasing the distribution size. Big -1 to this addition.
>>>> Adding
>>>> >>>> everything to carbon core violates the component model.
>>>> >>>>
>>>> >>> I agree the bundle is bulky in Size, and doing our best to reduce
>>>> its size
>>>> >>> (discussion on* [carbon-dev]Shindig upgrading effort*) it was 20MB
>>>> before
>>>> >>> and we have managed to reduce it to 12MB.
>>>> >>>
>>>> >>> About the component model; is there another mechanism you suggest to
>>>> have
>>>> >>> this feature to be integrated with the carbon-core ui, the objective
>>>> of
>>>> >> this
>>>> >>> feature is, that any UI component developer can add a gadget simply
>>>> from a
>>>> >>> tag, like we add properties etc. if we make this a separate
>>>> component IMO
>>>> >> we
>>>> >>> cannot get the model working.
>>>> >>>
>>>> >>> Can you suggest the correct way in doing this if it violates the
>>>> component
>>>> >>> model.
>>>> >>>
>>>> >>> Regards,
>>>> >>> /nuwan
>>>> >>>
>>>> >>>> ----
>>>> >>>> Sent from my phone
>>>> >>>> On Sep 16, 2011 4:19 PM, "Nuwan Bandara" <nuwan at wso2.com> wrote:
>>>> >>>> > Hi All,
>>>> >>>> >
>>>> >>>> > We have done some work around gadget rendering, and we have
>>>> developed a
>>>> >>>> new
>>>> >>>> > feature so that if you need a gadget in you page you do not need
>>>> the
>>>> >>>> > dashboard to show them. You can simply create a tag and add the
>>>> gadget
>>>> >>>> URL
>>>> >>>> > and the UI part will be available in ur page. an example would be
>>>> >>>> >
>>>> >>>> > <c:gadget url="/foo.xml" height="100" width="100"
>>>> class="gadget-style"
>>>> >> />
>>>> >>>> >
>>>> >>>> > once you add above tag you can place the gadget where ever you
>>>> want in
>>>> >>>> your
>>>> >>>> > page.
>>>> >>>> >
>>>> >>>> > This feature can come in handy in many ways where you want to mix
>>>> >> static
>>>> >>>> and
>>>> >>>> > dynamic information. We are working on revamping the system
>>>> statistics
>>>> >>>> page
>>>> >>>> > with this new method just to demonstrate as a POC.
>>>> >>>> >
>>>> >>>> > However in-order to make this available we will have to add
>>>> shindig a
>>>> >>>> part
>>>> >>>> > of carbon-core. Shindig is at the moment is 14.3MB and it will go
>>>> down
>>>> >>>> for
>>>> >>>> > about 12MB with fixes to bundle plugin, hence this will increase
>>>> the
>>>> >> size
>>>> >>>> of
>>>> >>>> > the distribution in 12MBs.
>>>> >>>> >
>>>> >>>> > However I believe there are many advantages in having this as
>>>> part of
>>>> >> our
>>>> >>>> > core UI framework. for an example Google it self is pushing this
>>>> model
>>>> >> in
>>>> >>>> > almost all the pages they published recently [1]. I believe this
>>>> >> feature
>>>> >>>> can
>>>> >>>> > be quite helpful for products like BPS, GREG and BAM directly. By
>>>> >> having
>>>> >>>> > this you can have functionalities like intercommunication between
>>>> UI
>>>> >>>> parts,
>>>> >>>> > unified way to show analytics/statistics and any other dynamic
>>>> content.
>>>> >>>> >
>>>> >>>> > comments and ideas welcome.
>>>> >>>> >
>>>> >>>> > [1] http://code.google.com/apis/opensocial/
>>>> >>>> >
>>>> >>>> > --
>>>> >>>> > *Thanks & Regards,
>>>> >>>> >
>>>> >>>> > Nuwan Bandara
>>>> >>>> > Senior Software Engineer
>>>> >>>> > WSO2 Inc. | http://wso2.com
>>>> >>>> > lean . enterprise . middleware
>>>> >>>> >
>>>> >>>> > http://nuwan.bandara.co
>>>> >>>> > *
>>>> >>>> > <http://www.nuwanbando.com/>
>>>> >>>>
>>>> >>>> _______________________________________________
>>>> >>>
>>>>
>>>> --
>>>> Regards,
>>>>
>>>> Tharindu
>>>>
>>>> blog: http://mackiemathew.com/
>>>>
>>>>
>>>> _______________________________________________
>>>> Architecture mailing list
>>>> Architecture at wso2.org
>>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>>>
>>>>
>>>
>>>
>>> --
>>> *Thanks & Regards,
>>>
>>> Nuwan Bandara
>>> Senior Software Engineer
>>> WSO2 Inc. | http://wso2.com
>>> lean . enterprise . middleware
>>>
>>> http://nuwan.bandara.co
>>> *
>>> <http://www.nuwanbando.com/>
>>>
>>> _______________________________________________
>>> Architecture mailing list
>>> Architecture at wso2.org
>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>>
>>>
>>
>>
>> --
>> *Afkham Azeez*
>> Director of Architecture; WSO2, Inc.; http://wso2.com
>> Member; Apache Software Foundation; http://www.apache.org/
>> * <http://www.apache.org/>**
>> email: **azeez at wso2.com* <azeez at wso2.com>* cell: +94 77 3320919
>> blog: **http://blog.afkham.org* <http://blog.afkham.org>*
>> twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
>> *
>> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
>> *
>> *
>> *Lean . Enterprise . Middleware*
>>
>>
>> _______________________________________________
>> Architecture mailing list
>> Architecture at wso2.org
>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>
>>
>
>
> --
> Sanjiva Weerawarana, Ph.D.
> Founder, Chairman & CEO; WSO2, Inc.;  http://wso2.com/
> email: sanjiva at wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1
> 650 265 8311
> blog: http://sanjiva.weerawarana.org/
>
> Lean . Enterprise . Middleware
>
> _______________________________________________
> Architecture mailing list
> Architecture at wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>
>


-- 
*Afkham Azeez*
Director of Architecture; WSO2, Inc.; http://wso2.com
Member; Apache Software Foundation; http://www.apache.org/
* <http://www.apache.org/>**
email: **azeez at wso2.com* <azeez at wso2.com>* cell: +94 77 3320919
blog: **http://blog.afkham.org* <http://blog.afkham.org>*
twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
*
linked-in: **http://lk.linkedin.com/in/afkhamazeez*
*
*
*Lean . Enterprise . Middleware*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.wso2.org/pipermail/carbon-dev/attachments/20110917/c4001301/attachment.html>


More information about the Carbon-dev mailing list