Tuesday, September 22, 2015

Debug WebGL and HTML5 Mobile Experiences with Visual Studio Emulators

This article is part of a web development series from Microsoft. Thank you for supporting the partners who make SitePoint possible.

With the recent availability of Visual Studio 2015 RTM came the free Visual Studio Emulator for Android. In this article, I’ll show you how to test your WebGL experiences on these very fast Android emulators.

First, download Visual Studio 2015 RTM (such as the free community edition) or install the Android emulators directly without Visual Studio. Then, read Introducing Visual Studio’s Emulator for Android, which explains how this cool emulator works and the features supported.

Note: I recently published an article describing how to remotely debug and profile the performance of HTML5 websites and apps on Windows Phone. You can now use the same approach to debug Windows Mobile 10 and Mobile Edge with the release of the Windows 10 SDK Tools.

[author_more]

WebGL testing

Once installed, you can launch the tool:

VSE

And choose the image you’re interested in:

VSEandroid

Let’s choose “5" Lollipop (5.0) XXHDPI Phone – Similar to Samsung Galaxy S4” and press play. If it’s the first time you’re launching the emulator, it will configure the Hyper-V network settings for you.

Once started, launch the default installed browser and try, for instance, to navigate to http://ift.tt/1aUDteS, the best available WebGL framework to date . If you try to launch one of our scenes, you’ll see an error:

babylon-gs

Indeed, the default browser shipped with this Lollipop image doesn’t support WebGL. We need to install Chrome on it.

Search for an x86 version of the Chrome APK such as this one: Chrome 43.0.2357.93 (x86) and drag’n’drop the APK directly into the emulator. It should install it:

vseforandroid

Continue reading %Debug WebGL and HTML5 Mobile Experiences with Visual Studio Emulators%


by David Rousset via SitePoint

My Current HTML Email Development Workflow

Each one of us has our own approach to web development: a preferred editor, some helper tools, a personal project flow, and so on. When we deal with big or complex projects, it is essential to have a clear development path, to both save time and minimize errors.

In my experience, this is especially important when working on an HTML email project. Email requires so many repetitive tasks that are not particularly complex in themselves (not very often, at least), but which can become problematic because of the sheer number of elements and tasks that need to be checked.

Here I’ll try to explain my personal workflow for HTML email development. I hope it’s useful for you to cherry-pick the parts you like.

A Typical Email Development Workflow

A classic email development workflow has three primary steps (see my Crash course article for more details):

  • Authoring (with preliminary local testing)
  • CSS inlining
  • Testing

Email Workflow

The final testing (with inlined CSS) is the step that requires more time since we’ll probably have to repeat it many times. Moreover, the “CSS inlining” and “Testing” tasks require a little extra work and attention: first, you’ll have to take care of preserving your original working copy from the inlined one. Also, the final testing requires you to send your inlined HTML to various accounts to check your design against various email clients.

Sending your code by email is a little tricky, since most clients don’t allow you to compose an email by pasting HTML code in its body (the only one I know is Thunderbird). But every test requires many actions to compose the mail, inline the CSS, paste the code, etc.

Thunderbird paste HTML window

If you have a testing platform account (Litmus, Email On Acid, Campaign Monitor or some other), you can simplify the final testing task by submitting your inlined code to the test platform but in order to perform a more accurate test, you’ll still have to send them your code by mail. In the past, I used a little PHP script to send the test emails, which could save some time, but it still requires repeating certain tasks.

Going back to CSS, you’ll probably have to deal with two files: one to be inlined and one to be embedded (for the clients that support media queries).

You’ll have to edit the CSS to be inlined directly into your HTML file, then launch an inliner tool (the Mailchimp inliner, for example), and finally you have to embed the second CSS into the inlined file (It bores me just writing about it!).

We can now review our workflow scheme in a more detailed way:

Email workflow detailed

To get a real productive workflow, many issues are still unresolved, and repetitive steps are significantly above the creative ones, which rarely leads to a good job.

Luckily, we still have some cards to play: Preprocessors and task runners.

Adding HTML and CSS Preprocessors

When I began to use preprocessors, I immediately realized how they could be useful for email development. The need for extremely verbose code (especially for HTML), can be easily simplified by a preprocessor, both for HTML and for CSS.

I mostly use Jade for HTML and Less for CSS, but you can choose the technologies you prefer. Jade is really useful when dealing with repetitive and confusing code, like nested tables. Take a look at the following sample of a three-level deep table.

[code language="html"]
<table width="100%" id="wrapper">
<tbody>
<tr>
<td width="100%">
<table align="center" class="header">
<tbody>
<tr>
<td width="100%">
<table width="100%">
<tbody>
<tr>
<td>cell 1</td>
<td>cell 2</td>
<td>cell 3</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
[/code]

The Jade lines that produce the same code are as follows:

[code language="jade"]
table(width="100%" id="wrapper")
tbody
tr
td(width="100%")
table(class="header" align="center")
tbody
tr
td(width="100%")
table(width="100%")
tbody
tr
td cell 1
td cell 2
td cell 3
[/code]

As you can see, there are no more problems with unclosed tags and the code is easy to read.

Using Jade you can create complex templates and build your own snippets library, reusing your code in more projects. You can do the same with Less or Sass.

You can compile your files with Gulp or Grunt, but in order to have a quick preview of you work, I’ve found that the best solution is offered by Coda and CodeKit.

Continue reading %My Current HTML Email Development Workflow%


by Massimo Cassandro via SitePoint

Anita – La Mamma del Gelato

Anita boutique ice creams are 100% hand-made from natural ingredients. Italian passion, vibes and landscapes where core inspiration for this social based website, emphasising Anita\\\’s worldwide \\


by csreladm via CSSREEL | CSS Website Awards | World best websites | website design awards | CSS Gallery

Velo Bike Store Theme

VÉLO is a minimal, clean Bike Store Responsive Business Theme that is specially designed for selling bicycles. But not just bicycles, you can use VÉLO for other niche products as well, for examples, watches, jewelry, fashion…


by csreladm via CSSREEL | CSS Website Awards | World best websites | website design awards | CSS Gallery

The Growing World of Mobile Electronic Health Records

Continuing my series on Mobile Healthcare, which began with "How Mobile Technology Is Changing Healthcare", this article discusses the increased usage of mobile electronic health records (EHRs) by medical practitioners.

Continue reading %The Growing World of Mobile Electronic Health Records%


by A. Hasan via SitePoint

Greatest Custom made Essay Writing Assistance One Can Get. All sorts of Essays

New Degree of Custom made Essays in Custom made Creating for You

Require more time for other pursuits in your own life? The because of date is the next day, and also the get is still not all set? To not get worried. The decision is here. You can purchase personalized essays on the internet like another individuals do. Precisely what does the essay producing aid get for you? Continue reading to learn.

Very best advantages of getting customized writings

  • Time. First of all, you get free time. When your blogger performs around the get, you get a few hours as well as days of extra time
  • Substantial type. Additionally you should expect top quality. In custom creating, paper has to match your wants.
    All of our writers are people who own ExpertAndrsquo;s levels or even PhDs
  • Overview. Besides that, you are in control of your work. This gives you nearer to high quality custom essays. It is simple to talk with the writer and talk about each of the problems through meaning board
  • Warranties. In addition, you can claim for any partial refund when your purchase is listed below your anticipations

Get customized essays on-lineAndnbsp;

Now it can be time for you to get even closer to your order specifics! Essentially, you can begin with supplying us some good information inside the order develop. Position the details about the essay type in the correspondent discipline, then get particular in regards to the volume of the document, its matter, and so on. If you have any specific requirements that don’t fit into the form, feel free to add them as a file into the message board. By doing this, you get entirely customized essays. We also have a friendly and brilliant support crew that can help you control any project easily.

Consumers on producing

You can leave your feedback and tell us if you enjoyed our custom written papers and the experience you had. Your view is vital to us, so weAndrsquo;re happy to know your requirements on personalized composing, essays, and so forth. Please, let us know, if you have any dissatisfaction. We want to make our inexpensive creating professional services more efficient for you.

You could be targeted at obtaining customized buy essay low-cost or obtaining them quick. Of course, the better critical your task is, the greater high-priced it receives. So, think of this beforehand if you can. This may each enable you to help save up and allow your author set a lot more energy to your custom written essays.

Make the initial essays greater

Some personalized producing providers which includes us have the option of editing and enhancing. Which means that, instead of custom essay writers, you use publishers supplying them a document developed by yourself. They create positive your assignment is checked for grammar quality, it suits the essay style and looks just like a proficiently produced operate. After they have completed their task, you get a all set papers. It is as good as a custom writing, but essay is written by you.

So enable our custom made document creating support astonish you. We’ll set our work within your orders. So order now and get free from excessive workload.

Positive custom freelance writers are eager to compose you a papers! A great customer service essay is possible.

Why then hang on? Get started these days!

Read essay4less.com


by Brian Rinaldi via Devgirl's Weblog

WebCamp Zagreb 2015 – a Conference You Must Not Miss

What do the some most influential community members of the web development world, like Bob Ippolito, Jaime Levy, Premshree Pillai and Peter Chittum, have in common? They’re all coming to WebCamp Zagreb!

Webcamp ZG banner

WebCamp is an annual conference for web developers, held in Zagreb on the first weekend of October. This year, it falls on October 3rd and 4th.

Continue reading %WebCamp Zagreb 2015 – a Conference You Must Not Miss%


by Bruno Skvorc via SitePoint