web stats service from statcounter

Microsoft bringing Progressive Web Apps to Windows 10, Microsoft Store [ad_1]

Progressive Web Apps (PWAs) are built without platform-specific code. Developers can make apps that run across different platforms

Microsoft bringing Progressive Web Apps to Windows 10, Microsoft...

Microsoft has announced that it is bringing Progressive Web Apps (PWAs) to the Windows 10 and the Microsoft Store. In a post on its official blog, the company notes that the technology behind PWAs will be enabled in EdgeHTML 17, which will be pushed out in the next major update to Windows 10. 



PWAs are web apps that feature modern web technologies like Service Worker, Fetch Networking, Web App Manifest Cache API, and Push notification. This lets users enjoy a more app like experience without the need to use the browser. Further, since PWAs are built without platform-specific code, developers can make apps that run across different platforms. Further, these apps are hosted on the developer’s own server. So updates can be issued directly, without the need to push it to an app store first.



Microsoft also notes that PWAs should should be discoverable and hence, they will appear in the Microsoft Store alongside native apps. 



“In the next release of Windows 10, we intend to begin listing PWAs in the Microsoft Store. Progressive Web Apps installed via the Microsoft Store will be packaged as an appx in Windows 10 – running in their own sandboxed container, without the visual or resource overhead of the browser,” the company notes in its post.



Microsoft also says that there would be no conflict between PWAs and its Universal Windows Platform (UWP), and talk of any such conflict is “false dichotomy.” It notes that the two approaches can exists together. “For developers who are building a fully-tailored UWP experience, building from the ground up with native technologies may make the most sense. For developers who want to tailor an existing web codebase to Windows 10, or provide a first-class cross-platform experience with native capabilities and enhancements, PWA provides an on-ramp to the Universal Windows Platform that doesn’t require demoting or forking existing web resources.” In other words, UWP apps will allow developers to create a single app that would run on multiple Windows powered devices, while PWAs would let them create apps that would run across platforms.



Regardless, the addition of PWAs to the Microsoft Store should help boost its app count, which is a good thing for Microsoft as well as users of the platform.

Digit NewsDeskDigit NewsDesk




').insertAfter('.inside-container p:eq(1)'); */
// $( "http://www.digit.in/" ).insertAfter('.inside-container p:eq(0)');
//});#}
//method to trunkate the text
function shorten(text, maxLength) {
var ret = text;
if (ret.length > maxLength) {
ret = ret.substr(0,maxLength-3) + "...";
}
return ret;
}

$(function(){
//function to put utm on DontMiss links
/*if(isDesktop()){
$('div.dontMiss > a').each(function(){
$(this).prop('href', $(this).prop('href')+'?utm_source=within_article&utm_medium=desktop&utm_campaign=related');
//trunkate dont miss content
var sub = shorten($(this).html(),47);
$(this).html(sub);
});
}else{
$('div.dontMiss > a').each(function(){
$(this).prop('href', $(this).prop('href')+'?utm_source=within_article&utm_medium=mobile&utm_campaign=related');
});
}*/

//disabled method to append dontmiss links to page content by Mayank
/*$('div.dontMiss > a').each(function(index){
//loop over each list item

// if(index%2 > 0){
// index = index - 1;
// }
if($('.inside-container > p:eq('+index+')').length){
if(isDesktop()){
$('.inside-container > p:eq('+((index * 2) + 1)+')').append('

Related: ' + $(this).html() + '' );
}else{
$('.inside-container > p:eq('+((index * 2) + 1)+')').append('

Related: ' + $(this).html() + '' );
}
}
});*/
$('div.dontMissArea').hide();

/* if(isDesktop()) {
$('div.dontMissArea').hide();
}else{
$('div.dontMissArea').show();
} */

/*
* ga event tracking on page scroll start and end by Mayank
*/

// Debug flag
var debugMode = false;

// Default time delay before checking location
var callBackTime = 100;

// # px before tracking a reader
var readerLocation = 150;

// Set some flags for tracking & execution
var timer = 0;
var scroller = false;
var endContent = false;
var didComplete = false;

// Set some time variables to calculate reading time
var startTime = new Date();
var beginning = startTime.getTime();
var totalTime = 0;

// Get some information about the current page
var pageTitle = document.title;


// Track the aticle load -- disabled
if (!debugMode) {
// ga('send', 'event', 'Reading', 'ArticleLoaded', pageTitle, {'nonInteraction': 1});
// console.log("ga('send', 'event', 'Reading', 'ArticleLoaded', pageTitle, {'nonInteraction': 1}");
} else {
alert('The page has loaded. Woohoo.');
}

// Check the location and track user
function trackLocation() {
bottom = $(window).height() + $(window).scrollTop();
height = $(document).height();

// If user starts to scroll send an event
if (bottom > readerLocation && !scroller) {
currentTime = new Date();
scrollStart = currentTime.getTime();
timeToScroll = Math.round((scrollStart - beginning) / 1000);
if (!debugMode) {
ga('send', 'event', 'Reading', 'StartReading', pageTitle, timeToScroll, {'metric1' : timeToScroll});
} else {
alert('started reading ' + timeToScroll);
}
scroller = true;
}

// If user has hit the bottom of the content send an event
if (bottom >= $('.inside-container').scrollTop() + $('.inside-container').innerHeight() && !endContent) {
currentTime = new Date();
contentScrollEnd = currentTime.getTime();
timeToContentEnd = Math.round((contentScrollEnd - scrollStart) / 1000);
if (!debugMode) {
if (timeToContentEnd = height && !didComplete) {
currentTime = new Date();
end = currentTime.getTime();
totalTime = Math.round((end - scrollStart) / 1000);
if (!debugMode) {
ga('send', 'event', 'Reading', 'PageBottom', pageTitle, totalTime, {'metric3' : totalTime});
} else {
alert('bottom of page '+totalTime);
}
didComplete = true;
}
}

// Track the scrolling and track location
$(window).scroll(function() {
if (timer) {
clearTimeout(timer);
}

// Use a buffer so we don't call trackLocation too often.
timer = setTimeout(trackLocation, callBackTime);
});
});



').insertAfter(".inside-container p:eq(2)");
}

});


[ad_2]

Source link

By,
Mr. Service,
Mobile, Laptop and Desktop Repair,
Kancheepuram.




























































































































































































































































قالب وردپرس

0 comments:

Post a Comment

 
Top