Javascript (17)


Creating Components with Angular.js

One of the great things about Angular.js is the ability to create reusable components. Components are created using directives which are only available in Angular. Directives let you invent new HTML syntax, specific to your application. In this tutorial, I’ll walk you through the steps of creating a <contactform> component. The first thing we’ll do […]



A RESTful Client with Angular.js

In my last post, I showed you how how to create a RESTful API in PHP. In this post, I’ll show you how to implement that API using Angular.js. Angular.js is a JavaScript framework developed by Google, designed to make your front-end development as easy as possible. Angular follows the MVC (model-view-controller) pattern of software […]



HTML5 – Canvas Element

The HTML <canvas> element is a new element added in HTML5. It is used to draw graphics, on the fly, usually with Javascript. The <canvas> element is only a container for graphics. You must use a script to actually draw the graphics. The markup is simple: <canvas id=”canvas” width=”800″ height=”400″></canvas> As you can see it’s […]