[Yanel-dev] What is the AJAX core directory good for

Michael Wechner michael.wechner at wyona.com
Tue Feb 5 21:56:16 CET 2008


Evaldas Taroza wrote:

> Currently the most important components are core and gallery. By 
> extending these two for instance a gallery browser can be created.


so, gallery depends on core. Where is this dependency defined?

>
> I suggest to have the core component for Yanel. All other components 
> should extend it (because it extends ...gwt.User). Some generic 
> classes can be put there. For example, now, this component initializes 
> Yanel namespace inside a page (Yanel = {}). This namespace can be used 
> for putting some configuration data. So I have 
> ConfigurableComponentsAware class which is a simple implementation of 
> how configuration can be passed to a GWT component.


I don't fully understand yet, but will look closer at the source and try 
to understand.

Thanks

Michi

>
> Evaldas
>
> Michael Wechner wrote:
>
>> Hi
>>
>> I am trying to understand the various directories within the 
>> ajax-components.
>>
>> IIUC gallery is the gallery viewer and upload is the component to add 
>> new images to the gallery
>>
>> but what is core doing?
>>
>> I would like to introduce a "src" directory and move the various 
>> components into this directory.
>>
>> Also I think we should improve the build.xml such that it can be used 
>> for all components, e.g.
>>
>> ant -Dcomponent=src/upload
>>
>> such that we don't have to duplicate the build.xml
>>
>> WDTY?
>>
>> Cheers
>>
>> Michi
>>
>
>


-- 
Michael Wechner
Wyona      -   Open Source Content Management - Yanel, Yulup
http://www.wyona.com
michael.wechner at wyona.com, michi at apache.org
+41 44 272 91 61



More information about the Yanel-development mailing list