A Beginner’s Guide to Silverlight with PHP

Notice: This is a discussion thread for comments about the SitePoint article, A Beginner’s Guide to Silverlight with PHP.


In today’s tutorial, “A Beginner’s Guide to Silverlight with PHP,” author Jordan Knight takes a look at Microsoft’s .NET powered client side technology, Silverlight, which aims to satisfy the demand for Rich Internet Applications.

Jordan starts off by showing us how to get started with Silverlight development using Visual Studio from Microsoft’s Web Platform Installer, and concludes by demonstrating how to use Silverlight to access PHP based web services.

As you move through the article you’ll learn how simple and practical PHP and Silverlight integration can be. When you’re done, you’ll have a good understanding of how your Silverlight app communicates with PHP using web services.

We have a quiz for you to tackle once you’ve read the [URL=“http://articles.sitepoint.com/article/silverlight-php”]tutorial, so why not see how good your memory is?

You have a broken link there, the link should be http://articles.sitepoint.com/article/php-silverlight, not http://articles.sitepoint.com/article/silverlight-php

Btw, your link to “the Silverlight website” is broken - it points to “???”.

The point where the WSDL file needs to be generated is usually the point where most developers give up… I’m guessing auto generators for WSDLs were not included for the sake of simplification, but in case anyone is curious, let me point to Zend Framework’s Zend_Soap_AutoDiscover class. The basic idea is to use docblocks to document your classes and/or functions, and then just specify the name of the class/function(s) to the AutoDiscover class. Following your doc, AutoDiscover generates appropriate WSDL that SOAP clients can then use.

Edit:

WTF?!? I thought I was writing comment within the article… SitePoint, you really need to make it more excplicit which comment goes where… and why this separation to begin with BTW?

RIP Flash.

Flash = Dinky little web animations for ads.

SilverLight = professional/business/enterprise use.

Obviously you have not seen Adobe Flex, which Silverlight is just copying :nono:

+1 :tup:

…and Flex builder is visual studio for flash apps, in a nutshell.

:goof:

Hi all,
I’m a new developer and am trying to learn more about Silverlight with PHP. I followed the examples in the article exactly, until I got to where you have to make the service reference for the WSDL file. After i put in the address of the file and press Go, Visual Studio crashes unexpectedly every time. I’m trying to figure out why; i’ll read a little more into the logs (if i can find them) but if anyone has any suggestions, it’d be greatly appreciated. Thank you in advance.

-Drew

Silver light is one of the best software of the Microsoft which helps in GUI.
To design a attractive graphics and to develop a excellent GUI then silver light is the right selection for it.
Silver light is mainly used in professional or business work area.
Sidelight is best option of flash as well as Adobe Flex.

No, PHP is not same as HTML.
PHP is open source and useful for development for web applications.

Very useful thanks Andrew