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

Brand Post

Most Popular Reviews

Latest Articles

Resources

PCW Evaluation Team

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.

Laura Johnston

MSI GS65 Stealth Thin

If you can afford the price tag, it is well worth the money. It out performs any other laptop I have tried for gaming, and the transportable design and incredible display also make it ideal for work.

Andrew Teoh

Brother MFC-L9570CDW Multifunction Printer

Touch screen visibility and operation was great and easy to navigate. Each menu and sub-menu was in an understandable order and category

Louise Coady

Brother MFC-L9570CDW Multifunction Printer

The printer was convenient, produced clear and vibrant images and was very easy to use

Edwina Hargreaves

WD My Cloud Home

I would recommend this device for families and small businesses who want one safe place to store all their important digital content and a way to easily share it with friends, family, business partners, or customers.

Featured Content

Product Launch Showcase

Latest Jobs

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?