Dev Blog

karriere.at developers blogging about hacking and science

Private methods and fields in JavaScript classes

Ever since classes were introduced in ECMAScript 2015 people wanted to use private methods and fields, which are well-known from programming languages like C++, PHP or Java. There is now a Stage 3 ECMAScript Proposal regarding private methods, getter/setters and fields. We’ll look at the proposed syntax – which is how you’ll (propably) write private methods and fields in future JavaScript versions – and how to achieve the same functionality with current language features.

Read more »

Female Developers – Girls can do it too

People still look a bit confused whenever I tell them that I am working as a developer. Why? I don’t know. Maybe because I’m a girl… But hey, I don’t mind. Even if the path wasn’t always easy I love what I do day by day. Let me tell you how it all came together for me who has never imagined being a developer one day.

Read more »

Changing the color of all links in a Google Slides presentation with a Google Apps Script

We often use Google Slides at karriere.at for our presentations. To comply with our corporate identity we usually change all colors to our brand color, which is a saturated green (#8bc72a). There is one problem, though: The default hyperlink color in Google Slides is a light blue (#01afd1) and can not be changed for all slides, except if you do a lot of clicking and manually format the color of each hyperlink. Luckily, there is Google Apps Script, which allows you to automate Google Slides and other services:

Read more »

A/B Testing using Google Analytics

A/B testing allows you to continually improve your product’s user experience or various sales and marketing KPIs, as long as your goals are well-defined and you have a clear hypothesis. This article does not tell you why you should do A/B testing, but focuses on how to track the test and analyze its result using JavaScript and Google Analytics.

Read more »

About the interoperability of ISO 8601 dates in PHP and browsers

In today’s modern web applications, communication between frontend (browser) and backend (PHP) often happens via JSON APIs.
Alongside strings, integers and booleans, also dates have to be transferred between the client and the server.

Read more »

How to take a high-DPI full page screenshot in Google Chrome

Whether you want to ask for design feedback from your colleagues, inspect changes between versions, use them in your presentation slides or your marketing folders: There are quite a lot of use-cases for screenshots of your web page. This blog post shows how to take high-DPI full page screenshot right inside of Google Chrome.

Read more »