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

Evaldas Taroza etaroza at optaros.com
Tue Feb 5 22:07:16 CET 2008


Michael Wechner wrote:
> 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?
Dependencies among GWT modules are defined in *.gwt.xml files. So look 
into org.wyona.yanel.gwt/Gallery.gwt.xml

> 
>>
>> 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.

I strongly suggest to look inside the GWT webpage, there are good 
quickstart tutorials.

Evaldas

-- 
+41 79 616 53 76
Optaros - www.optaros.com


More information about the Yanel-development mailing list