Microsoft Silverlight to back Ruby, Python in browser

Developers can continue using languages on client side without need to incorporate JavaScript

Microsoft plans to enable the Python and Ruby languages to be used for client-side development of rich Internet applications that leverage the company's Silverlight browser plug-in technology.

The intent is to let developers continue using these languages on the client side without having to also incorporate JavaScript. While use of JavaScript for Web development has been called AJAX (Asynchronous JavaScript and XML), Microsoft is referring to its planned capabilities as APAX and ARAX, with Python and Ruby replacing JavaScript in these new acronyms.

Python vs. PHP: Choosing your next project's language

"The difference between AJAX, ARAX, and APAX is the language, if you will," said Brian Goldfarb, group manager for Microsoft's developer division, in an interview on Friday afternoon..

Today, it is common for developers to use JavaScript in the browser. But with Microsoft's planned release of Silverlight 2 later this year, developers could begin using Python and Ruby on the client as well. Ruby and Python already are being used for server-side development.

"What we've done through Silverlight is to make it possible to use Ruby or Python as an alternative to JavaScript for building the same types of applications," said Goldfarb. Developers could write code for Silverlight that is executed in the browser.

"All the browser needs to have is Silverlight installed and then developers can take advantage of these languages," on the client, he said. Silverlight provides rich experiences with capabilities like video and graphics, Goldfarb said. It is viewed as rival to the Adobe Flash platform.

With Ruby, for example, developers would no longer have to use Ruby utilities to convert Ruby code to JavaScript. This would make the application easier to maintain, debug, and share, said Goldfarb.

Capabilities enabled for Ruby and Python possibly could be extended to Perl and PHP (Hypertext Preprocessor). Microsoft is in discussions with the PHP and Perl communities to gauge their interest in building this support, said Goldfarb.

In addition to backing JavaScript, Silverlight already supports development using C# and Visual Basic.

In another move related to application development, Microsoft late last month released a third preview of ASP.Net MVC (Model View Controller). This software supports building ASP.Net Web applications using MVC.

With MVC, there are models serving as components of an application that maintain state as well as views, which are components for displaying a user interface. The controller portion of MVC handles end-user interaction to manipulate the model and choose a view to display the UI.

The general release of ASP.Net MVC is planned for later in 2008, Goldfarb said. "MVC is a common and popular programming pattern that developers have used for a long time and we've seen a lot of interest in making it possible to take advantage of this pattern," to gain benefits like testing and agile programming, he said.

The preview is available at Microsoft's CodePlex Web site for open-source projects. ASP.Net MVC can work with tools such as Microsoft's Visual Studio 2008 and Visual Web Developer 2008 Express Edition or Notepad.

Join the newsletter!

Or

Sign up to gain exclusive access to email subscriptions, event invitations, competitions, giveaways, and much more.

Membership is free, and your security and privacy remain protected. View our privacy policy before signing up.

Error: Please check your email address.
Keep up with the latest tech news, reviews and previews by subscribing to the Good Gear Guide newsletter.

Paul Krill

InfoWorld
Show Comments

Cool Tech

Toys for Boys

Family Friendly

Stocking Stuffer

SmartLens - Clip on Phone Camera Lens Set of 3

Learn more >

Christmas Gift Guide

Click for more ›

Brand Post

Most Popular Reviews

Latest Articles

Resources

PCW Evaluation Team

Aysha Strobbe

Microsoft Office 365/HP Spectre x360

Microsoft Office continues to make a student’s life that little bit easier by offering reliable, easy to use, time-saving functionality, while continuing to develop new features that further enhance what is already a formidable collection of applications

Michael Hargreaves

Microsoft Office 365/Dell XPS 15 2-in-1

I’d recommend a Dell XPS 15 2-in-1 and the new Windows 10 to anyone who needs to get serious work done (before you kick back on your couch with your favourite Netflix show.)

Maryellen Rose George

Brother PT-P750W

It’s useful for office tasks as well as pragmatic labelling of equipment and storage – just don’t get too excited and label everything in sight!

Cathy Giles

Brother MFC-L8900CDW

The Brother MFC-L8900CDW is an absolute stand out. I struggle to fault it.

Luke Hill

MSI GT75 TITAN

I need power and lots of it. As a Front End Web developer anything less just won’t cut it which is why the MSI GT75 is an outstanding laptop for me. It’s a sleek and futuristic looking, high quality, beast that has a touch of sci-fi flare about it.

Emily Tyson

MSI GE63 Raider

If you’re looking to invest in your next work horse laptop for work or home use, you can’t go wrong with the MSI GE63.

Featured Content

Product Launch Showcase

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?