Skip to Content.
Sympa Menu

shibboleth-dev - Re: [Shib-Dev] Packaging the Embedded DS

Subject: Shibboleth Developers

List archive

Re: [Shib-Dev] Packaging the Embedded DS


Chronological Thread 
  • From: Chad La Joie <>
  • To:
  • Subject: Re: [Shib-Dev] Packaging the Embedded DS
  • Date: Wed, 05 Jan 2011 11:54:28 -0500
  • Organization: Itumi, LLC

What aspect of jquery were you thinking?

On 1/5/11 11:44 AM, Leif Johansson wrote:
have you considered reusing the jquery framework?

5 jan 2011 kl. 17:35 skrev "Rod
Widdowson"<>:

Beta1 of the EDS ships with all the JavaScript as written. This is quite
large (58k) and comes as 3 files (hence three HTML
requests)

For later betas and production we are changing the distribution to be a
configuration JavaScript file and the a second JavaScript
file consisting of the 3 source files munged together in some manner.
"Packer" seems to do quite nicely of the minification (down
to 15k), but I'm not wedded to that. The aim is to save download size and
HTML requests...

My question is how to perform this packaging? Right now I am hand
concatenating the JavaScript files and then shoving them up into
one of the many minification web sites (for instance
http://dean.edwards.name/packer/). This is cumbersome but effective, although
it leaves me slightly nervous about Trojans.

The aim is that eventually the EDS will be shipped with the Shibboleth SP
(and with any other SP what wishes to use it). But I do
not want to impose yet another tool on people who want to build the SP from
source.

At the other extreme is somehow seems wrong to check the output of the
minification process back into SVN (sort of like checking in
the .class files as well as the .java ones).

A mid-point might have (qualified) minification tools checked in alongside
the JavaScript and have some sort of build script, but
this is only slightly nicer than requiring the tool to be installed as part
of the SP build.

Thoughts?

Rod






--
Chad La Joie
http://itumi.biz
trusted identities, delivered



Archive powered by MHonArc 2.6.16.

Top of Page