My First Day with Silverlight

Yesterday I decided to install everything I needed to start building Silverlight apps so I could see what it’s all about first hand. This post is an account of my first day experience being a Flash Developer and not knowing Visual Studio or any Microsoft Programming Language. I come from a Multimedia background so I was never really exposed to C# or C++ ever. If Microsoft is really serious about trying to get Flash Developers on board I think they are going to have to cater to people like me and not just their developer base.

 9am – Installing
I got into work and saw that Visual Studio had finished installing. So I went to the Silverlight website to see what else I needed to download. I looked at the list and saw downloads for the Beta and Alpha. So thinking that Beta comes after Alpha I downloaded everything with Beta attached to it. Fire up Visual Studio and stare at the Start Page still unsure what to do. Back to the website to watch that getting started video. Launch the video in Firefox and it’s next to impossible to watch. The video window is mega small and I can’t resize it. Try it in IE and still no dice. Feeling a little overwhelmed at first I call over our resident MS expert, Karl, and he begins to explain to be I need to install the Alpha. Apparently the Beta is 1.0 and the Alpha is 1.1. the difference is the Beta can only us Javascript and the Alpha C#. That was really apparent to me, but going back and actually reading the fine print it says it right there. Ok so back on track all the right things installed. I can now open Visual Studio and select Silverlight project from the list.

10am – Quickstarts
Started going through some of the quickstarts on the website. Going through the Event Handling one and went through creating a button. I created a TextBlock but couldn’t figure out how to set the font color. So I decided to open up the documentation and go through the language reference to see if I could figure it out, but I find out that the reference isn’t in the documentation. So I go through the Object Browser, this link will help you set that up, but it doesn’t give you any documentation there. So I continued on with the tutorials. I figured a good thing to do would be to start tracing objects and properties so I got Karl to show me how to use the Debugger. When I tried to debug for the first time it gave me a weird error saying it couldn’t find the file. The problem was that I had my project in a folder that had a space in the name. So make sure when building your apps that it goes into a directory without a space in it. Finally a project built. But no debug window. Apparently if you already have Firefox open and you debug it will run the app but not connect the debbuger. Time to save this post and continue writing in IE. Ok starting to feel a little more comfortable. I was able to figure out how to set the font color finally and was able to capture events. I have to say though my very little Flex experience is coming in handy with XAML.

11am-1130am
Figured out that the replacement for x and y properties is Top and Left.

1130am – 2pm – Lunch and meetings

2pm
Ok back on track.  Went through the quickstarts on creating Custom Components. It went pretty well expect if you are building the files from scratch it doesn’t go over some of the things you need to make it work. So be sure to always check out the source code of their examples if something isn’t working. Also learned some new syntax. So I think I need to get a book or something to start learning some C# code.

 3pm
Finally found some decent documentation on some of the Silverlight objects. I can’t help but feel that this should be called out a lot more then it is on the site. Or during the first couple of quickstarts have a note. “To learn more about the TextBlock object click here”. I figured out how to load an image in. It was pretty straight forward, but for some reason I couldn’t load one from our server. It’s probably a security thing. Going to look into that.

The rest of the day I spent just going through the Video Sample and installing Expressions Blend. I have to say considering my lack of C# knowledge is extremely low my first day was a success. My first impression is pretty good. Obviously I haven’t tried to do anything really crazy yet so I’ll save the Flash vs Silverlight comparisons until I actually make something. Better documentation and a better step by step guide for total newbies would be great. But again you have to remember it’s in Alpha so we just need to have some patience.

Continue reading » · Rating: · Written on: 05-31-07 · 5 Comments »

Snippets Panel v0.1

Yesterday I was going through the list of new features in CS3 for the JSAPI and I found fl.clipCopyString(string). This has been a feature I have been waiting for since mx2004 came out. And more just because I wanted to create a Snippets Panel. So I spent some time yesterday putting together something pretty quick. I haven’t tested it all that much and the UI is pretty simple right now. But I’d like to get some feedback first before going moving to far forward. The thing to keep in mind is that you can only copy the snippets to the clipboard and they don’t actually get pasted where your cursor has focus. But it still beats having to type out all those EventDispatcher mixins everytime.

Let me know what you think.

Snippets v 0.1 

Continue reading » · Rating: · Written on: 05-30-07 · 5 Comments »

Back from Vacation and Flash Belt’s around the corner

So I have been back from my vacation and OFFF for about a week now and am finally adjusted to the time difference. OFFF and Barcelona was a blast. OFFF was a very refreshing change of pace from the flash conferences that I am used to. But it could have also been that we were in Spain, who knows.

That being said it’s time to start gearing up for Flashbelt. The conference is June18th-20th and promises not to disappoint. This conference is small and kind of intimate compared to most conferences. So if you have always wanted to hang out with some of your Flash idols this is definitely the conference to do it at. And the closing night at Nye’s is something that can’t be missed. Tickets are going fast so be sure to register while you still can.

Continue reading » · Rating: · Written on: 05-29-07 · No Comments »

OFFF to London and Barcelona

No that’s not a typo in the title. Tomorrow I am flying off to London before heading to Barcelona for OFFF Festival. I am super excited about going, and it’s Spanish Grand Prix that week as well. If you’ve never been to a city while a F1 race is on it’s a massive party. So things will be pretty quiet for the next couple of weeks while I am gone but if you are either in London or Barcelona leave a comment or a send me an email, [ julian @ ] domain, and hopefully we can get together for a drink or 2.

Continue reading » · Rating: · Written on: 05-03-07 · No Comments »