Maintaining paths with File Libraries

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Maintaining paths with File Libraries

Torsten Bergmann
Hi Joachim,

just subclass WAFileMetadataLibrary with an own file library.

Since often in JQuery/JavaScript/CSS you have a full version and a "min(ified)"
version I create two file libraries: one for deployment (=min) and one for development.
So by simply reregistering the lib you can switch between debug and faster deploy
delivery mode.

For CodeMirror: did you see
http://lists.squeakfoundation.org/pipermail/seaside-dev/2014-August/006033.html
http://lists.pharo.org/pipermail/pharo-dev_lists.pharo.org/2014-August/099518.html
http://astares.blogspot.de/2012/05/codemirror-styling-seasides-wabrowser.html

Have fun
T.

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Maintaining paths with File Libraries

jtuchel
Hi Torsten,

thanks a lot for the pointers and tips. I haven't seen the CodeMirror
extension yet, so I'll sure take a look.

I am not sure I fully understand WAFileMetadataLibrary but I'll download
one of your samples and see how far I get.

Joachim



Am 12.10.14 um 21:41 schrieb Torsten Bergmann:

> Hi Joachim,
>
> just subclass WAFileMetadataLibrary with an own file library.
>
> Since often in JQuery/JavaScript/CSS you have a full version and a "min(ified)"
> version I create two file libraries: one for deployment (=min) and one for development.
> So by simply reregistering the lib you can switch between debug and faster deploy
> delivery mode.
>
> For CodeMirror: did you see
> http://lists.squeakfoundation.org/pipermail/seaside-dev/2014-August/006033.html
> http://lists.pharo.org/pipermail/pharo-dev_lists.pharo.org/2014-August/099518.html
> http://astares.blogspot.de/2012/05/codemirror-styling-seasides-wabrowser.html
>
> Have fun
> T.
>
>


--
-----------------------------------------------------------------------
Objektfabrik Joachim Tuchel          mailto:[hidden email]
Fliederweg 1                         http://www.objektfabrik.de
D-71640 Ludwigsburg                  http://joachimtuchel.wordpress.com
Telefon: +49 7141 56 10 86 0         Fax: +49 7141 56 10 86 1

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside