Category Archives: dev

Previous Page

Absurdjs – Javascript framework

A new javascript framwork that presents itself as an alternative to angularJs.

http://absurdjs.com/

http://krasimirtsonev.com/blog/article/AbsurdJS-fundamentals

Posted on April 9, 2014, 16:09 By
Categories: JavaScript Tags:
Flexbox

A (not so) new way of laying out content.

Promisses the moon and the end of archane rules and twisted brain effect on css devs. But maybe not for everything.

http://caniuse.com/flexbox

http://dev.opera.com/articles/view/advanced-cross-browser-flexbox/

Posted on March 27, 2014, 11:54 By
Categories: Css, Webdesign Tags: , ,
Phaser II – Javascript game engine
Phaser II

Phaser is a fun, free and fast 2D game framework for making HTML5 games for desktop and mobile web browsers, supporting Canvas and WebGL rendering.

http://www.phaser.io/

Javascript Promisses

http://www.promisejs.org/intro/

We want our code to be asynchronous, because if we write synchronous code then the user interface will lock up (in client side applications) or no requests will get handled (in server applications). One way to solve this problem is threads, but they create their own problems and are not supported in JavaScript.

One of the simplest ways to make functions asynchronous is to accept a callback function. This is what node.js does (at time of writing). This works, but has a number of issues.

  1. You lose the separation of inputs and outputs to a function since the callback must be passed as an input
  2. It is difficult to compose multiple serial or parallel operations
  3. You lose a lot of helpful debugging information and error handling ability relating to stack traces and the bubbling up of exceptions
  4. You can no longer use the built in control flow constructs and they must all be re-invented to work asynchronously.

Many APIs in the browser use some kind of event based model for control flow, which solves problem 1, but not problems 2 to 4.

Promises aim to solve issues 1 to 3 and can solve problem 4 in ES6 (with the use of generators).

Posted on March 20, 2014, 19:15 By
Categories: JavaScript Tags: , ,
PHP The Right Way

http://www.phptherightway.com/

There’s a lot of outdated information on the Web that leads new PHP users astray, propagating bad practices and insecure code. PHP: The Right Way is an easy-to-read, quick reference for PHP popular coding standards, links to authoritative tutorials around the Web and what the contributors consider to be best practices at the present time.

There is no canonical way to use PHP. This website aims to introduce new PHP developers to some topics which they may not discover until it is too late, and aims to give seasoned pros some fresh ideas on those topics they’ve been doing for years without ever reconsidering. This website will also not tell you which tools to use, but instead offer suggestions for multiple options, when possible explaining the differences in approach and use-case.

This is a living document and will continue to be updated with more helpful information and examples as they become available.

Posted on March 20, 2014, 19:14 By
Categories: PHP Tags: ,
Documentation browser

DevDocs combines multiple API documentations in a fast, organized, and searchable interface.

http://devdocs.io/node/net

Posted on March 20, 2014, 19:12 By
Categories: dev Tags: , , ,
Tutorial – Learn nodeJs

http://nodeschool.io/#learn-you-node

Posted on March 20, 2014, 19:10 By
Categories: JavaScript Tags: , ,
node-webkit

https://github.com/rogerwang/node-webkit

Posted on March 20, 2014, 19:10 By
Categories: dev Tags: , , ,
Mithril MVC Javascript framework

http://lhorie.github.io/mithril/index.html

SpinKit – Cool css spinners by Tobias Shalin

http://tobiasahlin.com/spinkit/

Good resource for loaders or spinners made in css3 using transitions.