Announcement: New module Script Deploy
Re: Announcement: New module Script Deploy
so the
-moz-border-radius
that error is right because that doesn't exist... it's the w3c telling you that no me... if you write css in css3 you need to switch to that type in the validation tab. It defaults to css2.1 which doesn't support border-radius of any kind.. but.. you can also add filters to.. use the filter like this... -moz-border-radius,-webkit-border-radius
This module WILL tell you if you are not writing css correctly.. that that is coming not from me or my views on it, but you script is evaluated straight from the W3C ...
but for what you want to do.. you don't need more then one script.. I would do what I suggested if you want a fast best practices ... use the
loggedin}LoggedIn{/if}">
Hope this helps .. cheers -Jeremy
-moz-border-radius
that error is right because that doesn't exist... it's the w3c telling you that no me... if you write css in css3 you need to switch to that type in the validation tab. It defaults to css2.1 which doesn't support border-radius of any kind.. but.. you can also add filters to.. use the filter like this... -moz-border-radius,-webkit-border-radius
This module WILL tell you if you are not writing css correctly.. that that is coming not from me or my views on it, but you script is evaluated straight from the W3C ...
but for what you want to do.. you don't need more then one script.. I would do what I suggested if you want a fast best practices ... use the
loggedin}LoggedIn{/if}">
Hope this helps .. cheers -Jeremy
Re: Announcement: New module Script Deploy
I checked out your module. Great tool
Although I can't use the advanced code editor, so there's only the textarea.
CMSms 1.7.1
ScriptDeploy 0.7.3
Firefox 3.6.3
No JavaScript Errors.
Do you know why?
Will translate it today or tomorrow to German.

CMSms 1.7.1
ScriptDeploy 0.7.3
Firefox 3.6.3
No JavaScript Errors.
Do you know why?
Will translate it today or tomorrow to German.
Re: Announcement: New module Script Deploy
Just have translated it to German. How can I add it to the Translation Center??
Re: Announcement: New module Script Deploy
This will narrow the advantage of the module a bit: http://forum.cmsmadesimple.org/index.php?topic=44427.0
The load time is annyoing..
The load time is annyoing..
Re: Announcement: New module Script Deploy
Hello so there are lots of new things coming.. check it out..
http://www.screencast.com/t/ODJiYWJhZG
http://www.screencast.com/t/Yzk1YjlkOGE
I would like to take a sec as there seems to be some confusion as to why minify (thou you can turn it off in ScriptDeploy)
I truly wish that was true. but if you will not take the big 3's word for it.. a little proof..
minified...
css original 2.13K minified 1.1K then gziped 0.5K
http://scripts.corbensproducts.com/uplo ... ptID/8.css?...
css original 1.31K minified 0.6K then gziped 0.2K
http://scripts.corbensproducts.com/uplo ... ptID/9.css?...
css original 18.18K minified 13.2K then gziped 3.1K
http://scripts.corbensproducts.com/uplo ... tID/10.css?...
css original 2.54K minified 0.9K then gziped 0.4K
http://scripts.corbensproducts.com/uplo ... tID/11.css?...
Non minified...
css original 2.0K then gziped 0.9K
http://scripts.corbensproducts.com/uploads/8.css
css original 1.2K then gziped 0.4K
http://scripts.corbensproducts.com/uploads/9.css
css original 18.6K then gziped 4.7K
http://scripts.corbensproducts.com/uploads/10.css
css original 2.5K then gziped 1.0K
http://scripts.corbensproducts.com/uploads/11.css
So.. the minified...
total original 24.16k
end size 4.2k
end size 17.39%
and the non minified...
total original 24.3k
end size 7k
end size 28.81%
So.. That is almost 10% better using a minified script ... still think it's not going to save you money, the user time, and just overall quality?
Now this adds up.. and will cost something.. IE money. Sure on a 2 page site.. Overkill.. but 15 page site, you want it fast as can be right? Scriptdeploy is you solution if you don't want to take the time to do what your suppose to do for best practices as laid out by Yahoo, Google, and Microsoft.. They have dumped money in proving it, so why not believe the experts.
Please feel free to take a look on the sandbox there at http://www.corbensproducts.com .. look at the net and you’ll see what I’m claiming here and what the experts are claiming.. but since Scriptdeploy WILL NOT add extra overhead more than the {stylesheet} would, There is NO MORE RISK to minify it (at least thru ScriptDeploy). You run more of a risk typo'in then the minifaction mucking you up.. Plus ScriptDeploy lets you know you have an error in your scripts.. Right away!
Some new things to? Well how able a syntax highlighter. A cleaner UI.. all kinds of thing.. If anyone wants to test the svn that would be great.. Just let me know if you want to test.
Cheers -Jeremy
http://www.screencast.com/t/ODJiYWJhZG
http://www.screencast.com/t/Yzk1YjlkOGE
I would like to take a sec as there seems to be some confusion as to why minify (thou you can turn it off in ScriptDeploy)
kermit wrote: gzip a stylesheet vs minified then gzip.. the differences in output size is minimal.
I truly wish that was true. but if you will not take the big 3's word for it.. a little proof..
minified...
css original 2.13K minified 1.1K then gziped 0.5K
http://scripts.corbensproducts.com/uplo ... ptID/8.css?...
css original 1.31K minified 0.6K then gziped 0.2K
http://scripts.corbensproducts.com/uplo ... ptID/9.css?...
css original 18.18K minified 13.2K then gziped 3.1K
http://scripts.corbensproducts.com/uplo ... tID/10.css?...
css original 2.54K minified 0.9K then gziped 0.4K
http://scripts.corbensproducts.com/uplo ... tID/11.css?...
Non minified...
css original 2.0K then gziped 0.9K
http://scripts.corbensproducts.com/uploads/8.css
css original 1.2K then gziped 0.4K
http://scripts.corbensproducts.com/uploads/9.css
css original 18.6K then gziped 4.7K
http://scripts.corbensproducts.com/uploads/10.css
css original 2.5K then gziped 1.0K
http://scripts.corbensproducts.com/uploads/11.css
So.. the minified...
total original 24.16k
end size 4.2k
end size 17.39%
and the non minified...
total original 24.3k
end size 7k
end size 28.81%
So.. That is almost 10% better using a minified script ... still think it's not going to save you money, the user time, and just overall quality?
Now this adds up.. and will cost something.. IE money. Sure on a 2 page site.. Overkill.. but 15 page site, you want it fast as can be right? Scriptdeploy is you solution if you don't want to take the time to do what your suppose to do for best practices as laid out by Yahoo, Google, and Microsoft.. They have dumped money in proving it, so why not believe the experts.
Please feel free to take a look on the sandbox there at http://www.corbensproducts.com .. look at the net and you’ll see what I’m claiming here and what the experts are claiming.. but since Scriptdeploy WILL NOT add extra overhead more than the {stylesheet} would, There is NO MORE RISK to minify it (at least thru ScriptDeploy). You run more of a risk typo'in then the minifaction mucking you up.. Plus ScriptDeploy lets you know you have an error in your scripts.. Right away!
Some new things to? Well how able a syntax highlighter. A cleaner UI.. all kinds of thing.. If anyone wants to test the svn that would be great.. Just let me know if you want to test.
Cheers -Jeremy
Last edited by JeremyBASS on Mon Jun 28, 2010 7:59 pm, edited 1 time in total.
Re: Announcement: New module Script Deploy
I'm struggling with the translation center.. how can I add a translation to SD?
Re: Announcement: New module Script Deploy
You'll want to get in touch with Reneh. He is on the translation team and would be able to hep you get rolling... tk -J
Re: Announcement: New module Script Deploy
those are all *insignificant* differences.... as are virtually** all of them from my own research earlier this year... here's a sample:JeremyBASS wrote:
I would like to take a sec as there seems to be some confusion as to why minify (thou you can turn it off in ScriptDeploy)
kermit wrote: gzip a stylesheet vs minified then gzip.. the differences in output size is minimal.
I truly wish that was true. but if you will not take the big 3's word for it.. a little proof..
(snip)
exc orig.css 222,316
exc tidy.css 201,920
exc orig.css.gz 29,894
exc tidy.css.gz 29,807 diff: -87 bytes
eeg orig.css 50,124
eeg tidy.css 47,474
eeg orig.css.gz 7,330
eeg tidy.css.gz 7,278 diff: -52 bytes
mav orig.css 12,078
mav tidy.css 9,893
mav orig.css.gz 3,351
mav tidy.css.gz 2,823 diff: -528 bytes
yte orig.css 146,093
yte tidy.css 126,110
yte orig.css.gz 23,865
yte tidy.css.gz 23,085 diff: -780 bytes
gfr orig.css 9,926
gfr tidy.css 6,586
gfr orig.css.gz 2,488
gfr tidy.css.gz 2,080 diff: -408 bytes
pur orig.css 8,766
pur tidy.css 7,444
pur orig.css.gz 2,279
pur tidy.css.gz 2,026 diff: -253 bytes
brn orig.css 7,939
brn tidy.css 6,591
brn orig.css.gz 2,531
brn tidy.css.gz 2,059 diff: -472 bytes
those, btw, do include live stylesheets off pages at microsoft, google, and yahoo.. only yahoo's was minimized (and only partially, at that).
with proper browser caching and cache validation on expiry, these piddly little differences don't add up to squat in the grand scheme of things.... even at a million unique visitors a month, whatever bandwidth savings there would be is just a teeny-tiny drop in the big wide ocean.
** if you suffer from OCD and write several lines of comments for every single style declaration.. yea, minifying css to remove those would make a difference. but that'd be about it.
personally, i hardly use any css comments and my own handwritten code already looks like it was run through 'high' mode at cleancss.com; except i don't combine every single little thing that could be.
____
and, did you know...
there's a smarty plugin for combining (to minimize http requests) linked stylesheet and javascript files, including compressing/minifying them.
i had set that up on a site back when i was doing my research on minifying and/or compressing css. it's a little rough around the edges, but it works very well with slight modifications to it and the static_stylesheet tag (would also work with 1.8's new cms_stylesheet), and proper server-side settings for compression and expiry.
eternity (n); 1. infinite time, 2. a seemingly long or endless time, 3. the length of time it takes a frozen pizza to cook when you're starving.
4,930,000,000 (n); 1. a very large number, 2. the approximate world population in 1986 when Microsoft Corp issued its IPO. 3. Microsoft's net profit (USD) for the quarter (3 months) ending 31 March 2007.
CMSMS migration and setup services | Hosting with CMSMS installed and ready to go | PM me for Info
4,930,000,000 (n); 1. a very large number, 2. the approximate world population in 1986 when Microsoft Corp issued its IPO. 3. Microsoft's net profit (USD) for the quarter (3 months) ending 31 March 2007.
CMSMS migration and setup services | Hosting with CMSMS installed and ready to go | PM me for Info
Re: Announcement: New module Script Deploy
Ok kermit, I don't know why you kept trying to butt heads with me, you keep doing this in ever forum post you meet me in.. I get the impression you just don't like me and must butt heads with me.. but... Well lets lay it out..
and just in case you gloss over... "I enjoy a lively discussion like this.. but in the right place and this now is just not it.. let’s go to the lounge area if you want to finish the topic of conversation." and also this is in friendly tone.
if you think 10% is insignificant, that is your choice... If you work on clouds you can pay for the extra server cost. Don't group them, don't minify them, don't validate them... I don't care, I didn't ask you to select the minifcation option in ScriptDeploy, and I didn't ask you to use ScriptDeploy. I wrote it for me and my team of editors. Heck did you even take a look at it? It does more than just minify scripts. You do know that, right? Let’s see in the realm of CMSMS ScriptDeploy is..
The only module that Validates CSS thru W3C.
The FIRST to use smarty in Both CSS and JS.
The only JS script handler.
The only module with a history for revisions.
The only module that has user lockouts.
The only module that will break a client side cache both in images used in the CSS and the CSS and JS its self.
Need more?
How about...
afaik The only module that use hotkeys like Ctrl+s for faster editing and testing..
afaik The only module that lets you pass notes to other Editors
afaik The only module that rebuilds it's cache for you
afaik The FIRST to cache processed CSS
The only module to cache processed JS
I could go on, with the ones that aren’t the "only’s" or "first's", like groupings.. but you should get the point now. ScriptDeploy is meant so you don't have to be OCD... It's OCD for you.
Also.. tidy .. sorry it sucks.. you get about 40% compression... I know, I started off with that.. so your tests are off... The proof is below and still lives on that sandbox my friend... My way gets up to 60% .. that upto 20% more compression. And when you work with others you have to comment.. YOU HAVE TOO... or if you got a boss that will fire you for wasting the other developer’s time and ultimately the company’s time.
If you don't what to use it.. if you want to use a plugin here and a plugin there go ahead. No one wants to stop you. But I does bother me greatly that you spread such erroneous information...
Fact: Minifaction can and offend does save you up to 10%-12% or more in both JS and CSS scripts. BOTH
Fact: "They" all do use most of to all the rules they set out... Just look at the code for the home page of google
BTW: http://code.google.com/speed/page-speed ... intro.html
http://developer.yahoo.net/blog/archives/performance/
Fact: Scriptdeploy does almost all of their rules for you.
Fact: 1kb of savings is not insignificant on larger sites, thou it is in small sites I'd agree.
1kb *1000 unique visitors a month is just about 1 mb so add up all the saving just in the example below just for the CSS.. and you’re at 2.8kb savings per user.. now go and do the same to the JS.. those numbers get even better. I have seen up to 50-75kb in savings depending on the js alone you need. All that from one click in the admin area.. and you didn’t need to do anything else but that one click and you save money. 2 secs saved you money.. what’s the problem with that..?
afaik Fact: I started these test before you did.. remember when you were bitting my work on the muilt domain setups.. ?
and the first time we butted heads and you removed the kodos to me for laying the ground work for what you claimed as your own idea.. yeah even before that.. it was some time in 2007, days after talking with Steve Souders in an IRC IIRC when he published his first article..
Remember "Best Practices" is just that.. it's like saying "try as best as you can to follow the rules".. but sometimes you have to break them.. Just like BING, GOOGLE and YAHOO does... they don't always do things if it don't fit their needs..
Do I still need to go on ?
Now after all that.. I truly hope we can stop butting head over and over.. if you have an opinion on this topic start your our thread in the lounge area and leave this one for help and announcements for ScriptDeploy.. it's not for this type of discussion..
I enjoy a lively discussion like this.. but in the right place and this now is just not it.. let’s go to the lounge area if you want to finish the topic of conversation. We only learn and grow from trials and tribulations, and working together.
Cheers -Jeremy
and just in case you gloss over... "I enjoy a lively discussion like this.. but in the right place and this now is just not it.. let’s go to the lounge area if you want to finish the topic of conversation." and also this is in friendly tone.
if you think 10% is insignificant, that is your choice... If you work on clouds you can pay for the extra server cost. Don't group them, don't minify them, don't validate them... I don't care, I didn't ask you to select the minifcation option in ScriptDeploy, and I didn't ask you to use ScriptDeploy. I wrote it for me and my team of editors. Heck did you even take a look at it? It does more than just minify scripts. You do know that, right? Let’s see in the realm of CMSMS ScriptDeploy is..
The only module that Validates CSS thru W3C.
The FIRST to use smarty in Both CSS and JS.
The only JS script handler.
The only module with a history for revisions.
The only module that has user lockouts.
The only module that will break a client side cache both in images used in the CSS and the CSS and JS its self.
Need more?
How about...
afaik The only module that use hotkeys like Ctrl+s for faster editing and testing..
afaik The only module that lets you pass notes to other Editors
afaik The only module that rebuilds it's cache for you
afaik The FIRST to cache processed CSS
The only module to cache processed JS
I could go on, with the ones that aren’t the "only’s" or "first's", like groupings.. but you should get the point now. ScriptDeploy is meant so you don't have to be OCD... It's OCD for you.
Also.. tidy .. sorry it sucks.. you get about 40% compression... I know, I started off with that.. so your tests are off... The proof is below and still lives on that sandbox my friend... My way gets up to 60% .. that upto 20% more compression. And when you work with others you have to comment.. YOU HAVE TOO... or if you got a boss that will fire you for wasting the other developer’s time and ultimately the company’s time.
If you don't what to use it.. if you want to use a plugin here and a plugin there go ahead. No one wants to stop you. But I does bother me greatly that you spread such erroneous information...
Fact: Minifaction can and offend does save you up to 10%-12% or more in both JS and CSS scripts. BOTH
Fact: "They" all do use most of to all the rules they set out... Just look at the code for the home page of google

BTW: http://code.google.com/speed/page-speed ... intro.html
http://developer.yahoo.net/blog/archives/performance/
Fact: Scriptdeploy does almost all of their rules for you.
Fact: 1kb of savings is not insignificant on larger sites, thou it is in small sites I'd agree.
1kb *1000 unique visitors a month is just about 1 mb so add up all the saving just in the example below just for the CSS.. and you’re at 2.8kb savings per user.. now go and do the same to the JS.. those numbers get even better. I have seen up to 50-75kb in savings depending on the js alone you need. All that from one click in the admin area.. and you didn’t need to do anything else but that one click and you save money. 2 secs saved you money.. what’s the problem with that..?
afaik Fact: I started these test before you did.. remember when you were bitting my work on the muilt domain setups.. ?

Remember "Best Practices" is just that.. it's like saying "try as best as you can to follow the rules".. but sometimes you have to break them.. Just like BING, GOOGLE and YAHOO does... they don't always do things if it don't fit their needs..
Do I still need to go on ?
Now after all that.. I truly hope we can stop butting head over and over.. if you have an opinion on this topic start your our thread in the lounge area and leave this one for help and announcements for ScriptDeploy.. it's not for this type of discussion..
I enjoy a lively discussion like this.. but in the right place and this now is just not it.. let’s go to the lounge area if you want to finish the topic of conversation. We only learn and grow from trials and tribulations, and working together.

Cheers -Jeremy
Re: Announcement: New module Script Deploy
Alrighty here is the new release. Lots of new features..
http://dev.cmsmadesimple.org/project/files/738
I didn't really get much in the way of beta testing feedback on this version so, thou I am currently using it on sites and it's been stable for me , please report anything.. I'll be working on this to do many more nicety thing here shortly, and there are features that are in there that are hidden for this release just due to them being not 100%..
Play with it, and have fun.. Cheers -Jeremy
http://dev.cmsmadesimple.org/project/files/738
I didn't really get much in the way of beta testing feedback on this version so, thou I am currently using it on sites and it's been stable for me , please report anything.. I'll be working on this to do many more nicety thing here shortly, and there are features that are in there that are hidden for this release just due to them being not 100%..
Play with it, and have fun.. Cheers -Jeremy
Re: Announcement: New module Script Deploy
Hi,
after some struggling with SD I finally got it work. Now, I have a problem with Colorbox popup. After I moved it's CSS to SD the popup is not centered anymore.
after some struggling with SD I finally got it work. Now, I have a problem with Colorbox popup. After I moved it's CSS to SD the popup is not centered anymore.
Re: Announcement: New module Script Deploy
Hi Jeremy,
first off all great module.
Just a note:
It looks like if activating "code formating on output" and using CGGoogleMaps, at the same time, something goes wrong, since Google Map is no longer shown.
Updating to the new version brought me errors like wrong paths and unusable module since none of tabs worked, but it might just be me, i did try clearing cache etc but without success.
first off all great module.
Just a note:
It looks like if activating "code formating on output" and using CGGoogleMaps, at the same time, something goes wrong, since Google Map is no longer shown.
Updating to the new version brought me errors like wrong paths and unusable module since none of tabs worked, but it might just be me, i did try clearing cache etc but without success.
Re: Announcement: New module Script Deploy
@barboni I'm not sure what you mean there.. your saying that you put the colorbox css in and it on output on the front is not centered? Can you show please. Colorbox is my popup of choice, in fact it's the one in SD. I have used it with SD many many time on lots of sites. I guess I need to see what is off other wise all I could think is that it's a user error when you copied and pasted over since atm I have never seen that.
@uniqu3 I'll have to try that with the CGGoogleMaps. The html routine is the least tested one.. but since there never was an issue so far I didn't replace it yet with another one that seem atm seems to do a better job.. I'll test that..
On the
Once I have more info I’ll fix.. uniqu3 you will like where it’s headed.. it’ll let you export/import a theme where you have all the js/css, menus templates, main templates, and even some module templates and all via a xml file.. not there yet but that is where it’s headed.
@uniqu3 I'll have to try that with the CGGoogleMaps. The html routine is the least tested one.. but since there never was an issue so far I didn't replace it yet with another one that seem atm seems to do a better job.. I'll test that..
On the
That, um can you expand, show a screen shot.. I need to see and be able to reproduce… the what’s and where’s please. I have tested those tabs greatly and the only wild card was to get the release out to fix a bug I hide a tab and panel (the main template area)Updating to the new version brought me errors like wrong paths and unusable module since none of tabs worked, but it might just be me, I did try clearing cache etc but without success.
Once I have more info I’ll fix.. uniqu3 you will like where it’s headed.. it’ll let you export/import a theme where you have all the js/css, menus templates, main templates, and even some module templates and all via a xml file.. not there yet but that is where it’s headed.
Re: Announcement: New module Script Deploy
Jeremy, unfortunately i didn't take any screenshots since i am un a hurry to finally finish my own website and this is where i am using your module now.
It might also have been a problem with write permissions in the module folder, i noticed for some reason if i unpack files these get write protected on my pc.
I switched back to previous version 0.7.3 maybe ill try another update.
What i am wondering is subdomain usage of files.
i have set for example js.mydomain.com which points to uploads folder and then i entered in the field for subdomain js.mydomain.com/js/file.js and nothing was returned.
Am i getting something wrong here?
Also if i want to use for example css.mydomain.com for css and js.mydomain.com for js how can i assign this if i use grouping?
There is no option to set url to grouped files.
Or is there only option to use global script root url?
It might also have been a problem with write permissions in the module folder, i noticed for some reason if i unpack files these get write protected on my pc.
I switched back to previous version 0.7.3 maybe ill try another update.
What i am wondering is subdomain usage of files.
i have set for example js.mydomain.com which points to uploads folder and then i entered in the field for subdomain js.mydomain.com/js/file.js and nothing was returned.
Am i getting something wrong here?
Also if i want to use for example css.mydomain.com for css and js.mydomain.com for js how can i assign this if i use grouping?
There is no option to set url to grouped files.
Or is there only option to use global script root url?
Re: Announcement: New module Script Deploy
For group files you can use the param for that... 'rootUrl' .. thru hmm.. I need to change that .. it should be 'root' and I'll up an update in shortly... but you can use that to set it.. and looking at the code if you have the global set it'll over write the param.. I'll fix that.. it's suppose to be global->script->tag in order of processing..
On the rights, I'm not sure, but it's packed on a pc.. so I maybe making a mistake in the order there.. not sure.. I didn't get much feedback on testing so anything you can give would be great. I wil be testing the CGmaps issue here shortly..
Just a side note to everyone. I tested this in IE7+ FF3.0+ Safari 4+ and Chrome latest. Please let me know if there is any issues..
On the rights, I'm not sure, but it's packed on a pc.. so I maybe making a mistake in the order there.. not sure.. I didn't get much feedback on testing so anything you can give would be great. I wil be testing the CGmaps issue here shortly..
Just a side note to everyone. I tested this in IE7+ FF3.0+ Safari 4+ and Chrome latest. Please let me know if there is any issues..