Archive for February, 2010
Leveraging Azure with Non-Microsoft Technologies
Feb 24th
[PT]
Josh Holmes, UX Architect Evangelist da Microsoft esteve ontem no Campus FCT-UNL (Caparica) a dar uma palestra sobre Windows Azure com PHP, Ruby, Python e MySQL.
Josh Holmes começou com uma introdução ao Cloud Computing e um pequeno comparativo com os tipos de “hosting” mais comuns:
- Servidores “In House” ou “Hosted”
- Todo o IT tem de ser comprado => muito dinheiro => muito tempo
- Necessário projectar a capacidade dos servidores para os momentos de maior “pico”, mesmo quando esses são casos pontuais => má amortização do equipamento
- Cloud Computing
- Não tem custos iniciais e não necessita de tempo de configuração
- (Aqui o Josh deixou uma nota interessante) Cloud Computing não é para substituir os alojamentos “normais”, é só para aplicações empresariais.
A sessão prosseguiu com os tipos de Cloud Computing que existem:
- Private Cloud (On-Premise)
Toda a gestão da Cloud fica a cargo do “nós”
- Infrastructure (IaaS)
Utilização da infraestrutura como um serviço, ou seja, não somos responsáveis por toda a rede mas sim só pelo “nosso pedaço”
- Platform as a Service (PaaS)
Não queremos saber da Infraestrutura, só estamos interessados em tirar partido das potencialidades da plataforma de serviços. (Windows Azure está nesta tipologia)
“Agora que já sei onde se “encontra” o Windows Azure, quero saber onde estão realmente os DataCenters”
- USA
- Quincy, WA
- Chicago, IL
- San Antonio, TX
- Cambridge, MA
- Europa
- Dublin, Irlanda
- Amesterdão, Holanda
- Ásia
A “Nuvem” da Microsoft é o passo seguinte da apresentação:
- Application Services
- Bing
- Windows Live
- Office Live
- Health Vault
- Microsoft Advertising
- Software Services
- Office Online
- Dynamics CRM Online
- Exchange Online
- …
- Platform Services
- Windows Azure
- SQL Azure
- AppFabric
- Live Mesh
- …
E salta um slide com uma mensagem importantissima para quem está a considerar o Cloud Computing:
“Not everything has to or can live in the cloud. Only need the things that benefits on being in the cloud. The core strategy is ‘Hybrid‘, we call that Software+Services“
A virtualização do Windows Azure é apresentada em 4 tipos:
- Small: (1×1.8GHz – 1.76GB memory)
- Medium (2×1.8GHz – 3.5GB memory)
- Large (4×1.8GHz – 8GB memory)
- XLarge (8×1.8GHz – 16GB memory)
Claro que cada um terá o seu valor específico e todas as “taxas” – pedidos, trafego, etc… Assim é aconselhável se fazerem simulações de ROI aqui: http://AzureROI.CloudApp.net – reparem que já está na Cloud
O Windows Azure divide-se em dois “Roles”:
- Web Role
- External Facing
- HTTP/HTTPS endpoints
- Short lived calls
- “Think Web Server”
- Worker Role
- Internal Facing
- TCP/HTTP endpoint
- Long running processes
- “Think Service or Daemon”
Ok, já sabemos o que é o Cloud Computing, como é que a Microsoft se posiciona nesta tecnologia, como se processam as coisas dentro do Azure … é chegada a vez das tecnologias “Non-Microsoft”:
- Running PHP and Ruby on Azure
É possível se ter várias versões de PHP a correr lado a lado, pois basta colocar todos os ficheiros dentro de um package e colocar vários Web Roles (seria um por versão do PHP). Para isto funcionar teremos de colocar o PHP dentro de um WebRole, colocar o Package do PHP Runtime e apontar para o FastCGI.
Em termos de “tools”, temos o “Windows Azure for Eclipse” que irá fazer muito do trabalho pesado por nós; irá criar o Web.config e Web.roleConfig; e as implementações e debug será no Dev Fabric. (tools: http://windowsazure4e.org)
No WorkerRole podemos executar EXEs, logo é possível ter JAVA Tomcat no Windows Azure, MySQL, etc … Para tal bastará arrancar o processo WorkerRole, copiar os EXEs para a pasta e executar o processo. Não se esqueçam de ir monitorizando a saúde do processo…
E se eu quiser utilizar o Cloud Computing como “Storage” ?
O Windows Azure tem vários tipos de “Storage”:
- Blobs -> “storage” de informação não estruturada. Será particionada por vários contentores
- Queues -> “Buffered delivery data storage”
- Tables -> informação tabular ou semi-estruturada. As tabelas conterão entidades e as entidades conterão propriedades (linhas x colunas). As tabelas serão armazenadas em partições, e serão replicadas. A utilizar quando não há necessidade de uma BD relacional, pois é altamente escalável.
- Drives -> vai funcionar como um disco rigido em formato NTFS. Os mapeamentos serão para Blobs (ver acima)
As ferramentas para utilizar “Windows Azure Storage” com PHP poderão ser descarregadas do Codeplex (http://phpazure.codeplex.com)
“Mas eu necessito de uma BaseDados Relacional !! E agora ?”
Para dados relacionais temos o “Windows SQL Azure”, que irá permitir dados relacionais “a la SQL Server”, RDMS, altamente escalável, “strongly typed”, replicado 3x para garantir fiabilidade de dados e com uptime de 99.999%.
Atenção que “SQL Azure” não é uma versão do “SQL Server” na Cloud, há uma série de funcionalidades que não são compatíveis. Para o efeito fica uma lista do que é possível:
- Tables, Indexes e Views
- Stored Procedures
- Triggers
- Constraints
- Temp Tables
Para migrar uma BD, aqui está a ferramenta: http://sqlazuremw.codeplex.com
Para o caso de se querer utilizar MySQL, colocar a correr dentro de um WorkerRole. (ver acima, similar ao PHP).
A ZendFramework já tem suporte para Windows Azure e Azure Storage, e brevemente incluirá também AppFabric (Service Bus e Access Control).
Foi uma boa palestra, com informação muitissimo interessante!!!
Obrigado Josh.
[EN]
Josh Holmes, UX Architect Evangelist for Microsoft was yesterday at the FCT-UNL Campus (Caparica) to present us with a talk about Windows Azure with PHP, Ruby, Python and MySQL.
Josh Holmes started with a brief introdution to Cloud Computing and a small ”face to face” with other usual “hosting“:
- “In House” or “Hosted” Servers
- Must purchase the entire IT => costs money => costs time
- Have to figure out all the IT to face major “spikes”, even when those are from time to time => wast of capacity
- Cloud Computing
- No initial costs e no config time
- (Josh said a nice statement here) Cloud Computing isn’t to compete with Shared Hostings, its only for real enterprise applications.
The talk continued with the different Cloud Computing types:
- Private Cloud (On-Premise)
“We” manage everything
- Infrastructure (IaaS)
Usage of the infrastructure as a Servico, that is, we are not responsible for the entire network but only for our “piece”.
- Platform as a Service (PaaS)
Infrastructure? What infrastructure? We only are responsible to take advantage of the platform as a service. (Windows Azure seats here)
“Now I know where Windows Azure seats, I want to know where are the DataCenters”
- USA
- Quincy, WA
- Chicago, IL
- San Antonio, TX
- Cambridge, MA
- Europe
- Dublin, Ireland
- Amesterdam, Netherland
- Asia
Microsoft “Cloud” is the next step on the talk:
- Application Services
- Bing
- Windows Live
- Office Live
- Health Vault
- Microsoft Advertising
- Software Services
- Office Online
- Dynamics CRM Online
- Exchange Online
- …
- Platform Services
- Windows Azure
- SQL Azure
- AppFabric
- Live Mesh
- …
A slide with an importante statement jumps in:
“Not everything has to or can live in the cloud. Only need the things that benefits on being in the cloud. The core strategy is ‘Hybrid‘, we call that Software+Services“
Windows Azure virtualization is presented in 4 different “tastes”:
- Small: (1×1.8GHz – 1.76GB memory)
- Medium (2×1.8GHz – 3.5GB memory)
- Large (4×1.8GHz – 8GB memory)
- XLarge (8×1.8GHz – 16GB memory)
Of course that every single one has is price, therefore is mandatory to do some ROI simulations: http://AzureROI.CloudApp.net – behold, its a Cloud Appl ;)
Windows Azure has two “Roles”:
- Web Role
- External Facing
- HTTP/HTTPS endpoints
- Short lived calls
- “Think Web Server”
- Worker Role
- Internal Facing
- TCP/HTTP endpoint
- Long running processes
- “Think Service or Daemon”
Ok, Cloud Computing – check; whats Microsoft vision – check; who things work inside Azure – check … its time for some “Non-Microsoft” Technologias:
- Running PHP and Ruby on Azure
Its possible to have different PHP versions running side-by-side, just needs to have the right packages inside different WebRoles. So, WebRole running, PHP Runtime Package inside of it and pointing to FastCGI.
We have “Windows Azure for Eclipse” that will do all the major heavy leafting; generate Web.config and Web.roleConfig; and all implementations and debugging will be at Dev Fabric. (tools: http://windowsazure4e.org)
Inside WorkerRole we may run EXEs file, therefore its possible to have JAVA Tomcat or MySQL on Windows Azure … Don’t forget to monitorize your process health…
And if I want to use Cloud Computing as “Storage” ?
Windows Azure has different kinds of ”Storage”:
- Blobs -> “storage” for non-structured data. Will be partitionated by Containers
- Queues -> “Buffered delivery data storage”
- Tables -> Tabular or semi-structured data. Tables contains Entities and Entities contains Properties (rows x columns). Tables will be stored in partitions e will be replicated.It’s massively scalable. Use it when there’s no need for a Relational DB.
- Drives -> will work as a NTFS hard-drive. It will map back to Blobs (see above)
The necessary tools for ”Windows Azure Storage” with PHP may be download at Codeplex (http://phpazure.codeplex.com)
“But I need a Relational BD !! Now what ?”
For relational data we have ”Windows SQL Azure”, that will work similarly to a ”a la SQL Server” DB; RDMS, massively scalable, “strongly typed”, replicated 3x for high reliability and with an uptime of 99.999%.
Note that ”SQL Azure” isn’t an ”SQL Server” version for Cloud; there are a bunch of features that will not work. Here it goes a shortlist of the possible features:
- Tables, Indexes and Views
- Stored Procedures
- Triggers
- Constraints
- Temp Tables
DB migration, use this tool: http://sqlazuremw.codeplex.com
For MySQL, will work inside a WorkerRole. (see above, similar to PHP).
ZendFramework has now support for Windows Azure and Azure Storage, and soon also have AppFabric (Service Bus and Access Control).
It was a nice talk, with a lot of valuable information!!!
Thanks Josh.
Visual Studio 2010 Release Candidate and Silverlight 4
Feb 10th
[PT]
Já está disponível a versão RC do VisualStudio2010, no entanto é de salientar que não tem suporte para desenvolvimento de Silverlight4.
O suporte para desenvolvimento de Silverlight3 está presente, mas uma vez que o próprio Silverlight4 também se encontra em Beta, a Microsoft preferiu não o incluir nesta versão ao VS2010.
Segundo a Microsoft, quem já se encontrar a fazer testes e experiências em Silverlight4 deverá de continuar com a versão BETA2 do VisualStudio2010, sendo que está previsto a inclusão do Silverlight4 na versão RC na próxima “iteração” do próprio Silverlight4 … mas a data ainda não é pública.
É também importante frisar que não será possível correr lado a lado as versões Beta2 e Release Candidate.
Vamos aguardar portanto !!
[EN]
It’s already available the RC version of VisualStudio2010, however it is importante to note that doesn’t support Silverlight4 development.
Support for Silverlight3 development is present, but since the even Silverlight4 is still in beta, Microsoft chose not to include this on the current VS2010 version.
According to Microsoft, who is already doing tests and experiments in Silverlight4 should continue with the BETA2 version of VisualStudio2010, and in a near future Silverlight4 will be included in VS2010 RC, when a new “iteration” of the SL4 Beta is released … but the date is not yet public.
Please note that that the Beta2 and Release Candidate versions may not run side-by-side.
Let’s wait then !!
Microsoft WebDay@Porto – o desfecho / Microsoft WebDay@Oporto – the aftermath
Feb 8th
[PT]
No passado dia 2 de Fevereiro realizou-se no Porto o “WebDay“, um dia dedicado ao Universo WEB sob o ponto de vista da Microsoft.
O evento contou com mais de 400 pessoas, e foi direccionado para todos os profissionais da área web onde se pode ver as tendências e as soluções que a Microsoft propõe tanto em tecnologias, plataformas e ferramentas.
Houve uma grande participação das comunidades e as sessões foram todas muito participativas, sendo o Q&A um momento obrigatório e que algumas vezes se prolongou para além do horário e da própria sala. Arrisco-me mesmo a deixar uma confidência pessoal ao assumir que o pessoal nortenho é mais colaborativo e participativo neste tipo de eventos.
O dia foi preenchido com sessões que abordaram Silverlight, Sharepoint 2010, Expression Blend, ASP.NET e Windows Azure.
O único senão foi o facto de ser um evento de um dia, pois certamente que haveriam mais temas para se apresentar, se debater e se partilhar experiências. Esperemos que a Microsoft faça mais eventos deste tipo no Norte do nosso país.
Podem encontrar os PPTx das apresentações no site do WebDay.
Algumas fotos do evento no DeepZoomPix.
[EN]
In the past 2 February was held in Porto, the “WebDay” a day dedicated to the WEB universe from the point of view of Microsoft.
The event featured more than 400 people and was aimed at all professionals in the web where you can see trends and solutions that Microsoft offers both technologies, platforms and tools.
There was a large participation of communities and the sessions were all very active, and the Q & A were mandatory even sometimes extended beyond the time and the room itself. I dare even to leave a personal confidence to assume that the northern people is more collaborative and participative in this type of events.
The day was filled with sessions that addressed Silverlight, Sharepoint 2010, Expression Blend, ASP.NET and Windows Azure.
The only drawback was the fact it was a one-day event, because surely there would be more issues to present, to discuss and to share experiences. Let hope that Microsoft managed more such events in the North of our country.
The presentations PPTx can be found on the WebDay site.
Some photos at DeepZoomPix.
MIX10 & Windows Phone
Feb 5th
[PT]
Joe Belfiore, Vice-Presidente do “Windows Mobile Management” irá estar presente na keynote do MIX10.
Foi também anunciado a inclusão de 11 novas sessões sobre Windows Phones, sendo no entanto os temas das sessões uma incógnita.
Sendo o MIX um evento primariamente a focar o Mundo WEB, esta notícia vem dar peso ao que se tem vindo a falar no Twitter - “que o Silverlight irá estar no Windows Mobile 7″.
Falta sensivelmente 1 mês para o MIX10, mas certamente que haverá mais novidades até lá.
[EN]
Joe Belfiore, Vice President for Windows Mobile Management will present at MIX10 keynote.
With that, also 11 new Mobile Phone sessions were announced, however the sessions title is still a mistery.
Since the MIX event primarily focus on the Web World, this news is giving weight to what has been talking on Twitter – “that Silverlight will be Windows Mobile 7.”
With less then a month for MIX10, certainly there will be more news soon.
Selecciona a localidade onde gostarias de ter um Workshop de Silverlight ! / Which location would you like to have a Silverlight Workshop?
Feb 5th
[PT]
Abri um pequeno “Poll” para tentar saber em que local irei realizar um workshop de Silverlight, e está aberto até à altura do MIX10.
Votem e deixem os vossos comentários sobre o tipo de tema que gostariam de ver abordados nesse workshop.
Até breve!
[EN]
I started a poll about “Which location would you like to have a Silverlight Workshop” and it will run until MIX10.
Vote and leave your comments about which subject you would like to see presented.
See you soon!
Workshop HYPE em Lisboa com Joshua Davis / HYPE Workshop at Lisbon with Joshua Davis
Feb 1st
[PT]
A Comunidade RIAPT conseguiu mais um grande acontecimento … Joshua Davis em Portugal para um Workshop da sua conhecida framework para ActionScript3 – HYPE.
O tema do workshop é “Accelerating Creativity in ActionScript3″ e decorrerá nos dias 1 e 2 de Março de 2010, das 9h as 17h.
É de frisar que tal só foi conseguido devido ao apoio que o Centro de Formação FLAG tem vindo a dar às comunidades RIAPT e AUG.
Os preços dos ingressos:
- Estudante: 79€
- Normal: 159€
O local do evento acaba por ser muito apropriado, Hotel VIP Executive Arts no Oriente…é o hotel que tem uma parede pintada com heróis BD …
Aqui está um pequeno descritivo do que se poderá encontrar neste workshop de 2 dias:
“Write your own programs using Flash AS3 Objects/Classes, to create unique interactive and animated compositions. In this workshop, students will use Adobe Flash CS4, ActionScript AS3 and the HYPE Framework (the HYPE Framework is a collaborative visual framework developed by Branden Hall and Joshua Davis). Advance your basic Flash design skills to develop working prototypes of interactive design and animation, presentation of concepts to speed up production, and achieve more flexibility.”
Atenção que o número de vagas é limitado!
Inscreve-te já em: http://joshdavislisbon.eventbrite.com/
[EN]
RIAPT Community achieved another landmark … Joshua Davis in Portugal for a HYPE workshop – his well-known ActionScript3 framework.
The title is “Accelerating Creativity in ActionScript3″ and it will happen next 1 and 2 March 2010, from 9am to 5pm.
The credit must be given to FLAG – Training Center, for the awesome support they have given to RIAPT and AUG.
Prices:
- Student: 79€
- Regular: 159€
Venue: Hotel VIP Executive Arts in Oriente-Lisbon (the hotel with the wall painted with Comic Books Heroes)
Here it goes a small descriptive of the event:
“Write your own programs using Flash AS3 Objects/Classes, to create unique interactive and animated compositions. In this workshop, students will use Adobe Flash CS4, ActionScript AS3 and the HYPE Framework (the HYPE Framework is a collaborative visual framework developed by Branden Hall and Joshua Davis). Advance your basic Flash design skills to develop working prototypes of interactive design and animation, presentation of concepts to speed up production, and achieve more flexibility.”
The venue has a limited number of chairs, so be carefull!
Registration at: http://joshdavislisbon.eventbrite.com/

