Larry, thanks so much for the feedback. It gives more clarity now.
I’m not sure how you draw that conclusion from anything in OSL 3.0.
Any code you write from scratch is yours. You don’t owe it to anyone. You may use and license it to others any way you wish. It is not a derivative work simply because it “won’t work without” another program. I have lots of programs that won’t work without Linux or Windows, and those are definitely not derivative works of Red Hat or Microsoft software.
If I were to profit from Magento selling Magento themes, I want to make sure I fully respect Varien’s copyrights and that whatever license I use for my product, does not in anyway violate OSL 3.0 license.
The thing is that, I feel it’s impossible to create my Magento theme from scratch as far as code concerns. Take a small piece of js code in one page/shipping.phtml for example:
var shipping = new Shipping('co-shipping-form', '<?php echo $this->getUrl('checkout/onepage/getAddress') ?>address/', '<?php echo $this->getUrl('checkout/onepage/saveShipping') ?>',
'<?php echo $this->getUrl('checkout/onepage/shippingMethod') ?>');
var shippingForm = new VarienForm('co-shipping-form');
shippingForm.extraChildParams = ' onchange="shipping.setSameAsBilling(false);"';
//shippingForm.setElementsRelation('shipping:country_id', 'shipping:region', '<?php echo $this->getUrl('directory/json/childRegion') ?>', '<?php echo $this->__('Select State/Province...') ?>');
$('shipping-address-select') && shipping.newAddress(!$('shipping-address-select').value);
var shippingRegionUpdater = new RegionUpdater('shipping:country_id', 'shipping:region', 'shipping:region_id', countryRegions);
I cannot see how I can delete it or ‘invent’ my own code to make the shipping page works, and I need it to be intact in my theme for restricted distribution (single domain license for example). So that was the doubt I had and is still a bit concern with.
But please stand by. Roy and the Varien staff are working on some things that will make this even clearer. The next release will hold some good surprises about this whole topic.
That’s really a great news! I have been postponing my themes be released so that I can decide which license is more appropriate.
Thanks again! I read your articles concerning Open Source Software in a few sites, all of them have given me lots of insight and clarity.