Code is read much more often than it is written. Having a consistent and defined coding style helps developers read the code, and it also helps to make a code base feel like one unit, instead of individual pieces written by different authors with their own way of doing things. Having
So you want to write reusable, maintainable and modular Javascript, huh? Good. Here’s a rather extensive “getting started”-guide by yours truly – which means it’s my own preferred way of doing things. It’s written with open-source in mind, but most points can be applied to “private” modules as well.
When I first started writing this post, I considered giving it a title such as “How to set up local PHP development with dynamically configured mass virtual hosting on Apache 2.4”, “Quick and easy prototyping using Liip PHP, Dnsmasq or Proxy Auto Configuration” or even “The Ultimate Guide to Rapid
The web platform is maturing faster and faster, and we’re seeing the work normally done by native desktop applications now often shifting towards web-based applications instead. Features that may appear to have little importance can be really powerful when combined together. A good example of this is URL.createObjectURL(). On it’s own,
Composer changed pretty much everything when it comes to including dependencies in PHP projects. No more SVN externals or copying large library folders into your project. This is really great, but there’s one thing I’ve been struggling to find a smooth process for; developing dependencies for your project. When implementing
Many publishers have developed mobile apps that deliver a better user experience than their mobile websites. Getting people to use your app instead of your mobile website can increase user engagement with your publication. Using different deep linking techniques to link to content within your app is one way of
Keyword of the day: Variety So this is my first time at Javazone. I had high expectations from everything I’ve heard about it, but I did not expect death metal for the opening show at 08:45 https://www.youtube.com/watch?v=qifObSLGHW0
Web Components is a new set of HTML5 definitions that is currently only partially supported in the latest browsers. This article intends only to glance at the technology hoping that you might get a little insight into one of the biggest evolutional steps of future HTML development.
Since Centos7 was released in July, a “nondesktop” distro(other than rhel7 ofc) is using systemd. Like it, hate it or discuss it, systemd is here to stay. As we have been discussing internally how to manage startup of nodejs apps, using monit/pm2/others has been alternatives, and now, imho, systemd is
If you have a node.js project that you want to have tested using Travis-CI, you may run in to a problem if you want to support node <= 0.8. The reason for this is the new caret operator, which was introduced in node-semver. This module is used by npm to
It is becoming more and more challenging to test apps and websites on different devices, with different screen sizes, running different operating systems and with multiple browsers installed. How can you guarantee that your website or app works on every device and on every browser? Nothing beats testing on the
As mentioned in one of the previous blog posts, two of the guys from development @ VG went to The Gathering last week. Together with Prisjakt and Level Up they had a booth there to get in touch with the young and bright geek minds. With them to Vikingskipet they brought