Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

modern.IE is OSS... The HTML/CSS/JS code scanner from Microsoft is free and OSS

DZone's Guide to

modern.IE is OSS... The HTML/CSS/JS code scanner from Microsoft is free and OSS

· Web Dev Zone
Free Resource

Should you build your own web experimentation solution? Download this whitepaper by Optimizely to find out.

InternetExplorer/modern.IE-static-code-scan

modern.IE

The modern.IE scan analyzes the HTML, CSS, and JavaScript of a site or application for common coding issues. It warns about practices such as incomplete specification of CSS properties, invalid or incorrect doctypes, and obsolete versions of popular JavaScript libraries.

It's easiest to use modern.IE by going to the modern.IE site and entering the URL to scan there. To customize the scan, or to use the scan to process files behind a firewall, you can clone and build the files from this repo and run the scan locally.

How it works

The modern.IE local scan runs on a system behind your firewall; that system must have access to the internal web site or application that is to be scanned. Once the files have been analyzed, the analysis results are sent back to the modern.IE site to generate a complete formatted report that includes advice on remediating any issues. The report generation code and formatted pages from the modern.IE site are not included in this repo.

Since the local scan generates JSON output, you can alternatively use it as a standalone scanner or incorporate it into a project's build process by processing the JSON with a local script.

The main service for the scan is in the lib/service.js file; it acts as an HTTP server. It loads the contents of the web page and calls the individual tests, located in /lib/checks/. Once all the checks have completed, it responds with a JSON object representing the results.

Installation and configuration

  • ...

Testing

...

JSON output

...

Exploring IE - modern.IE updated for IE11 – Parallels offer and free VMs for download

With the release today of the Internet Explorer 11 Developer Preview for Windows 7, we’ve also updated modern.IE – a set of tools and resources that make developing for the web (and IE) just a little bit easier. We want the web to move forward. And, we want to help web developers spend more time innovating and less time testing.

Today, we announce three new enhancements:

1. Limited offer: 25% off Parallels Desktop 8 virtualization for Mac.

2. New virtual machines for testing IE11 on Windows 8.1 and Windows 7.

3. A new, free screenshot tool that lets you see how a site looks across browsers and devices.

Additionally, the modern.IE scanner is now available open source (under Apache 2.0 license) to download from GitHub for your own projects.

...

Limited offer: 25% off Parallels Desktop 8 for Mac

...

IE11 Preview available on Virtual Machines

Virtual machines have proven to be a great way for developers to test in their preferred environment. We’ve made these available across various versions – from IE6 on Windows XP to IE10 on Windows 8 and in-between. Today we’ve added new VMs for IE11:

  • Windows 8.1 Preview with IE11
  • Windows 7 with IE11 Developer Preview

And they are available across many common virtualization platforms:

  • Hyper-V on Windows Server 2008 R2 SP1
  • Hyper-V on Windows Server 2012 & Windows 8 Pro w/Hyper-V
  • Virtual PC for Windows 7 (note that VPC cannot run Windows 8 VMs)
  • VirtualBox on Windows , Mac OSX and Linux
  • VMWare Player for Windows and Mac OSX

Start downloading the new VMs here.

How your users see your site. On Android. In Safari. With an Xbox.

...

That should be enough things and IE stuff to play with for a couple days at least. I wonder if there's an Azure VM in the gallery for this yet? That way we could starting playing with IE11 in just minutes...

Implementing an Experimentation Solution: Choosing whether to build or buy?

Topics:

Published at DZone with permission of Greg Duncan, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}