Hi so It's been a while since I last updated this blog, I recently got a mail from a developer urging me to keep writing tutorials so I decided to keep that up. However it should be noted that, the frequent update might not be as consistent as before due to office works and personal life. So to cut the long story short this is what I have been up to in the past few months.

 

Angular Framework

I decided to get off my high-horses and embrace the fact that other JavaScript frameworks besides Dojotoolkit, after getting a lot of push from a friend (Larry), I gave it a shot and frankly I actually didn't like it at first but now am beginning to see the appeal in Angular. its quite easy to create an application and get down to business, however it's also easy to mess things up, How so ? Mixing controllers with DOM logics and not following best practices. However it should be noted that Angular 2.0 is in the pipelines and it's way better and more JavaScript like. I also gave Backbone, Can.JS a try well Backbone was a bit difficult to grasp Can.js was superb except i didn't like the fact that I couldn't load an external Mustache template if you know how please do comment and let me know.

 

Ditching WordPress

Am sure by now you know that I practically have no love for Wordpress anymore, after inheritting a lot of projects with a crap codebase, I felt the need to leave the platform for something more flexible, and modular & also a platform that doesn't make a developer's life hell. Currently am working with a Content Management Framework called Processwire and i must admit, while not perfect its alot enjoyable than Wordpress and actually easy for users to manage without prior experience. Developers would appreciate the ease of templating and the concept of a Data Driven framework.

 

 

TypeScript , Dojotoolkit 2.0 , Angular 2.0

By now you should have come across TypeScript (TS), well if you don't know TypeScript ; its a strict super-set of JavaScript (JS) which brings the power of static typing and Class based object oriented programming to JavaScript. So you may ask what's makes TypeScript special ? well we have CoffeeScript, but TypeScript doesn't require a different syntax unlike CoffeeScript, infact every JavaScript code is a valid Typescript code. However TS enhances JavaScript by offering Type annontations,Classes,Interfaces and Modules. This is something I have playing with and I have to admit its something I intend to adopt as it also compiles to ES5 and ES6.  Both the Dojotoolkit 2.0 and Angular 2.0 are adopting the TypeScript language to write against ES6 for their new releases.  Here is a sample code of what TypeScript looks like

class Student {
    fullname : string;
    constructor(public firstname, public middleinitial, public lastname) {
        this.fullname = firstname + " " + middleinitial + " " + lastname;
    }
}

interface Person {
    firstname: string;
    lastname: string;
}

function greeter(person : Person) {
    return "Hello, " + person.firstname + " " + person.lastname;
}

 

Python and Raspberry Pi

I have currently taken an interest with the Raspberry Pi thingy, I must admit, I still practically have no clue of what kind of application I should be creating with it. But its quite fun you can get more information at CCHub; and the class is been led by the one and only Desiree Craig. The fun part is that it's an opportunity for me to use Python for something fun as all my Python uses are either maintenance of logs or running tasks. 

img_20150314_133321.631x0-is.jpg

 

 

Yii 2.0

Yii 2.0 is out nothing more to say, we now have support for namespaces, Dependency Injection and other cool stuffs, what we really need is a Yii 2.0 CMF , however Craft exist but it's not open-source, EasyiiCMS seems like the only option available for now. 

So let the fun start also if you have any fun technology I should be looking at please do let me know......as long as it's not wordpress.