SilverlightPulse.NET [Silverlight UK User Group]

578 views

Published on

Ian Blackburn from bbits.co.uk 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
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
578
On SlideShare
0
From Embeds
0
Number of Embeds
16
Actions
Shares
0
Downloads
0
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

SilverlightPulse.NET [Silverlight UK User Group]

  1. 1. Silverlightpulse.net<br />A micro app for a micro-blogging world<br />Ian Blackburn<br />www.bbits.co.uk www.silverlightforbusiness.net<br />
  2. 2. What is Silverlightpulse.net?<br />www.bbits.co.uk www.silverlightforbusiness.net<br />Silverlightpulse.net shows and aggregates live tweets about Silverlight<br />Disclaimer: This isn’t me<br />
  3. 3. What’s it look like?<br />www.bbits.co.uk www.silverlightforbusiness.net<br />OK – it needs some designer love!<br />
  4. 4. What is Twitter?<br />www.bbits.co.uk www.silverlightforbusiness.net<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 />www.bbits.co.uk www.silverlightforbusiness.net<br />
  6. 6. Silverlightpulse.net<br />www.bbits.co.uk www.silverlightforbusiness.net<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 />www.bbits.co.uk www.silverlightforbusiness.net<br />
  8. 8. Development Process<br />www.bbits.co.uk www.silverlightforbusiness.net<br />Disclaimer: Not me, obviously!<br />
  9. 9. What was in that evenings work?<br />Took a look at the Twitter Search Api<br />http://apiwiki.twitter.com/Search+API+Documentation <br />Picked the Json Rest API <br />Took a look at the Silverlight Toolkit Charts<br />http://codeplex.com/silverlight <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 />www.bbits.co.uk www.silverlightforbusiness.net<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 />www.bbits.co.uk www.silverlightforbusiness.net<br />Disclaimer: I don’t look like this (I think!)<br />
  11. 11. Using Silverlight with the Twitter Json Search Api<br />www.bbits.co.uk www.silverlightforbusiness.net<br />
  12. 12. I had to do a bit of work for missing values in the response from Twitter<br />www.bbits.co.uk www.silverlightforbusiness.net<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 />www.bbits.co.uk www.silverlightforbusiness.net<br />
  14. 14. Some Simple Value Converters<br />www.bbits.co.uk www.silverlightforbusiness.net<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 />www.bbits.co.uk www.silverlightforbusiness.net<br />
  16. 16. Logic For the Chart<br />www.bbits.co.uk www.silverlightforbusiness.net<br />
  17. 17. Chart Xaml<br />www.bbits.co.uk www.silverlightforbusiness.net<br />
  18. 18. Top Twitters – Linq is your friend!<br />www.bbits.co.uk www.silverlightforbusiness.net<br />Linq makes these things such a pleasure!<br />
  19. 19. Getting the Top 10 Used Words – Linq again!<br />www.bbits.co.uk www.silverlightforbusiness.net<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 />www.bbits.co.uk www.silverlightforbusiness.net<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 />www.bbits.co.uk www.silverlightforbusiness.net<br />This is me with my family!<br />Disclaimer: Not me <br />

×