DotNetKick.com is an open-source project. Please report any bugs and let us know your great suggestions. Currently running svn revision 620 (rss)

Kick Spy!, Kick Zeitgeist and Kick Widgets

15
kicks
published 10 months, 18 days ago, submitted by percent20 10 months, 18 days ago

buddylindsey.com — A basic example of how you can use Interfaces

Add a comment 1 comment | category: | Views: 1 | Get KickIt image code
tags: | tag it

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:

Comments:
Not quite real world, but a decent example of how to use interfaces to decouple your code and take advantage of polymorphism. A good example of why you would do this is for easing testing. You don't have to spin up dependent code to test your object; just use a mock that implements your interface and away you go.
posted by yesthatmcgurk yesthatmcgurk 10 months, 18 days ago



information Login or create an account to comment on this story
 

Sponsored Link: www.carlist.ie

Search:

Ads via The Lounge