tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Andreou <andre...@gmail.com>
Subject Re: Should we start using RequireJS?
Date Thu, 23 Jun 2011 22:58:40 GMT
So, you're talking about a replacement for Tapestry.ScriptManager.loadScript
(T.S.addScripts will still be needed I think) and not a modularization
of T5 js code
into requirejs modules, right?

If that's the case, then perhaps requirejs (12.8KB minified) might be
overkill. There's also
https://github.com/getify/LABjs (4.59KB minified), but...
it's interesting to note that you can more or less get this for free
in jquery through
http://api.jquery.com/jQuery.getScript/ (though
https://github.com/got5/tapestry5-jquery
isn't yet doing that - it just appends the SCRIPT node to HEAD). So,
isn't there a
(preferably small) prototype plugin just for that?

On Thu, Jun 23, 2011 at 02:05, Howard Lewis Ship <hlship@gmail.com> wrote:
> http://requirejs.org/
>
> BSD License
>
> Would replace tapestry.js code that loads script files and do a better
> job, especially in IE9, which is likely broken at this time.
>
> --
> Howard M. Lewis Ship
>
> Creator of Apache Tapestry
>
> The source for Tapestry training, mentoring and support. Contact me to
> learn how I can get you up and productive in Tapestry fast!
>
> (971) 678-5210
> http://howardlewisship.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: dev-help@tapestry.apache.org
>
>



-- 
Andreas Andreou - andyhot@apache.org - http://blog.andyhot.gr
Apache Tapestry PMC / http://chesstu.be owner
Open Source / JEE Consulting

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


Mime
View raw message