Cloudflare to Introduce Apps with Workers

Beta test of Apps and Workers joint usage by Cloudflare had begun 
19 November 2018   309

Cloudflare talked about the start of beta testing of Cloudflare Workers embedded scripts in web applications using Cloudflare Apps tools. The created solutions can be placed in the Cloudflare Marketplace store, where they will be moderated and a security check.

Application developers used Cloudflare Apps to integrate JavaScript, HTML, CSS, and modifications of Cloudflare settings such as DNS to websites. With the start of beta testing, they got the opportunity to experiment with personalization, A / B testing, security, content checking and localization.

To add code to the application, simply place the link to the script in the install.json file:

{
	"resources": [...],
	"hooks": [...],
	"workers": [{
		"src": "./worker.js"
	}]
}

The introduction of variables is also available with a link in the Workers script. They may contain the tokens necessary for installing the application.

// inside src/worker.js
addEventListener('fetch', event => {
  event.respondWith(workerFn(event.request))
  let someOptionFromInstall = INSTALL_OPTIONS.UserAgents // UserAgents was selected by siteowner in previewer
})

Cloudflare unveiled a stable version of Workers for cloud administration of web applications in JavaScript in mid-March 2018. The service allows you to deploy JS-scripts on the company's cloud network within 30 seconds. At the end of September 2018, Cloudflare launched the “key-value” repository of Workers KV. Cloudflare experts claim that Workers provides low latency data reading and allows you to create applications that are comparable in performance to content delivery networks (CDNs).

Microsoft to Use Chromium for Edge Browser

The company has already placed the repository on GitHub to attract new members to the development of the browser
07 December 2018   123

Microsoft Vice President Joe Belfiore said that from December 6, 2018, the company will use the Chromium engine in the Microsoft Edge browser. According to him, Microsoft also plans to develop browsers for smartphones and other devices.

The company has already placed the repository on GitHub to attract new members to the development of the browser. Microsoft expects that the transition to the new engine will be a big step in the development of Microsoft Edge. For example, the browser will finally be adapted for macOS.

According to Belfiore, the company plans to improve the project in three areas:

  • Users will get hardware integration, improved browser compatibility with sites and reduced power consumption of devices when using it.
  • Web developers will appreciate the reduced fragmentation of a web platform for testing sites.
  • The corporate IT sector will get the compatibility of old and new Windows applications that run in the browser.

He noted that during the year the company would work “under the hood” of Microsoft Edge, and named several key stages of this process. For example, the transition to a platform compatible with the Chromium engine for developing a desktop version of the browser. It is also planned that most platforms and all versions of Windows will support Microsoft Edge.