{"id":44,"date":"2007-08-10T00:01:57","date_gmt":"2007-08-09T18:31:57","guid":{"rendered":"http:\/\/www.bin-co.com\/blog\/2007\/08\/choosing-a-license\/"},"modified":"2007-08-10T00:01:57","modified_gmt":"2007-08-09T18:31:57","slug":"choosing-a-license","status":"publish","type":"post","link":"https:\/\/www.bin-co.com\/blog\/2007\/08\/choosing-a-license\/","title":{"rendered":"Choosing a License"},"content":{"rendered":"<p><img src='http:\/\/www.bin-co.com\/blog\/wp-content\/uploads\/2007\/08\/license.png' alt='License' class=\"intro\" align=\"right\" \/><\/p>\n<p class=\"intro\">As you may know, I <a href=\"http:\/\/www.openjs.com\/scripts\/events\/keyboard_shortcuts\/\" title=\"Keyboard Shortcuts JavaScript Library\">publish<\/a> a <a href=\"http:\/\/www.bin-co.com\/php\/scripts\/load\/\">lot<\/a> of <a href=\"http:\/\/www.bin-co.com\/php\/scripts\/iframe\/\">code<\/a> for others to use. Often I forget to specify a license for the code &#8211; and I get a few comment asking me what license it is under. So I have created a license page for both <a href=\"http:\/\/www.bin-co.com\/license.php\">Bin-Co<\/a> and <a href=\"http:\/\/www.openjs.com\/license.php\">OpenJS<\/a>. I hate restricting use of my code &#8211; so I choose the most permissive one around &#8211; the BSD License.<\/p>\n<p>I know that many people feel strongly about software license. I still get a lot of flank from my <a href=\"http:\/\/www.ilug-cochin.org\/\" title=\"ILug Cochin\">LUG<\/a> because I prefer using BSD License over their favorite <abbr title=\"GNU Public License\">GPL<\/abbr>.<\/p>\n<p>GPL was not an option as most of my code are snippets that are meant to be used with other code. GPL will not allow my code to be used within proprietary projects. Another option is <a href=\"http:\/\/www.gnu.org\/copyleft\/lesser.html\">LGPL<\/a> &#8211; but I still prefer BSD.<\/p>\n<p>Basically, all scripts, codes and programs from any of my sites are in the BSD License. That means that you can do anything with the scripts &#8211; except claim that you wrote it. You can use, copy, sell, modify or whatever you want with it &#8211; but you cannot claim authorship.<\/p>\n<h2>Importance of Choosing a License<\/h2>\n<p>If you are planning to release your code publicly, it is very important that you <a href=\"http:\/\/www.codinghorror.com\/blog\/archives\/000833.html\">say what license you are using<\/a>. If you fail to specify a license, many people will not use your code. It was a big mistake waiting this long before putting up a license on my sites.<\/p>\n<p>If you want help in deciding the license, these links should be of help&#8230;<\/p>\n<ul>\n<li><a href=\"http:\/\/www.opensource.org\/licenses\/category\">A list of the most popular licenses<\/a><\/li>\n<li><a href=\"http:\/\/simonwillison.net\/2004\/Nov\/5\/licensing\/\">Simon Willison&#8217;s Licensing Issue<\/a> &#8211; read the comments<\/li>\n<li><a href=\"http:\/\/www.codinghorror.com\/blog\/archives\/000833.html\">Pick a License, Any License<\/a><\/li>\n<li><a href=\"http:\/\/www.quirksmode.org\/about\/copyright.html\">QuirksMode Copyright<\/a> &#8211; an example of a license page<\/li>\n<\/ul>\n<h3>More Links<\/h3>\n<ul>\n<li><a href=\"http:\/\/sam.zoy.org\/wtfpl\/\">The WTFPL License \ud83d\ude09<\/a><\/li>\n<li><a href=\"http:\/\/www.gnu.org\/philosophy\/x.html\">The problem with BSD Style License<\/a> according to Richard M. Stallman<\/li>\n<li><a href=\"http:\/\/www.smashingmagazine.com\/2007\/07\/07\/copyright-explained-i-may-copy-it-right\/\">Copyright Explained<\/a> &#8211; not about code licenses &#8211; but a must read if you are new to all this.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<div class=\"mh-excerpt\"><p>As you may know, I publish a lot of code for others to use. Often I forget to specify a license for the code &#8211; <a class=\"mh-excerpt-more\" href=\"https:\/\/www.bin-co.com\/blog\/2007\/08\/choosing-a-license\/\" title=\"Choosing a License\">[&#8230;]<\/a><\/p>\n<\/div>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[18,20,25],"tags":[68,85,130,144,166],"class_list":["post-44","post","type-post","status-publish","format-standard","hentry","category-opinion","category-personal","category-scripts","tag-bsd","tag-copyright","tag-gpl","tag-iis","tag-license"],"_links":{"self":[{"href":"https:\/\/www.bin-co.com\/blog\/wp-json\/wp\/v2\/posts\/44","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bin-co.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bin-co.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bin-co.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bin-co.com\/blog\/wp-json\/wp\/v2\/comments?post=44"}],"version-history":[{"count":0,"href":"https:\/\/www.bin-co.com\/blog\/wp-json\/wp\/v2\/posts\/44\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.bin-co.com\/blog\/wp-json\/wp\/v2\/media?parent=44"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bin-co.com\/blog\/wp-json\/wp\/v2\/categories?post=44"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bin-co.com\/blog\/wp-json\/wp\/v2\/tags?post=44"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}