Hi all,

I have been looking at toscawidgets versions 1 and 2 in the last few
days as something to better way to integrate JavaScript functionality
into the sites I am working on. I was thinking of starting a new
project but after a while toscawidgets is growing on me.

I am looking for functionality to tick the following boxes.

1) Only include the JavaScript when a widget is used on a page. (I
know that toscawidgets does this now, I just want a complete list for
my own thoughts)

2) To able to test different versions of code. For example change a
configuration and get version 1.4.2 of jquery instead of version 1.4.1
for all widgets.

3) Be able to combine and compress some or all of my JavaScript files
but have the same widget code work with both development and
production (the combined version) JavaScript.

4) I want to use WSGI server during development which should serve the
JS files too but when it comes to deployment I want the Apache, or
whatever to serve the JavaScript files.

5) Once I deploy a new version of a site I am working on live I want
to be able to, using the same widget code, to be able change the URL
of the JavaScript dependency to a version-able URL which has an
expires header set far into the future.

6) I want deployed code to encourage good scores with both the YSlow
and Page Speed tools. But in development I don't care if I need up
downloading 100 JavaScript files if they are all combined and
compressed and all is good at deployment time.

7) All the above with CSS too.

Basically I want a very flexible configuration mechanism to control
the src URL(s) associated with a widget. This configuration must also
allow specify a URL to a different file that would contain the
JavaScript code for a whole bunch of widgets. Hopefully this will
allow me to better manage all the JavaScript need for my sites to
function.

I am not sure if toscawidgets does this or people are working on it.
tw.core has a feature where you can pass in a dictionary as a filename
to JSLink which gets me a certain amount of the above functionality
but tw2.core doesn't have this.

So my question is does any use toscawidgets for this, tried to do this
and given up, or does any one use anything else do this? Since
toscawidgets does item one on my list I thought that I might ask here.

Thanks,
Michael

-- 
You received this message because you are subscribed to the Google Groups 
"ToscaWidgets-discuss" 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/toscawidgets-discuss?hl=en.

Reply via email to