SilverlightPulse.NET [Silverlight UK User Group]


Published on

Ian Blackburn from gives the Silverlight UK User Group a talk on his social networking application "SilverlightPulse.NET".

This presentation was given on 29th September 2009 at the EMC Consulting offices in London.

Published in: Technology
  • Be the first to comment

  • Be the first to like this

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

SilverlightPulse.NET [Silverlight UK User Group]

  1. 1.<br />A micro app for a micro-blogging world<br />Ian Blackburn<br /><br />
  2. 2. What is<br /><br /> shows and aggregates live tweets about Silverlight<br />Disclaimer: This isn’t me<br />
  3. 3. What’s it look like?<br /><br />OK – it needs some designer love!<br />
  4. 4. What is Twitter?<br /><br />Twitter is a service for friends, family, and co–workers to communicate and stay connected through the exchange of quick, frequent answers to one simple question: What are you doing?<br />
  5. 5. No - What is Twitter really?<br /><br />
  6. 6.<br /><br />How quickly and effectively can I create a Silverlight app that shows the Twitter heartbeat for Silverlight ?<br />Disclaimer: Not me, obviously!<br />
  7. 7. What am I thinking about?<br /><br />
  8. 8. Development Process<br /><br />Disclaimer: Not me, obviously!<br />
  9. 9. What was in that evenings work?<br />Took a look at the Twitter Search Api<br /> <br />Picked the Json Rest API <br />Took a look at the Silverlight Toolkit Charts<br /> <br />Decided on a simple line chart<br />Quick architectural choices<br />No storage (server or ISO) for now<br />Simple UX – limited choices, if any. No login.<br />All client based – no server code – because I can!<br />Do the simplest thing that works and no more<br />TDD and Unit Tests (oops – fell by the wayside in the rush)<br />Did “R-TUIT” instead though!<br />Real-Time UI Testing + lots of refactoring!<br />Some features didn’t make it<br />Wordle-like analysis<br />Map<br /><br />
  10. 10. The Code Section<br />Lets briefly look at<br />Using the Twitter Search API<br />The XAML<br />Some Value Converters<br />The Chart<br />Top Twitterers<br /><br />Disclaimer: I don’t look like this (I think!)<br />
  11. 11. Using Silverlight with the Twitter Json Search Api<br /><br />
  12. 12. I had to do a bit of work for missing values in the response from Twitter<br /><br />Used for things like the ToUser value which is often not present in the response<br />
  13. 13. Built a Simple Xaml UI<br /><br />
  14. 14. Some Simple Value Converters<br /><br />
  15. 15. The Chart<br />Probably the most work<br />Needed to aggregate the tweets retrieved from the search so they could be displayed<br />Used a couple of Linq queries and settled on hard-coded 10 minutes grouping<br /><br />
  16. 16. Logic For the Chart<br /><br />
  17. 17. Chart Xaml<br /><br />
  18. 18. Top Twitters – Linq is your friend!<br /><br />Linq makes these things such a pleasure!<br />
  19. 19. Getting the Top 10 Used Words – Linq again!<br /><br />This works but I need to remove common words (‘in’, ‘a’, ‘at’ etc) and create some sort of Wordle UI for it<br />
  20. 20. Lessons Learnt<br />You can do these micro apps quickly and they can have real benefit and impact<br />Silverlight is great at working with REST API’s<br />Silverlight is in a great position to take advantage of “the real-time web” and new business models<br />Linq is fantastic for working with any sort of data<br />Negatives<br />Using Google analytics on a Silverlight page doesn’t tell you much!<br /><br />
  21. 21. What next?<br />Make open source on codeplex if there is anyone interested in helping out<br />Include missing features<br />Maps (using new Silverlight VE Map)<br />Some UX Design<br />Wordle-like display of popular words<br />Choose term or hashtag to analyse (not just Silverlight)<br />Other thoughts? Who wants to help?<br /><br />This is me with my family!<br />Disclaimer: Not me <br />