1572 posts
  • Top Monthly Author
  • Weekly Top Seller
  • 7 Years of Membership
  • Affiliate Level 4
+4 more
dSKY
says

I’m developing a backend app for WP that is basically a Backbone.js app with like 3-4k lines of code. My question is : “Am I allowed to concatenate and minify multiple js files that are used by the app? Also since it’s a Javascript app (basically no php except for registering the plugin and some ajax hooks for saving data) do I retain all the right for the code ( no gpl?) Thanks

1572 posts
  • Top Monthly Author
  • Weekly Top Seller
  • 7 Years of Membership
  • Affiliate Level 4
+4 more
dSKY
says

bump?

3 posts
  • 1 Year of Membership
  • Author Level 3
  • Canada
  • Collector Level 1
+1 more
j4n-co
says

I’d also like to know the answer to this question.

1744 posts Building the Web.
  • Top Monthly Author
  • Trendsetter
  • Weekly Top Seller
  • Beta Tester
+10 more
ZoomIt
says

You are allowed as long you provide the dev version too. You can name and use your .min files.

158 posts
  • 6 Years of Membership
  • Affiliate Level 3
  • Author Level 3
  • Exclusive Author
+1 more
greenshady
says

Minifying your JS files is just good practice. I don’t see why you wouldn’t do it. You’d want to add both a minified and un-minified version of the files though. Just load the minified version.

As far as the license goes, are you going to distribute this code to anyone else? If not, you don’t need a license. Licenses are only really useful when distributing code. If you are distributing the code, then you’ll most likely need to put it under an open-source license. But, that depends on whether it would be considered a derivative work under copyright law.

In general, you’ll want to study the license of any scripts you’re building off of or interacting with and make a licensing decision based on what’s legally allowed according to the licenses of those scripts. If you’re building off Backbone.js, you’ll want to look at its license. If you’re building off some JavaScript in WordPress, you’ll want to look at its license.

1572 posts
  • Top Monthly Author
  • Weekly Top Seller
  • 7 Years of Membership
  • Affiliate Level 4
+4 more
dSKY
says

You are allowed as long you provide the dev version too. You can name and use your .min files.
Am I obligated to provide “dev” version of Javascript code?
396 posts
  • Power Elite Author
  • Author Level 12
  • Top Monthly Author
  • Trendsetter
+8 more
pixelgrade
says

I prefer not to minimize thongs and leave it up to the buyer to use a caching plugin or some server side wizardry.

by
by
by
by
by
by