Hi Leslie,

On Jul 16, 9:41 am, "Leslie P. Polzer" <[email protected]>
wrote:
e:
> > dojox.gfx-based rendering of the image.
>
> That sounds like a good plan.

I mainly favor that because my initial, seemingly portable version of
integrating
an adobe svg renderer on IE failed with some IEs, and adds an
unnecessary complexity
in the communication protocol between client (2 DOMs: html-page plus
embedded, sandboxed
svg object) and server.
If my current trial successfully runs on IE it seems much cleaner.
Javascript is to
be required anyway. Maybe SVG will portably work in 10 years.

> However don't forget that we're still here to help you
> with the SVG widget.

Thanks :)

> > :bundle-dependency-types
> The docstring looks bogus. Take a look at the slot's initform:
> '(:stylesheet :script).
>
> Please try whether '(:stylesheet) works.

I tried that already at some point.
It works half-way: It avoids bundling, but not versioning/compression,
so the dojo code does not
like it yet. Look at the following
(let ((weblocks::*current-webapp* (car (weblocks:get-webapps-for-class
'snwi::snwi))))
  (weblocks::bundle-dependencies
   (weblocks::webapp-application-dependencies weblocks::*current-
webapp*)))
=>
(#<WEBLOCKS:STYLESHEET-DEPENDENCY /pub/bundles/1.css>
 #<WEBLOCKS:SCRIPT-DEPENDENCY /pub/scripts/vzn/prototype.0.js>
 #<WEBLOCKS:SCRIPT-DEPENDENCY /pub/scripts/vzn/scriptaculous.0.js>
 #<WEBLOCKS:SCRIPT-DEPENDENCY /pub/scripts/vzn/shortcut.0.js>
 #<WEBLOCKS:SCRIPT-DEPENDENCY /pub/scripts/vzn/weblocks.0.js>
 #<WEBLOCKS:SCRIPT-DEPENDENCY /pub/scripts/vzn/dialog.0.js>
 #<WEBLOCKS:SCRIPT-DEPENDENCY /pub/scripts/dojo-release-1.3.0/dojo/vzn/
dojo.0.js>)

So with :bundle-dependency-types (:stylesheet) it avoids bundling
scripts, but
still feeds the vzn/-versions of things.

>
> After that we can take a look at selectively disabling certain
> files.

This apparently breaks in bundle-dependency, where cl:find is used to
check for
:script and :stylesheet, and then feeds a hard-coded (and non-keyword)
arg to bundle-some-dependencies.
I think we should change bundle-some-dependencies to expect :script
and :stylesheet as symbols
instead of weblocks::stylesheet-dependency and weblocks::script-
dependency, and simplify
bundle-dependency to
(loop :for dep-type :in bundle-types
      :do (setf dependency-list (bundle-some-dependencies dependency-
list dep-type
                                                         :bundle-
folder bundle-folder)))


> > On the way I noted that the mod-records for versioning are all kept in
> > the weblocks installation
> > directory, not in a project-specific location. This took me a while to
> > figure out when I had removed
> > some .../vzn/foo.js.gz files and build-dependencies failed hard.
>
> Care to submit a patch for this?

Not this week :)

Yours,
Utz

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

Reply via email to