silverlight: return of the clean and my toolbox| Comments
you can tell when a new fiscal year has started (or at least the month after a new fiscal year). people are back from vacations, meetings are more frequent, last-minute trips are planned, you get the picture. all of this has been counterproductive to me being able to really sit down and do some fun things with silverlight. not to feat though, some great things have been going on.
after i had helped "bcl man" :-) upload some videos of ironruby, i decided it did not do him justice to use one of the vanilla templates and altered it a bit to match the current style of his site. it took all of 10 minutes to do it. how? well, i'm working on a screencast to demonstrate just how easy it is to cheat :-). in the meantime, scott did notice that one of the minimalist templates was
removed missing from the expression media encoder update. what is great is that the team listened to the feedback (wait, aren't they listening to a fellow employee now?) and put it back in. very cool. although i'm not a huge fan of 'clean' i think it represents a good start for using silverlight to render media in a custom player. to use 'clean' simply extract it into your <installdir>\Microsoft Expression\Media Encoder 1.0\Templates\en\ folder and it will show up in the output options.
which brings me to my next thoughts...there is a lot of options to learn silverlight out there. i've been trying to provide some quick hits myself. in doing so i think there have been a lot of assumptions made to our users/developers. if you troll the forums, you'll notice people are struggling at times with simply getting started. i've been asked a few times and helped a few of 'what do i need' to do silverlight. well, here's my toolbox (in install order).
- windows vista ultimate (hey, i'm a windows guy...and it has ultimate in the title...c'mon tell me you don't want that over premium :-))
- expression design -- not using too much, but that's because i'm working in simple art now.
- visual studio 2008 beta 2 -- why beta 2? well, up until beta 2 dropped, i'd been using visual studio 2005 to do silverlight...which is perfectly fine actually (some subtle nuances, but okay if you don't want to install beta), but then with the beta 2 drop i noticed that it is now my single ide. why? multi-targeting baby. i can start a new project and tell the ide what fx version to use...wicked, wicked cool -- this has been needed for some time!
- silverlight 1.1 alpha refresh -- now why not just v1? well, here's the deal...installing v1.1 alpha refresh *gives you 1.0 already* -- i've seen people install both...you don't need to. installing 1.1 gives you both my friend. now, the plugin for 1.1 doesn't auto update right now so you'll have to update yourself, but for me as a developer, i recommend using v1.1 to get your chops going.
- silverlight tools for alpha -- this gives you the orcas project templates, intellisense, project linking, etc. when you are in vs2008, these help.
that's it -- when you have that, you have a great environment to develop silverlight apps. now there are a few other things you can put on (like media encoder), but i'm just talking basics here that make me productive. now when you launch blend2 you'll see the 1.1 project templates as well.
now, here's my workflow when doing a silverlight app.
- once i've gotten it to a certain point (and assuming i'm doing 1.1 development) i right click on the project in blend and say "edit in visual studio" -- boom vs2008 launches and i can get to some geek code.
- at this point it is iterative for me. i'll inevitably find something that wasn't right in my thoughts in deisgn and move back and forth -- i keep both tools open at this point.
one note i've found is that when you "F5" your project (that's keyboard-shortcut-lingo for 'run') in vs2008 it launches it as a file system. this could be frustrating for some if you are using downloader objects as the RC doesn't allow the file:/// protocol anymore (which by default launching as a file system project it would be using). if i know i'll be doing this, i simply open the blend project as a web site (file, open web site) and then it runs under cassini, problem solved.
so that's my quick and dirty on my environment and my workflow. simple enough i think.
off to samples. so here's my plan on what i'd like to create and stuff i'm working on:
- cheating at building a custom media player
- consuming web services in silverlight
- writing a custom control for silverlight: part 1 and part 2
- end-to-end using silverlight streaming
- part 1: getting vector art for a starting point (using expression design and files you find on the internet)
- part 2: leveraging the vector art in silverlight in combination with asp.net ajax for a compliementary interaction
- part 3: using asp.net ajax to create a silverlight control and create some dynamic interaction with both (for this series, my comrade rob bagby is coming to the rescue to demonstrate a pattern on doing this).
- integrating windows live services with silverlight
- integrating 3rd party api's (yelp, facebook) with silverlight
i noticed that laurence also is working on some good things and sees the need as well for some back-to-basics starting points.
so what do you think? what would you like to see from all of us? seriously, please comment and suggest. i really want to make people more productive in their use of our tools and frameworks...give some thought and make some suggestions on what you'd like to see or what from the above would be lame (i might do it anyway, but just want a pre-opinion i guess).
Please enjoy some of these other recent posts...