Friday, March 18, 2016

iFly50

To celebrate the iconic fiftieth edition of IFLY KLM Magazine, we created the ultimate travel collection, presenting the 50 most beautiful, surprising and mesmerising destinations from all over the world.


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

H-Code Responsive & Multipurpose Wo

H-Code is a creative, clean, fully responsive, powerful and multipurpose multi page and onepage WordPress and WooCommerce theme with latest web design trends. It is multi purpose professional theme for any business like design agency, fashion, archit


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

www.ankt.in

Online portfolio of Anees Thanikal


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

Photographers 4 Weddings

Celebrating UK wedding photography since 2011. Profiling creative wedding photography by UK wedding photographers.


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

PHP Macros for Fun and Profit!

I was originally going to call this “Micro Macros with Marco’s Perfectly Pragmatic Pre-Processor library”, but I didn’t think Bruno would approve…

I get really excited when developers feel empowered to create new tools, and even new languages with which to solve their problems.

[author_more]

You see, many developers come to PHP from other languages. And many PHP developers can code in more than one language. Often there are things in those languages — small syntax sugars — that we appreciate and even miss when we’re building PHP things.

Complex laboratory labyrinth

Adding these to a language, at a compiler level, is hard (or is it?). That is unless you built the compiler and/or know how they work. We’re not going to do anything that technical, but we’re still going to be empowered.

When I used to write Ruby (or languages similar in this regard), I used to use list index ranges. They look something like this:

few = many[1..3]

We can expect code like that to take the second, third and fourth item of the many list, and assign them to the few variable. We can do something similar, using array_slice:

$few = array_slice($many, 1, 3);

I think the Ruby equivalent is far more elegant. We can also use variables and negative values for the lower and upper bounds of the range. It’s brilliant!

Getting Started with Macros

Inspired by a recent SitePoint post, I decided to try and add this syntax to my applications. The trouble is I don’t understand the PHP interpreter well enough to be able to add it. Then I remembered Marco Almada’s Yay library. It adds macros through pre-processing. Here’s an example of something simple you can do with it:

macro {
    unless (···condition) { ···body }
} >> {
    if (!(···condition)) { ···body }
}

$condition = false;

unless ($condition) {
    print "look ma! macros...";
}

That example is straight out the readme (with a few style differences).

Continue reading %PHP Macros for Fun and Profit!%


by Christopher Pitt via SitePoint

Designing for Apple Watch: Design Guidelines

This week's JavaScript news, issue 275

This week's JavaScript news
Read this e-mail on the Web
JavaScript Weekly
Issue 275 — March 18, 2016
WebAssembly is a new low level bytecode and runtime, acting as a compilation target for Web use. Experimental support is now available in V8 and Chromium behind a flag.
Seth Thompson

Brad Green’s keynote from Fluent on how new techniques are making it easy to use advanced browser features like Web Workers, HTTP/2, and service workers. Note: X to skip the login wall.
O'Reilly Media

Before promises, jQuery had (and still has) its own similar mechanism: deferred objects. Here’s a look at how they work and how they’re evolving.
Aurelio De Rosa

Learn to build your own JavaScript chat app with real-time messages and more in no time. Join this developer training webinar now. (Limited Seating)
PubNub.com   Sponsored
PubNub.com

This is not a casual read (get coffee) - it digs deep, but you’ll learn some cool stuff about functional programming concepts.
Chet Corcos

Flexible, works well with HTML/XML import and export, supports custom HTML rendering by writing components. Mature and used in several products.
Substance Software GmbH

A talk from Steve McGuire of Netflix on how they’ve built a high performance and completely declarative UI for living room use using React.
YouTube

A controversial insight? “By building the library from the ground up with types, you make clear what are the constraints and preconditions of your API.”
André Staltz

A tweet inspired a closer look at the single piece of JavaScript on HN.
Gordon Zhu

Jobs

  • JavaScript Developer at X-Team (Remote)We're looking for developers with extensive knowledge of JavaScript. The perfect candidate would be highly skilled in different frameworks and libraries. We are 100% remote and we provide the funding needed to help you achieve your goals and grow as a remote developer. X-Team
  • Frontend Developer at Backbase (Amsterdam)Being a Frontend Developer at Backbase gives you the opportunity of not only working with the newest technologies, but also mastering your leadership skills through implementing our product at our client’s offices. Travel the world; tickets/hotels are on us. Backbase
  • Stop Applying to Jobs - Let Companies Apply to YouOn Hired, sign up in 10 minutes and get offers from top companies like Facebook, Uber, & Stripe. Engineers get an average of 5 offers on the platform in 1 week. Try it today. Hired.com

In brief

Curated by Peter Cooper and published by Cooper Press.

Stop getting JavaScript Weekly : Change email address : Read this issue on the Web

© Cooper Press Ltd. Office 30, Lincoln Way, Louth, LN11 0LS, UK


by via JavaScript Weekly