Get your metal tested - Part 2: Test AngularJS and TypeScript with Karma and TJAngular

2 months ago in tech

Maybe you remember my posts about how to become a frontend superhero and how to write resilient apps that are covered by unit tests with karma and jasmine. Some time passed by and I learned a lot myself. This is why I want to share this update with you.

The promised land: Promises in angular

6 months ago in tech

In my work in web development, especially when helping out in projects where javascript is heavily involved, I often encountered strange async patterns. This is why I created this little article. It should give you an insight on promises in angularjs and how to use them properly.

Supercharge your npm packages: Creating NPM packages with TypeScript

a year ago in tech

Since you already proved that you are an awesome developer, let's see how you can make the world a better place by shipping your npm modules with TypeScript definitions. This will help your users and developers to write bautiful and maintainable code without worrying about the correct typings.

Angular best practices: How do you create a snappy user experience?

a year ago in tech

The other day I was working on an angular application that has a big emphasis on user experience and needs to deliver a snappy feeling for its users. When I set up my routes, I started to wonder about how one should set up resources, that need to be loaded for the page to be displayed.

Harnessing your superpowers: Creating abstract service classes for angular with TypeScript

a year ago in tech

You have already proven that you and your powers can withstand the harsh tests of a productive build system. The next step on your way to the most renown hero it to learn how to harness your powers and be more effective. In this guide I will show you how to use abstract classes of typescript and create awesome service classes for your angular application.

Get your metal tested: Test AngularJS and TypeScript with Karma and Jasmine

2 years ago in tech

Now that you became a superhero yourself, I invite you to get your metal tested. We all know by now that unit tests are only a half measure, but it is a start to provide the quality you want to ship your products with.

Meet the frontend superhero: AngularJS with TypeScript

2 years ago in tech

When we at appointmed started out designing our application we were evaluating a few options for our technology stack. Find out why we stuck with a combination of Angular and TypeScript and got to love it.

Moving my blog to Node.js

2 years ago in tech

Up to now my blog was running on a self made implementation of the JSR-286 standard. In this post I want to fill you in on how and why I moved to a Node.js implementation and what obstacles I ran into.

How I got into Angular.JS

2 years ago in tech

When I had a few days off over last year’s Christmas holidays, I really caught on to the whole Bitcoin hype that was going on during that time. I spent hours watching the markets and trying to figure out how I could make a few bucks on the side with this interesting thing. Now what has that to do with AngularJS? Now that I finally had the time to write another blog post, I will try to fill you in.

Aloha Editor Barcamp 2013

4 years ago in tech

You are interested in JavaScript, love to code for the web or are just the kind of geek that likes to build pretty applications?

Then I might just have the right event for you: On June 6 and 7, Gentics will be hosting the infamous Aloha Editor Barcamp. Read on to get a short glimpse of what is awaiting you.

Make it shiny again!

4 years ago in tech

Do you know the situation when you?re forced to work with a piece of HTML so "pretty" that it just makes you want to turn around and walk away from your PC? You're staring at the screen thinking of ways of how to clear up the mess but all you come with requires either a team of tamed monkeys or loosing your saninity?

In the next few lines I will show you a nice little trick that will make your mouth water, a way how to polish the old code using Aloha Editor and jQuery.

Having a relationship with Megan Fox

5 years ago in tech

So what is it like to have a relationship with Megan Fox? If this got your attention and you want to know more, then read on and let me take you back to the 2 days in Hamburg, where this and many more interesting topics were covered at the Web Developer Conference.

Aloha Editor and jQueryUI

5 years ago in tech

This week a new Aloha Editor version has been released, containing the long awaited switch from ExtJS to jQueryUI. With this change not only the looks changed but also the distribution size was dramatically reduced and Aloha Editor will now be available under GPLv2. In this article I'll give a short update on how developing plugins changed explaining the metaview plugin that I already talked about in my other Aloha Editor articles.

I know everything about you

5 years ago in tech

Bob was heading to his favorite bar the other day when a man approached him and said: ?Hey Bob, how is Carla doing???Do I know you? And how come you know my wife?? Bob replied. ?It's me. Mike! Our friend Tom told me, you went to London last weekend??The conversation went on for quite some time until bob almost believed that this man was his buddy from high school. What Bob did not know, was that this man did not actually know him. He got all this information from Bob's facebook page. (A little rant about privacy)

Why are you storing your passwords wrong?

5 years ago in tech

The demand for security is getting higher and higher in times where almost everyone with internet access can become a "hacker" of some sort and leaked databases of well known websites and institutions find their way to public file shares. In this article I'm going to describe why and how you should use bcrypt to store your passwords, so that you don't give away all the passwords of your users in case of a stolen database dump.

Sitemaps

5 years ago in tech

It is always good to have google and other search engines index your website.?People will find stuff that you write and products you are seeling event if they don't know your website up to now. There are many ways to make your site as easy to index as possible. You can use a robots.txt wo tell the crawler how to handle your website and you can add all kinds of meta tags to give it additional information about the content, the authors and many other things.

Mobile optimization

5 years ago in tech

In this short post I'll talk about the process of optimizing my blog for mobile devices. I will point out some pitfalls that have to be considered and I will show solutions to some common problems.

Using Aloha Editor

5 years ago in tech

Some of you might have seen the Aloha Editor in action. In this article I'm going to show you how to use the famous Aloha Editor and how to convert a commont textarea to an aloha editable and how to save the contents of it.

Caching MySQL results with memcached

5 years ago in tech

This article shows how to implement resultset caching with PHP and Memcache. I will talk about the design of such a caching systemin an open source shop system (Prestashop 1.4.6.2), about what can be learned from this implementation and what can be improved.The resulting system uses the LRU principle of Memcache and is currently used by applerel, an online clothes shop that I am working on.

Aloha Editor - How to write plugins update

5 years ago in tech

Since I wrote my last article about this topic there have been numerous improvements made to aloha editor that made it one of the most successful newcommers on the web. Some of those changes were made to the way you write plugins and therefore I decided that it is time to give you a little heads up on what has changed and how plugins are written for the aloha editor.

WDC 2012 - Speaker

5 years ago in tech

Seems like the guys from Web Developer Conference picked my topic for their headline and so I'm going to talk on the 17th of september from 5pm to 6pm in Hamburg.

He who seeks shall find

5 years ago in tech

Once upon a time there was a happy customer; he usually spent some afternoons browsing shops before he bought new clothes. One beautiful day a friend came up to him and asked: "Why don't you buy online and save the time for fun stuff?" Curious, our little friend went home and switched on his computer. Eagerly he clicked through his collection of URLs to find a site where he could start his shopping spree. He was quite frustrated when he had spent hours in front of his screen not having seen a single piece of clothing. "Why should I buy online when I cannot even find a single shop?" he said to himself. Luckily he was a programmer and so he decided to code something that would allow him to search the whole internet for stuff he might like and that is how Google was born.

Aloha Editor - The ease of writing plugins

6 years ago in tech

Aloha Editor is the new and shiny web based HTML5 Editor that enables you to edit your content right in place?without the need for iframes or other ugly hacks. It is very easy to use and lets you instantaneously see all?the changes you make. And since we all want a piece of that cake and often need to add custom functionality, I'm going to tell you how to write your first Aloha Editor plug-in.

The invisible captcha

6 years ago in tech

The following article proposes a solution that can fight most spam bots and makes web forms more usable. The time usually spent on guessing obstructed text fragments will be saved, letting the user focus on the real task: filling out your form. This solution is based on two assumptions:

  • That most spam bots don't execute javascript Now that might not always be true, as there is a variety of browser test swarms out there that could be used to fill out forms, including the ones that use javascript functions.

  • That most spam bots fill out all the fields they can find They probably use this method to extend their reach to forms that contain fields that require an input.

You cannot not communicate

6 years ago in tech

...especially when you are attending a barcamp and there are lots of interesting people with even more interesting thoughts. Being at the UXCamp in Berlin?almost felt like being thrown in a pit of creativity and problem solving. New methods, well known best practices as well as a bit of "touch" were thoroughly discussed and presented. Read the article and let me take you on a short trip back to the UXCamp.