Archive for November, 2010

Silverlight Model-View-ViewModel learning

November 19, 2010 Leave a comment

I’m still having a difficult time getting the MVVM approach that Microsoft uses with their Silverlight applications aimed at the Windows Phone 7 device. I’ve never really had to use something like this, were I need to separate my data by a middle man. Typically my UI components access the data it needs via a Type within a Class Library. Having to have a ‘View’ that reveals the data to the UI is taking some serious getting used to.

I was actually hoping to have my new Windows Phone 7 application completed this weekend, but after dealing with issues related to understanding how to structure things using a MVVM, the completion of the project has been pushed back.

I spent today migrating a lot of my code from classes into a ViewModel for my View to use. I approached things incorrectly, as I had all my code stored in classes, creating a structure like Model-View-ViewModel-Object, which really made things complicated when it came to data sharing amongst app objects.

After re-structuring everything, and moving my logic code into the ViewModel, things have really started to make better since for me. I don’t really want to demonstrate anything related to the app at this time, but I will definitely be showing it off here and on my Twitter feed when the time is right. Looking forward to it! It will mark my first professional app that I’ve ever released commercially. Can’t wait!

Categories: Programming

Mud Designer plans

November 14, 2010 3 comments

Now that I’ve got a large chunk of my current Windows Phone 7 application wrote, I’m feeling pretty good with how things work regarding it. I’m slowly understanding Silverlight a little more with each day I work on this app and feel pretty confident with it.

I started thinking what would be a good next app and I think I want to go ahead and start work on the mobile telnet client app for the phone. While I work on that, I’ll resume work on the Mud Designer and try getting a world up and running by february.
I think a mobile MMORPG (even if it’s in the form of a MUD) would be a pretty cool achievement for myself. If I can beat other people to it, be nice to be the person to release the first Windows Phone 7 MMORPG.

The Mud Designer engine is pretty far along IMO. The core engine is finished and I just need to start working on the NPC, Combat and Quest systems. NPC and Combat shouldn’t take to long, and I’m pretty sure I can put together a simple to use Quest system to get the engine into a useable state. As time progresses and income comes in (hopefully) I can improve and build on the systems, adding more content and eventually get the GUI created and working.

Windows Phone 7 MMORPG anyone? It sounds good to me.

Panorama Apps on WP7

November 13, 2010 Leave a comment

Well, I’ve spent the last two weeks just messing around with the different project types and finishing my first Windows Phone 7 App. At first I didn’t think I understood it very well and hadn’t spent much time messing with the toolkit after I submitted my first app. Now however, after spending some time writing my 2nd app, I think I know more about it than I had thought I did.

I sat down this morning and created my first Panorama app, which seems to be coming along pretty nicely. I even managed to finally understand the Model-View-ViewModel style of Silverlight and wrote my own View Model.
The panorama view is nice, but I was disappointed that Microsoft doesn’t really want developers to use the Application Bar in Panorama apps. I thought that would be the perfect location to store my ‘+’ symbol for creation of a new in-app object.

I ended up adding a Settings Item to my panorama view, and within there the user can create the new objects, while the existing objects are displayed on the main Item view. It added a little more work on my end, but I think it will work out alright in the end.

Looking forward to getting this app up and running smoothly, submitted to the marketplace and demonstrated on my blog!

Categories: Programming

Windows Phone 7 Apps

November 12, 2010 Leave a comment

Learning to write for Windows Phone 7 has been pretty difficult for me, which is surprising. The piece I’m having issues grasping is tying my data into ViewModels. The concept isn’t really explained anywhere for the phone so I guess I’ll spend tonight researching Silverlight development in general.

I’m still waiting for Microsoft to approve my first app, which was submitted last week. I wonder if they’re lagging because of a large number of apps, or if mine is stuck someplace.

I guess I’ll just wait a little longer.

Categories: Programming

Guest Blogging for Fellowstream

November 11, 2010 Leave a comment

A couple weeks back I was asked to do a guest blog post for the blog over at Fellowstream and so I put together a post regarding my transition from an employee to a supervisor at my current work.

It’s pretty neat doing the guest blogging, I liked the experience and hopefully I can find opportunities in the future to do so again.

Memories need to be saved

November 6, 2010 Leave a comment

I’ve posted in the past about my use of the Evernote service and why I like it so much. They do a excellent job with saving our memories, and allowing us to easily find the memories we want to dig up and look at again.

Just this past week I re-read up on some notes I had saved to the service referencing the first date my wife and I had. It ended up working out well as my wife asked me the other night to tell her the story of how we met. She didn’t know I had just re-read the encounter on my phones Evernote app and it really doesn’t matter I think. I was able to tell her the whole story, add some humor to it and make her laugh while I told it.

Some times we get so caught up in our day to day lives, that we don’t take time out to write a little note or make a journal entry about some of the things we did during the day. I don’t think a lot of people realize how important some of that information might be for them in the future. Everyday we create a memory, and it should be saved!

Categories: Programming

Windows Phone 7 Apps

November 1, 2010 4 comments

I spent this past weekend writing a couple apps for the new Windows Phone 7 device that will be available to the masses starting November 8th. I purchased the Windows Phone AppHub Marketplace subscription and managed to get at least one of the two apps completed.

I’ve found the phone to be rather difficult to program for actually, which surprised me considering it used the C# language and .NET. Getting data to work right in Silverlight has been really frustrating however, as I’m not accustomed to using DataModels and binding object properties via XAML. It’s been a lot of trial and error for me and I’m hoping that I can at least get something in return for the frustrations I’ve encountered during the last month.

After 3 weeks of fighting with Visual Studio, I was able to finally get the Emulator working with it and my apps deployed to it, thanks largely in part to Microsoft. After a dozen email exchanges, we were able to pin-point the root of the problem and fix it. A week later I was able to get my first app finished and ready for submission.

Wednesday marks the day that non-early adopters can submit their apps for submission to the marketplace, so I’ll be up early on Wednesday to make sure mine gets submitted properly! I don’t foresee any issues with it’s verification or certification so I should be all green for go on this.

Here’s hoping for some additional income!

Categories: Programming