I AM LISTENING TO
|
WHAT I LIKE
  • English
  • German


BLOG FILTER



Shepherd is a javascript library for guiding users through your app. It uses Tether, another open source library, to position all of its steps.

We should always try to make our apps as self-explaining as possible, but sometimes features need to be showcased or explained. This helps you to do a quick first-start guide for new users.

Shepherd @ Github

readmore

“The picture element, srcset and sizes attributes, and associated features allow web developers to deliver an appropriate image to every user depending on a variety of conditions like screen size, viewport size, screen resolution, and more. Picturefill enables support for the picture element and associated features in browsers that do not yet support them, so you can start using them today!”

Picturefill @ Github

 

readmore
16. December 2015

Angular 2.0 Beta goes live

Angular reaches BETA status. Time to start playing with it … Perfect for the holidays :)

With NativeScript und React Native you will be able to build native Android- und iOS-Apps as well.

Tutorial / GitHub

Enjoy coding …

readmore
20. November 2015

My Javascript Stack

Some time ago I said: “My perfect framework, is a set of solid singular solutions that have proven themselves over the years. Working solo or together in harmony”.

Here is a list of some of my core components, that I use in combination or standalone.

CORE

LAYOUT

TEMPLATING

OBSERVABLES

ROUTER

STORAGE

DEPENDENCY MANAGER

  • RequireJS  – requirejs.org

    jQuery Tweak: If you have already loaded jQuery before RequireJS, you can not use define([“jquery”], …) in your module defines. Add this to your main RequireJS config before doing anything else …

    NOW you can live happily ever after :)

  • OR
  • Loadrunner – github.com/danwrong/loadrunner

This is basically the core stack that I use to build out ideas :) While Angular is always an option, the above satisfies most of all needs and is often far slimmer. The rest depends on how you organize your code yourself, but at least you are not forced into fixed structures ;)

readmore

MVC offers architectural benefits over standard JavaScript.

The MVC pattern brings modularity to your applications and it enables:

  1. Reusable and extendable codebase.
  2. Separation of view from business logic.
  3. Simultaneous work on different components  ( UI layer and core logic).
  4. Maintenance becomes easier.

MVC is composed of three components:

MODEL

Model is where the application’s data objects are stored. The model doesn’t know anything about views and controllers. When a model changes, typically it will notify its observers that a change has occurred.

VIEW

View is what’s presented to the users and how users interact with the app. The view is made with HTML, CSS, JavaScript and often templates.

CONTROLLER

The controller is the decision maker and the glue between the model and view. The controller updates the view when the model changes. It also adds event listeners to the view and updates the model when the user manipulates the view.

 

Enjoy coding …

readmore

Really cool interface to test and debug Regex. The website also includes a nice regex library.

regex101.com

 

readmore

Really neat solution, that allows you to build a quick viewport based layout, without relying on the still buggy CSS units.

Also works nicely in combination with Visual Composer for WordPress :)

vUnit @ Github

Enjoy coding …

readmore

Using WordPress as a headless system, is nothing new. You can easily build out your own REST API or use the long available HTTP REST API 1.0+ for WordPress.

But with the new HTTP REST API 2.0+ its getting really easy to build out your own REST API Namespace and assign routes for all your JSON needs.

The new REST API will make its appearance in WordPress 4.4, but you can start now by adding the plugin to your system. When the plugin detects 4.4+ it will only load functionality not already present in the core.

A ROUTE

A route tells the API to respond to a given request with a specific function (endpoint). This adds the permalink structure to WordPress so that your functionality can be accessed via an url like this: http://yourdoman.com/wp-json/yourplugin/v1/myfunction/your_parameter 

THE ENDPOINT

The Endpoint is the callback handled by the route. Each endpoint can have additional parameters attached:

  1. custom permissions
  2. default values
  3. sanitization callback
  4. validation callback
  5. field requirements and more

RETURN VALUE

The return values from the endpoint are converted into JSON. You can use the WP_REST_Response object , this wraps normal body data and allows you to return a custom status code.

Really powerful stuff, that makes it easy to detach WordPress and the actual client using the data provided by it.

You can read more about it here.

Enjoy coding …

readmore

Flarum is new elegant next-generation forum software. It provides a touch optimized two pane layout with floating composer.

The backend runs on PHP/MySQL.

Flarum

readmore