Life in the technology sector

If everything seems under control,
You’re just not going fast enough

– Mario Andretti

Posted in Community, Observations, Opinion | 1 Comment

Yet Another Podcast #75–Jon Galloway on ASP.NET/ MVC/ Azure

Talking with Jon Galloway – Microsoft Evangelist – about ASP.NET/ MVC/ JonGallowayWindows 8 and Azure

Listen | Yet Another Podcast

 

rssiTunesalt

Posted in Essentials, HTML5, JavaScript, Languages, Metro, MVC, Observations, Patterns & Skills, Podcast, Visual Studio, Windows 8 | Tagged | Comments Off on Yet Another Podcast #75–Jon Galloway on ASP.NET/ MVC/ Azure

XAML For Windows 8: Read Me First

I’m pleased and proud to announce my newest book, from Apress, named either XAML For Windows 8: Read Me First or XAML Primer (we’re still discussing! Which name do you prefer?) 

If you are interested in learning Windows 8 programming with XAML and C# but your XAML isn’t yet up to snuff, then this is the book for you.

It is very short (about 100 pages) and to the point (you start writing code in chapter 1). It is the book to read before you tackle one of the full texts on Programming Windows 8 (such as my forthcoming Pro Windows 8 Development with XAML and C# with co-author Jon Galloway).

 

This book’s first draft is complete and we should have an e-version very soon.

Posted in Books, Windows 8, XAML | 11 Comments

Is XAML Part of the Future?

In recent months I’ve had a number of folks on my podcast talking about Windows 8.  Whether they prefer to program W8 in XAML/C#  or in HTML/Javascript, I always ask the same question: does XAML have a real future or should we all be jumping aboard the HTML5 juggernaut?  Here are links to some of these discussions:

Personally, I believe that XAML has a long healthy life ahead.  Almost everyone I’ve spoken with who programs W8 in both XAML and HTML says that they are more productive in XAML. 

It is the shared language not only of Silverlight and WPF but of Windows 8 and Windows Phone.  These are serious commitments by Microsoft.

But I have a strong bias: I’ve invested six years in developing expertise in XAML, my job is as a XAML/W8 Evangelist for Telerik and I have two books coming from Apress on Programming Windows 8 with XAML.

At the moment I’m not putting time into learning the JS side of the house; but I’m keeping my eyes open.  What about you?

Posted in Community, HTML5, JavaScript, Languages, Metro, Observations, Opinion, Podcast, Windows 8, WinRT | 22 Comments

Yet Another Podcast #74–Adam Kinney–Windows 8 and JavaScript and HTML5

Talking with Adam Kinney, Independent Design Developer and formerAdamKinny_starburst_fan Microsoft Evangelist and Jon Galloway, Microsoft Technical Evangelist, about programming for Windows 8 using JavaScript, CSS3 and HTML5.

 

JonGalloway

Listen | Yet Another Podcast

 

rssiTunesalt

Posted in Blend, Essentials, JavaScript, Languages, Metro, Observations, Podcast, UI, Visual Studio, Windows 8, WinRT | Tagged | 1 Comment

Windows 8 & Data Binding. Part 5–Binding to Lists

In Part 4 of this mini-series on data binding we looked at Data Conversion. ComboBox Today we look at binding a UI Element to a list of objects.

The trick in binding to a list, is to teach the control how to display the bound data. It needs to know how to display each object in the list – what properties of the object should be displayed and how should they appear?

Continue reading →

Posted in Data, Mini-Tutorial, Windows 8 | Tagged | 3 Comments

My Upcoming Trip to The Netherlands, Belgium, the UK & Bulgaria

I will be coming to Belgium on September Open Road18 to speak at Visug about Windows 8.

I will then  be in the Netherlands to speak at DotNed/Sixin UG on Thursday 9/20 and then to  SDN on 9/21.  

Next, I’ll be in the UK, speaking at these user groups:

  • Sept 24 – Bristol
  • Sept 25 – Cheltenham
  • Sept 26 – Birmingham
  • Sept 27 – Coventry
  • Sept 28 – Oxford
  • Oct 1     – Reading/Bracknell
  • Oct 2     – Southampton

Finally, I fly out of the UK and on to Sofia, Bulgaria, where I’ll be speaking at DevReach. 

Posted in Community, Windows 8 | 5 Comments

Yet Another Podcast #73–Dan Wahlin on Windows 8 Programming

Talking with Dan Wahlin on Windows 8 Programming, both XAML and HTML5. DanHeadShot2012Larger

Dan’s Blog

Listen | Yet Another Podcast

 

rssiTunesalt

Posted in HTML5, Podcast, Windows 8, XAML | Tagged | 3 Comments

Windows 8 & Data Binding. Part 4–Data Conversion

In Part 3 of this little mini-series on data binding in Windows 8 we looked at Element Binding. Today, we’ll take a look at Data Conversion. iStock_connectTwoWiresXSmall

At times the data in your business object (the source for your binding) and the target UIElement may not have an exact type match. For example, if your Employee class wants to keep track of the start date for each Employee, a sensible way to do so is with a DateTime object. However, when we display that data we’ll want to use a Text object, and we may not want the entire default conversion of a DateTime to a string. To rectify this problem, we can create a class that performs a conversion from one type to another (in this case, from DateTime to string). This class will implement IValueConverter and will have two methods: Convert, and ConvertBack.

Continue reading →

Posted in Data, Essentials, Mini-Tutorial, Windows 8 | Tagged | 1 Comment

Data Binding In Windows 8. Part 3–Element Binding

In my previous post, I discussed the three modes of DataBinding for Windows 8. Today CheckBoxwe’ll take a brief look at binding not to data, but rather binding one UI element to the value of another.  In this example, we’ll bind the IsActive property of the ProgressRing to the IsChecked property’s value in a CheckBox. 

<StackPanel>
     <StackPanel
         Orientation="Horizontal"
         HorizontalAlignment="Left"
         >
         <TextBlock
             Text="ProgressRing:"
             VerticalAlignment="Center"
             Margin="0,0,20,0" />
         <Border
             BorderThickness="1"
             BorderBrush="#44000000"
             Padding="10">
             <ProgressRing
                 x:Name="ProgressRing1"
                 IsActive="{Binding IsChecked, 
                    ElementName=ActiveCB}" />
         </Border>
     </StackPanel>
     <CheckBox
         Name="ActiveCB"
         Content="Active?" />
 </StackPanel>

Notice that the IsActive property is bound to the IsChecked property and the ElementName (ActiveCB) is the Name of the CheckBox with that property. 

That’s it, there is no code associated with this example; just the XAML.

Posted in Essentials | 2 Comments

Windows 8–Data binding Part 2

In my previous blog post I introduced data binding.  It worked, but there was no mechanism for updating.  Updating comes in two flavors, and these are often confused by folks new to databinding:

  1. Someone else updates the underlying data; we’d like the display to be updated
  2. The user updates the data on the display, we’d like the underlying data to be updated

Continue reading →

Posted in Data, Essentials, Mini-Tutorial, Windows 8 | Tagged | 8 Comments

Windows 8 Primer–Data Binding (Part 1)

Data-binding is often thought of as an advanced topic, but there really is no reason for that. data-binding is

  • Critical to writing XAML applications
  • Not very difficult to learn
  • A very powerful technique

Continue reading →

Posted in Data, Essentials, Mini-Tutorial, Windows 8 | Tagged | 4 Comments