Mark,

I see that the JS library is needed (and I see you included it in the 
TGextJS distribution), but did not see it referenced in the Python 
domain.  Just because I got curious, I commented out the Python YUI 
imports and so far nothing has broken. 

I hear you about the the insufficiency of documentation on JS and 
widgets in general in the TG project.  I'm working my way up the 
learning curve on the various widget implementations right now, and I am 
having to read entirely too much source code to get relatively simple 
things figured out. 

To quote from the TG philosophy, "If it isn't documented, it doesn't 
exist is a good rule of thumb."  Using that rule, there are a lot of 
missing pieces to TG and its associated components.  I think the tool 
has a lot of potential, but part of what I am doing right now it to 
evaluate it as a development framework is to figure out if this tool can 
be used by garden variety professional developers, who do not have the 
time or inclination to go digging for features and usage information, or 
the tool is still in the "enthusiast" phase and requires understanding 
the internals of the tool to be usable.

So far, the latter view seems to be winning.

Tom

W-Mark Kubacki wrote:
> Tom wrote:
>   
>> In trying to use TGextJS I get an error because the base widget code is 
>> trying to import TGYUI.  Does anybody know why it needs this?  I don't 
>> really want to load TGYUI if I don't have to (and the cheeseshop page 
>> for it seems to be down right now anyway).
>>     
>
> ExtJS (formerly known as yui-ext) does currently require another JS-library 
> for
> basic things such as DOM manipulations and/or JSON en/decoding. (BTW, I 
> believe
> ExtJS will become a standalone lib in next months. See the sourcecode of it 
> and
> notice all the redundancies...)
>
> I had to choose between YUI, Prototype and jQuery, and the first made it 
> because
> a project of mine uses it extensively.
>
> As soon as documentation for TG exists how to determine which JS-classes are
> used on a TG-generated page, I will 'abstract' that dependency away.
>
> -- Mark
>   


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to