|Project Westminster - Another Web App Format|
|Written by Mike James|
|Monday, 13 July 2015|
Microsoft recently announced a plan to create "bridges" to allow programmers to covert their existing apps to WinRT apps. The first to be ready is codenamed "Westminster" and it converts websites to apps.
Microsoft make a small fuss about the fact it makes use of the W3C standard for Web Apps - which is good - but not much about the rest of the approach is standard.
If you want to stay with pure standards then your App will be Windows Store compatible, but it won't make use of any of the special features provided by Windows 10. If you want to make use of these you will have to add code to call the APIs. If you go down this road then don't expect any of the new features to work on any other platform and they won't even work if viewed in a browser under Windows 10.
The additional APIs are provided via the Universal App wrapper. If you convert any old web page to a Universal App what you get is essentially the web page minus any of the unsupported technologies like Flash, ActiveX, Silverlight and so on running in Edge.
So really project Westminster doesn't so much import and convert your web app to run under WinRT it simply creates a new type of web app - one that goes beyond the standards to make use of Windows 10 proprietary APIs. The only good news is that by including tests to make sure that the Windows APIs are available you can still allow the same code base to run in a web browser just as it did before you "converted" it.
See what you think about the following video:
My immediate reaction to "you can use your favourite code editor" was that Visual Studio is my favourite code editor, but it seems to be the only one I can't use unless I had used it to create the web app in the first place. There doesn't seem to be any remote download of the files, so you can edit them and keep them in sync on a remote server.
You can submit your efforts to the Windows Store. Sideloading is also possible and Windows 10 might even make it easier with a simple "allow sideloading" setting. It is difficult to know if this is going to make enterprise distribution of apps easier, but my guess is that without security it won't.
One very surprising feature is that once you upload your app to the Windows Store any changes that you make to its online content are immediately reflected in the web app. To be honest it is difficult to see how this could work any other way, but it does open up ways of getting content that might otherwise be rejected into the Windows Store - until someone complains or notices.
To be informed about new articles on I Programmer, install the I Programmer Toolbar, subscribe to the RSS feed, follow us on, Twitter, Facebook, Google+ or Linkedin, or sign up for our weekly newsletter.
Summer SALE Kindle 9.99 Paperback $10 off!!
or email your comment to: firstname.lastname@example.org
|Last Updated ( Monday, 16 November 2015 )|