>
> > I am Newbie on Weblocks and I have question to add my own
> > resources(scripts,css) to my Weblocks-app
>
>
Here is an example of adding css and script files. They will reside in
APP/pub/stylesheets and APP/pub/scripts .. (navigation.css and style.css)

(defwebapp resty-weblocgks
    :prefix "/"
    :description "resty-weblocgks: An example application"
    :init-user-session 'resty-weblocgks::init-user-session
    :public-files-path *our-public-files-path*
    :autostart t
    :dependencies '((:stylesheet "navigation")
    (:stylesheet "style"))
    :ignore-default-dependencies nil)



> > and so curious for bundling resources .. where can I find any tutorial
> > for bundling resources?
>

The best place for this in weblocks is the code.

Otherwise, googling yields

http://developer.yahoo.com/performance/rules.html

and

http://rakaz.nl/2006/12/make-your-pages-load-faster-by-combining-and-compressing-javascript-and-css-files.html

and there's some SO discussion at

http://stackoverflow.com/questions/490618/multiple-javascript-css-files-best-practices

-- 
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