Evolution Medical Communications

Hybrid App Designer: Five Month Contract Consulting with Precision Global Staffing
I just wrapped up consulting on a project (view gallery) that was built with Angular 2 and Ionic 2. I used Balsamiq for the low fidelity prototype, and Sketch to replace Photoshop as my design tool and Invision with it’s Craft plugins for the interactive prototype to help garner immediate feedback during functional demonstrations with stakeholders.

Due to the excitement generated by the first product, my contract was extended to build a second hybrid product (view gallery) with Ionic and Angular that uses ForceJS to access a Salesforce backend.

These value added mobile products are targeted to bring tens of thousands of dollars in sales to Evolution’s account executives.

I also created a few responsive post conference surveys for attendees using jQuery Validate to ensure data integrity.

Read More

My Time at Adecco

For most of 2016 I was employed by bbbAdecco Group NA where we used Bootstrap, Grunt, Gulp, Sass, Knockout, SiteCore, and C#. The team uses an Agile development process with VersionOne software to track sprint progress, Team Foundation Server, and HP Application Lifecycle Management to track bugs. It was exciting to be engaged in a thorough agile process, and I have written an article on the process.

I also created a Virtual Assistant prototype with Ionic and Angular 1.

Read More

Header Scroll Transition and the Will-Change Property

Recently I needed to make an animated header that slides up when you scroll down the page, and slides down when you scroll up- the idea is to give the user the navigation when you ‘assume’ they are reaching back up the page with that intention. With this opportunity, my intention was to use best practice and dynamically add and remove the will-change property when transition starts and ends. I was confused that will-change was not being added on transitionstart until I realized there was none – only transitionend. A quick search for a solution gave me this pen that uses CustomEvent. Read about CustomEvent on MDN.

Furthermore, I was unsure if dynamic will-change was even necessary, because when we use tranistion: translate() the element is already being moved onto the GPU so is there a need for this?

Anyway, here is a simple but useful version of dynamic will-change for both animation and transition. For will-change on transition I added with the onClick event and let transitionend trigger the removal.

See the Pen Add-Remove will-change on Animation and Transition: Plain JavaScript by Peter (@peterdillon) on CodePen.0

 

And the finished dynamic scroll-detected header transition:

See the Pen Sliding Header with Transform and jQuery with IE9 Support by Peter (@peterdillon) on CodePen.

Read More

Three ways to use Modernizr

In the CSS:

As a JavaScript object:

Check for HTML element class:

Read More

Chrome’s Refresh Tools

Normal reload
This will use the cache but revalidate everything during page load, looking for “304 Not Modified” responses. If the browser can avoid re-downloading cached JavaScript files, images, text files, etc. then it will.

Hard reload
Don’t use anything in the cache when making the request. Force the browser do re-download every JavaScript file, image, text file, etc.

Empty Cache and Hard Reload
This does hard reload – but also looks for items downloaded and cached after the page has loaded, such as adding a new script tag to your DOM, or by using RequireJS etc. Any AMD-based library (such as RequireJS) basically loads its scripts lazily. In that case, you have to empty the cache to make sure that really everything gets a hard reload.

Keyboard command to open devtools: Cmd + Opt + I — or J if you want to focus the console when opening.

Read More