Skip to main content

Posts

Unpractical use cases - Iterators

** Unpractical use cases - Iterators What is an iterator? Array Iterator Objects An Array Iterator is an object, that represents a specific iteration over some specific Array instance object. There is not a named constructor for Array Iterator objects. Instead, Array iterator objects are created by calling certain methods of Array instance objects. ref : cma-262 Instead of trying to understand it, lets just look at a example Here we have an object that contains an array, to use the iterator on the array you can simply do something like To use the iterator to move to the next item in the array you call .next() console.log(theArrayIterator.next()) // x 5 { value: 'all', done: false } { value: 'the', done: false } { value: 'array', done: false } { value: 'values', done: false } { value: undefined, done: true } As you can see, each time you call next, it prints the value of the next item in the array, and once it reaches the end of t...

Zuma Counts as much as he can count.

The list of people , objects and even situations that would be better suited for running South Africa at this point than Jacob Zuma. Starting with the obvious, anyone that can read any number written down on paper. Let’s get it out of the way, you, me, your friend from Knysna, that aunt you only see every second year on some family gathering, and just about everyone else in South Africa, this obviously always excludes that what even is he Julius Malema and ffs dude Nicholis Louw. A dead AA battery. Those blue ice things all our parents have in the back of the freezer. A pencil marking on a very unimportant paper. The waiting time between breaths. The advertisements on youtube if you still don’t use adblock. The letters T and L whenever they meet somewhere in a gently read sentence.. That joke about the guy that walks into a bar and says ouch, well not the guy in the joke specifically , but more the joke itself, I believe that in essence it would rule SA in a more lite...

Cordova, db tips and where to start

Cordova is used to build hybrid applications, it uses a set of build tools to create native language output(apache ant, xcode, java etc.).  Code once, deploy to many . There are so many articles out there on both sides of the argument, should I build native or hybrid. Going native  will have the drawback of having to almost completely rewrite for each OS, the obvious result will be longer dev time. Hybrid  will have loads more configuration and tweaking but can cut dev time by a lot. For an absolute beginner I would suggest heading over to  telerik  and checking out there online hybrid builder. It's really easy to use, has a ton of great working examples and comes with a 30 day evaluation with full access to all of their services. They also support and promote the new  nativescript language  which I think is something to consider, still young but looks amazing. Plus their VisualStudio App builder plugin is really something special, and ...

Application development environment setup

Setup for application development right click and save images for bigger version Installing Java JAVA JDK Download In my experience I have found that starting your enviroment setup with java is best. In the system variables I made a new variable called it JAVA_HOME , and I set the value to: C:\Program Files\Java\jdk1.7.0_79 . After that, I edited PATH , which is also in the system variables and I added : ;%JAVA_HOME%\bin . In command prompt enter javac -version, if you see a return message javac 1.7.0_79 or something similar you can continue, I cant tell you how important it is to get this right, just know that things will go wrong at unexpected times. Installing Android SDK ANDROID SDK download List item In the system variables I made a new variable called it ANDROID_HOME , and I set the value to: C:\Program Files (x86)\Android\android-sdk . After that, I edited path , which is also in the system variables and I added : %ANDROID_HOME/tools% %ANDROID_HOM...

Review : The new Pushtape Installation profile for Drupal 7 - Yay or nay?

AuthorRank: Google Have you heard of Pushtape?  Don't worry me neither.  But after this blog post we will definitely be sure if its a Drupal yay or nay.  The reason I chose this Installation profile as the theme for my post is simple, to make sites for bands in your community is an easy way to get your foot in the web development scene if you are just starting out.  All band sites basically works in the same way which means that you can just duplicate your site structure every time. OK so here we go. Pushtape is a new Installation Profile for Drupal 7 that focuses on musicians, it comes supplied with a discography framework, you can very easily post new events like shows, there is a custom photo gallery where you can upload multiple photos as a set and of course a nice looking news type blog for all those quick updates. The installation was really easy, clean, very well customized and quick. I use WebMatr...

The real interview, part 2 of : A very in detail interview with Creative Director of JustWeb about why he loves using Drupal.

AuthorRank: Google (There is a first part to this whole thing if you click here) Dum Dum Dum... Welcome back, after much persuasion and 10 bucks we are back for the real thing. S: Thank you for being here Heinrich. H: No worries. S:  How long have you been developing sites with Drupal? H: Well Drupal not so long, maybe started a year ago. S: Why did you decide to change from coding to a CMS? H: Well to be honest, anyone not using a Content Managing System these days are either a hacker or just      has way to much time on there hands.  The HTML wiz kids are matched everyday all the way by people      using systems like Drupal, It's free, very powerful and has an amazing community backing it. S:  What would you say is the best place to start when trying out Drupal for the first time? H: You know when you get a new cellphone and its already charged?  But it's only charged a little bit?  If     y...

A very in detail interview with Creative Director of JustWeb about why he loves using Drupal.

Why Heinrich loves Drupal? AuthorRank: Google Well I am very bored at the moment and coming up with ideas after a 10 hour lets get some work done session this is what I have, so deal with it, or like it, or share it, G + it, tweet, hoot, blame, shift or whatever ells the kids do these days. S:  So dude why do you like Drupal so much?  (Heinrich is ignoring me).  Jo!: H: It's less mission to create a website. S: Well I guess that concludes our post for today. To be continued... (click here for the real interview)

SEO and Online Marketing made easy thanks to McGraw!

Probably the best SEO and online marketing book for beginners.   Buy this book now! About 6 months ago I was wondering around aimlessly on the internet trying to figure out how to start my own online marketing campaign, it was really hard finding the right articles to read, to my frustration they all said the same thing over and over again, I was a total noob, and the masters of SEO wasn't going to be much help.  It was hard getting all these new terms, what they meant and how one was suppose to use them, looking at google analytics made my eyes hurt and webmaster tools almost made me pass out,  I had no idea what keywords and key phrases were, what country meta tags came from and if we were destined to be friends at all. Then out of the blue an Angel( www.amazon.com ) saw my suffering and handed me a book that would open my eyes forever. I promise you, that this book will help even the most computer illiterate person out there get to a point ...

My top 10 Drupal Modules to make Drupal Super Awesome

Browsing Drupal.org for modules and testing them out is probably one of my favorite work past times. (I hope my boss doesn't read this post) Drupal in itself is an amazing CMS but because of the amazing community backing it up makes Drupal by far the best CMS out there. Here is my top 10 favorite modules of the month countdown list: 10.  Tribune - Download This little module came out of no where and brightened my day as I was working on a new website for a client.  It's like a live posting chat room that you can add into a view, when fully installed this module can show user location, flag posts, you can even show user avatars and post smileys like this :P.  It was no hassle to install and I can't wait to use this on a project. 9.  Vote up/down -  Download If you are looking to make a user vote site like the famous www.reddit.com site, this is your module.  On its own its a pretty standard, yet powerful voting system you can impl...

Installing and setting-up Drupal with Omega(960 grid)

This guide will show you how to install and setup a omega profile in Drupal Step 1 Install needed modules http://drupal.org/project/omega_tools http://drupal.org/project/omega http://ftp.drupal.org/files/projects/ctools-7.x-1.2.zip Enable modules Enable the modules "Omega Tools" + "ctools" Step 2  Goto Appearance -> Create new Omega subtheme. Enter a name and leave the other fields on the default. Select Enabled and Default theme in the last step Step 3 If you visit your homepage it should now look like this.

How Webmatrix make Drupal users life a little easier everyday...Zero to Drupal in 10 min.

how-webmatrix-make-drupal-users-lif How to install Drupal with Webmatrix2. (Please note that this tutorial is for Windows users only.) I am going to show you the easiest way to get the latest Drupal core up and running in no time on your windows machine so without further adieu, lets get to what you came here to do. Links list: Download Webmatrix 2 . Download Drupal Core Start Step 1 Webmatrix is a free web development tool, I have been using it for a while now and I can say it’s amazing, it basically installs itself, all you need to do is follow the very easy installation instructions you don't need to tick anything or change anything, just click next until its fully downloaded and fully installed on your system. Step 2 Next we need to get the Drupal core from http://drupal.org/project/drupal , this is the official site, always get the latest release. When its done, open the file and navigate to the file named drupal-7.18, extract it to your site files, in wind...