Category: Silverlight

Vertigo: Slide.Show

Posted on 12:51pm 1/28/2008 by Bruno Silva in Freeware, Open Source, Programming, Silverlight, Web

Some time ago I’ve found an nice Silverlight 1.0 application which is now part of Silverlight.net Showcase. It is an open source configurable slide show application. The configuration is made by using XML or inline javacript (using JSON - JavaScript Object Notation).

Vertigo: Slide.Show

Vertigo: Slide.Show

See the live demo in Vertigo’s website. I had some issues while trying it on Firefox. The problem was Silverlight 1.1 September Alpha Refresh. So, in Internet Explorer it runs well with the 1.1 version, but to run it on Firefox you must have the stable 1.0 version.

This project is also hosted in Codeplex.

Microsoft Press Free E-Book

Posted on 4:42pm 12/19/2007 by Bruno Silva in .NET, ASP.NET, Microsoft, Programming, Silverlight

Microsoft Learning

MS Press has just released an e-book on Visual Studio 2008 technologies and are giving it away for free. The e-book includes excerpts from three recent book releases and provides a wealth of information and insights from top experts:

You can see the first chapter of these books for free. When you register, you’ll be able to download a lot more content of those books, packaged as an e-book.

Silverlight powered by PHP

Posted on 1:32pm 12/09/2007 by Bruno Silva in Programming, Silverlight

Silverlight powered by PHP

I’ve written this demo for a presentation two weeks ago, but I didn’t have a change to show it. I’ll show you how to dynamically generate a Silverlight application. Well, it is just a still image, but this way it is simple enough to show you the main idea.

Here is the look of the application. Each time you load the page it generates some random squares with random colors and positions.

From a common Silverlight application, here is the list of changes you have to do to get it working.

1. Create XAML generator (Page.xaml.php)

Create an PHP file which outputs XAML code. Take a look at this one. It has a function that generates a random RGB color with an Alpha value. It has also a function that generates a rectangle in XAML code based on some parameters. Using these functions the PHP script creates 150 squares with random position, size and color.

2. Change the XAML file reference (CreateSilverlight.js)

In the javascript file where the Silverlight Control is created you have to change the XAML reference to Page.xaml.php.It this CreateSilverlight.js file you can see how it looks.

3. Have some fun (Page.xaml.js)

I added some behavior to this application. When you click somewhere it changes between full-screen and window mode.

Conclusions

This is a simple example, but imagine what you can do. Things like connect to a database and generate some content, create parametrized animations, and so on. Just give it a try. You can download the whole demo here.

Silverlight 2.0

Posted on 8:20pm 11/29/2007 by Bruno Silva in Microsoft, Programming, Silverlight

Dado o vasto conjunto de novas funcionalidades ao até agora chamado Silverlight 1.1, ainda em Alpha Stage, a Microsoft decidiu que não fazia sentido chamar versão 1.1 a um produto completamente diferente da versão 1.0. Portanto o que até agora era chamado Silverlight 1.1 passará a ser referido como Silverlight 2.0. A grande diferença nesta versão é que ao invés de Javascript é utilizado .NET como base para a programação do comportamento das aplicações.

Algumas funcionalidades referidas foram

WPF UI Framework: O Silverlight vai comportar uma maior fatia dos componentes do WPF. Vai também permitir databinding, e incluir suporte para templates e skinning.

Rich Controls: Como seria de esperar vão estar disponíveis mais controlos para simplificar a contrução das aplicações. Neste momento basicamente temos caixas de texto e reprodutores de multimédia. Esperam-se controlos como Datagrids, ProgressBar, TabControl, Checkbox, Radiobutton, etc.

Rich Networking Support: Suporte para comunicações em REST, POX, RSS, e WebServices. Vai ser também permitido o “Cross domain network access”. Ou seja, uma aplicação Silverlight pode beber recursos em domínios que não sejam o local.

Rich Base Class Library Support: Collections, IO, generics, threading, globalization, XML, local storage, etc. Como já se sabia o LINQ será suportado.

Imagine Cup @ Instituto Superior Técnico

Posted on 10:32pm 11/25/2007 by Bruno Silva in Events, Imagine Cup, Microsoft, Popfly, Silverlight

Imagine Cup 2008

Vai haver um evento sobre o concurso Imagine Cup (edição 2008).
Além de um representante da Microsoft, vão falar concorrentes do IST da edição anterior, e vai haver uma sessão sobre Silverlight e Popfly.

Auditório A5 – IST-Taguspark
Quarta-Feira
28 de Novembro
15h00

No mesmo dia pelas 10 horas vai haver um evento semelhante no pólo da Alameda.

Agenda
15h00 – Imagine Cup 2008 (Vitor Santos, Microsoft Portugal)
Apresentação do maior concurso internacional para estudantes de tecnologia – O que é o Imagine Cup? Como posso participar? Quais as categorias existentes? E como decorrem?

15h45 – Team Sevric – Imagine Cup na 1ª Pessoa (João Severino e Ricardo Vieira, Instituto Superior Técnico)
Conhece um dos projectos finalistas da edição anterior do Imagine Cup. Ouve da boca de que quem já participou o que o concurso te pode proporcionar e aproveita os conselhos de quem chegou perto da vitória nacional!

16h00 – Microsoft Silverlight & Popfly (Bruno Silva, Instituto Superior Técnico)
Se o nome desta apresentação não te diz nada, ou muito pouco aproveita! Vem conhecer a nova proposta da Microsoft para a Internet do futuro. O mote é criar interfaces apelativas e funcionais.

Conto com a presença de quem estiver disponível. Apareçam!

© Bruno Silva | Powered by Wordpress