# Saturday, 30 January 2010

Have you ever wondered about the "priority" field on support Cases? It makes sense for internal use, but I've never seen a priority other than "High" when the option is given on customer portal Web-to-Case forms. :-)

Saturday, 30 January 2010 16:27:09 (Pacific Standard Time, UTC-08:00)
# Tuesday, 26 January 2010
(Note: This blog post is based on an idea I have for setting up a non-profit dedicated to promoting the Creative Commons licensing model for music using cloud infrastructure. I may revisit and modify this post periodically as the model gets fleshed out.)

As a musician growing up in the 80's, the "hip" thing to do was sampling other works and incorporating them into new arrangements. It was, and still is, a very creative and rewarding process that produces what are commonly referred to today as "mashups". I typically used Jazz samples. Others, like Vanilla Ice, used more recognizable samples from artists like Queen and David Bowie.

The artists of the sample source rarely received royalties for the redistribution of their work. Eventually, litigation started and a new precedence became established that prevented the creation of new works from existing works without the owners consent.

I had no problem with the concept of attributing other peoples work or sharing in any commercial success as a result of repurposing work into my own. I got in the habit of working with the Harry Fox Agency before pursuing such projects and budgeting appropriately for using samples. But still, artists (and most their publishers) had to be "pulled" into remixing opportunities.

Some visionary artists, like Peter Gabriel, were going out of their way to re-mix and "push" their samples to us and gave control of the faders to remix their songs into new and unimaginable soundscapes.

Lawrence Lessig's work "Remix" touched on the very heart of this issue and several questions are being raised about the future of music in light of the entertainment "cloud".

Is not the creative work of Danger Mouse's (probably not his real name) Grey Album a brilliant piece of creative work and masterpiece in it's own right, even though it is a mashup of existing digital media?

Should a parent be penalized for adding background music to the video of their childs 5th birthday and publishing it to YouTube?

Would a song like Chris Brown's 'Forever' had achieved such stellar commercial success had it not been viewed on YouTube over 40 million times in a non-commercial use?

There is a solution to this problem. The Creative Commons was established as a nonprofit corporation dedicated to making it easier for people to share and build upon the work of others, consistent with the rules of copyright.

They provide free licenses and other legal tools to mark creative work with the freedom the creator wants it to carry, so others can share, remix, use commercially, or any combination thereof.

To truly embrace the cloud and the Creative Commons involves:
  • Artists and labels rethinking the publication of their works and undergoing a 2.0 release of their works as reusable samples for use in other works.
  • Artists allowing non-commercial use of their works and defining the terms of commercial use.
  • Mashup artists attributing works to other artists and participating in the re-distribution of works through both commercial and non-commercial channels.
There are those that oppose this model.
  • Performance Rights Organizations (PROs) like BMI and ASCAP are entrenched in securing performance royalties on-behalf of commercial artists.
  • The ability for artists to allocate ownership percentages to studio musicians and other contributors threatens the traditional 50/50 Publisher/Artist model in common use today and would displace traditional royalty accounting systems.
  • Commercial Music labels are wedded to decades-old formulas that control the 360 degree image and distribution of an artists work.

To make this work:
  • New publishing and accounting systems are required that allow artists to offer the equivalent of fully vested 'stock options' on works.
  • New mashup publishing systems that allow original and mashup artists to negotiate the percentile distribution of commercial redistribution revenue (for example, an artist may use 5 samples in a song, giving each artist 10% and keeping 50% for the new work. The other 5 artists should have a voice in accepting proposed terms).
  • Artists must consider bypassing traditional "record deals" and work with progressive publishers.
  • Artists must write-off the non-commercial use of their music as a marketing expense.
  • Artists must package their work for convenient use by mashup artists and editors.
  • Consumers and Mashup Artists must attribute use of all works to the original artist.
  • It must be convenient for a Consumer or Mashup Artist to register their new works for commercial use and revenue must be quickly, easily, and fairly redistributed.

Tuesday, 26 January 2010 16:03:30 (Pacific Standard Time, UTC-08:00)
# Monday, 18 January 2010

Apex is a programming language supported by the Force.com platform.

A fluent interface is a way of implementing an object oriented API in a way that aims to provide for more readable code.

An example of a fluent interface looks like:

Contact c = new Contact();
ITransaction trx = new FluentTransaction()
		.Initialize(c, 5.0)
		.Validate()
		.Execute()
		.Log()
		.Finish();

Transactions are a good use case for implementing a fluent interface because they often execute the repeated steps of initializing and validating input values, executing, and logging data. An API designer can expressly define these methods in an interface using Apex (very similar to Java and C# interfaces). When implementing a transaction object, the compiler will check to ensure the proper interfaces are implemented.

A fluent interface is normally implemented by using method chaining to relay the instruction context of a subsequent call. Generally, the context is defined through the return value of a called method self referential, where the new context is equivalent to the last context.

public class MethodChaining {
	
	public interface ITransaction{		
		ITransaction Initialize(Contact c, double d);
		ITransaction Validate();
		ITransaction Execute();		
		ITransaction Log();
		ITransaction Finish();
		boolean IsValid();
		boolean IsSuccessful();
	}
	
	public class FluentTransaction implements ITransaction{
		private Contact m_contact;
		private double m_amount;
		private boolean m_isSuccessful = false;		
		private boolean m_isValid = false;
		
		public ITransaction Initialize(Contact c, double d){
			m_contact = c;
			m_amount = d;
			return this;
		}
		
		public ITransaction Validate(){
			//Validate the m_contact and m_amount inputs
			//Setting this to false will instruct other execution chain methods to halt
			m_isValid = true; 
			return this;
		}
		
		public ITransaction Execute(){
			if(IsValid()){
				// Execute the transaction here
				m_isSuccessful = true;
			}
			return this;
		}
				
		public ITransaction Log(){
			if(IsValid()){
				//Add any transaction audit logging here
			}
			return this;
		}
		
		public ITransaction Finish(){
			if(IsValid()){
				//Finalize method. Manage any required cleanup
			}
			return this;
		}
		
		public boolean IsValid(){
			return m_isValid;
		}
				
		public boolean IsSuccessful(){
			return m_isSuccessful;
		}		
	}
	
	public MethodChaining(){
		Contact c = new Contact();
		ITransaction trx = new FluentTransaction()
			.Initialize(c, 5.0)
			.Validate()
			.Execute()
			.Log()
			.Finish();
		
		if(trx.IsSuccessful()){
			//Do something
		}
		else{
			//Do something else
		}
	}
}

Monday, 18 January 2010 15:06:41 (Pacific Standard Time, UTC-08:00)
# Saturday, 09 January 2010
With the economy being what it is, I can think of no better resolution for a small business owner/entrepreneur than to focus on creating jobs.
Ideally these jobs will be created in the Portland, OR metro area, but we're accustomed to operating with distributed teams and are happy to continue doing so.

Web Application Design / Development
With our shift away from .NET and onto the Force.com platform, a person in this role will need to be competent with:
  • Salesforce API and custom/native objects
  • Apex Controllers and Classes / Object modeling
  • Visualforce Pages / Eclipse
  • Javascript / JQuery / AJAX
Possible job creation triggers:
We're actively involved in re-architecting the i-Dialogue platform to run on Force using the above technologies. This product will be launched on the AppExchange with a Freemium business model. As we start to see adoption, the long-term strategy of the product will be to develop and offer add-on premium application modules.
Demand for custom module development, such as custom shopping carts or product configurators, will also spark growth.

Professional Services Developer / Project Manager
The Pro Service Developer is competent with what's available "out of the box" from Salesforce and our core products, and offers last mile customization and development services in direct response to customer and project requirements.

Responsibilities include:
  • Custom Visualforce template design and branding
  • Custom layout
  • Configuration and implementation services
  • Weekly progress meetings. Customer facing support and requirements gathering.
Desired skills:
  • JQuery UI / Themeroller / Custom Themes
  • HTML / Javascript
  • Visualforce (UI emphasis - no custom controller development)
Possible job creation triggers:
  • Clients and customers requiring custom branding of Salesforce Sites and Portal templates.
  • Custom website, landing page, and portal development on Force.com
  • Multi-channel campaigns executed across email and landing page sites
  • Integration projects involving Sites, Customer/Partner Portal, and Ideas

Account / Sales Manager
The AppExchange coupled with our concept of a Site Gallery will automate much of the Sales and Marketing process, however an Account/Sales Manager will be required to assist current and prospective clients assemble the right mix of software and services for their solution and provide quotes.

Possible job creation triggers:
Once the free version is released, we'll shift to offering premium add-on modules within 2 months.


Risks in 2010
The freemium model is somewhat new to us. We're giving away significant value and functionality in the free version, so it's very likely that only 5-20% of all customers will require our premium services, which in turn will enable new job growth. However, this model leverages the scalability and distribution of the cloud and requires no additional effort on our part to provision new computing resources.

The Web Application Design and Development position requires a Software Engineering approach to using Javascript. This is a common skill found in Silicon Valley, but not so much in Portland, OR. It may be difficult to find just the right person(s) for this role.

Most support functions are handled by Pro Service and Account Managers today, but there may be a need for a specific support role in the future.


Conclusion

The actual number of jobs in each position may vary, but these are the 3 primary job functions we'll seek to create in 2010. The products and features we have planned in 2010 are embracing the cloud in ways unimaginable a couple years ago and I'm very excited to wake up each day in pursuit of these solutions. For me, software development has always been about the journey, and surrounding myself with creative, innovative, and passionate individuals on this journey is important.

If past success is any indicator of the future, then I think our new direction will be successful. Of the 60,000+ customers on Salesforce, many are always seeking to gain more value from their CRM investment by deploying Sites and Portals. By running natively and offering services directly on the Force.com platform, rather than at arms length in a hybrid configuration, we're now able to offer much richer applications and solutions.

If you know of anyone in the Portland, OR area that has these particular skill sets, please have them contact me at mike@cubiccompass.com.

Saturday, 09 January 2010 14:11:55 (Pacific Standard Time, UTC-08:00)