Sitemaps

When authoring a blog, or any website for that matter there is the importance of getting indexed by the crawlers of major search engines. The crawlers of search engines will come around to your site every now and then, and index a page or two, before moving on to the next site. The crawler in most cases will not index the whole site each time, and it is easy to understand why, as they have a whole Internet to crawl.

Read More

The this keyword in javaScript.

Every javaScript developer that runs a blog ends up writing at least one post on the this keyword. The operator that is the this keyword it is just something that all of us get to sooner or later it would seem, so I thought I should get this one out of the way quick, so I can get to writing about more obscure and uncovered aspects of the JavaScript language.

There is all ready a great many posts on this subject of the this keyword, and in many respects this is just yet another post on the same things that are well covered elsewhere. Still if I am going to make yet another one, I should take the time to try to do it right. Also there is a lot to cover when it comes to the this keyword and all the possible values it can be depending on the situation, so maybe this is one of those topics where although there are a great number of posts on the subject there are few whole manage to to the topic justice.

A lot of developers hate the this keyword because of its dynamic nature, even going so far as to avoid using it all together by taking a more functional approach to things rather than developing classes.

Read More

Node.js powered image processing thanks to Jimp.

As of late I have touched base on how to go about setting up a gallery for a website, something that can be simple, or not so simple depending on how much thought you put into it. Lots of thoughts come to mind with this such as how to go about storing the images when it comes to the file system structure. Should they be stored as part of the sites structure itself? Should they be stored in a database, and accessed by way of an api or sorts? Should everything be developed and maintained by me, or should I look into what services are available for such a thing?

Read More

Nodejs hello world examples

I am sure I am not alone when I say that I love node.js, and javaScript. The ability to create complex full stack web applications with a single uniform scripting language for both the front, and back end is really changing things for the better if you ask me.

However there is much more to that also, nodejs can also be used for all kinds of general programing tasks. For example I like making all kinds of useful and interesting command line interface tools with nodejs that ca be used to create files, walk over a file system structure, and so much more I do not event know where to begin.

Read More