Monday, January 2, 2017

Notyf – Dead Simple Javascript Notification Plugin

Notyf is a dead simple, responsive, vanilla javascript plugin to show notification.

Notyf is under MIT licence.


by via jQuery-Plugins.net RSS Feed

How PHP Executes – from Source Code to Render

Inspired by a recent article on how Ruby code executes, this article covers the execution process for PHP code.

Flowchart vector image

Introduction

There's a lot going on under the hood when we execute a piece of PHP code. Broadly speaking, the PHP interpreter goes through four stages when executing code:

  1. Lexing
  2. Parsing
  3. Compilation
  4. Interpretation

This article will skim through these stages and show how we can view the output from each stage to really see what is going on. Note that while some of the extensions used should already be a part of your PHP installation (such as tokenizer and OPcache), others will need to be manually installed and enabled (such as php-ast and VLD).

Stage 1 - Lexing

Lexing (or tokenizing) is the process of turning a string (PHP source code, in this case) into a sequence of tokens. A token is simply a named identifier for the value it has matched. PHP uses re2c to generate its lexer from the zend_language_scanner.l definition file.

We can see the output of the lexing stage via the tokenizer extension:

Continue reading %How PHP Executes – from Source Code to Render%


by Thomas Punt via SitePoint

Quick Tip: How to Use Android's Assist API

Img by Tom Sansome

Unique One Page website showcasing the photography of Tom Sansome - all within an interface identical to Apple Photos. The impressive features include thumbnail scaling, heart favoriting system and what a fun touch how the app minimize button sends the site into a "dock"... with only the Apple Photos icon.

by Rob Hope via One Page Love

20 Best CSS Animations on CodeCanyon

Big Youth

New Big Youth agency website
by via Awwwards - Sites of the day

LinkedIn Changes: What Marketers Need to Know

Do you have the new LinkedIn experience? Wondering what’s changed? LinkedIn has made it easier to find new contacts, interact with connections, and write posts. In this article, you’ll discover how to navigate the new LinkedIn and where to find what you need. #1: Explore the Home Page When you sign into LinkedIn on desktop, [...]

This post LinkedIn Changes: What Marketers Need to Know first appeared on .
- Your Guide to the Social Media Jungle


by Viveka von Rosen via