Skip to main content

Cordova SVG rendering on Android devices

This blog post might be outdated!
This blog post was published more than one year ago and might be outdated!
· One min read
Stephan Hochdörfer
Head of IT Business Operations

Recently we ran into an issue with SVG rendering in an Cordova-based Sencha Touch application. When switching back and forth between views in a TabPanel SVG images got messed up. The problem only appeared on "older" Android devices (<= 4.1.2) and only when the images were embedded via an <img> tag. The solution was simple: Replace every <img> tag with an <div> container and include the SVG image via the CSS property background-image.

Service Workers - a new way of caching for offline web apps

This blog post might be outdated!
This blog post was published more than one year ago and might be outdated!
· 3 min read
Nico Blum
Nico Blum

There's a really new -maybe- cool feature in the Chrome browser since v40. It's called "Service Workers" and is a possibility to run javascript threads which are independent from the web page. Independent means the applications js code does not have to know about the service worker. And the service worker does not block the page cause it's an own thread.

Processing CSV files in a memory efficient way

This blog post might be outdated!
This blog post was published more than one year ago and might be outdated!
· 2 min read
Florian Horn
Florian Horn

A little while ago I had to dive deeper into the performance optimized usage of PHPExcel. Our users are uploading files like Excel or CSV with a lot data to process. Initially we used the PHPEXcel instance without any tuning of the default configuration which lead to heavy memory issues on relativly small files. So I had to avoid reading all file content at ones to the buffer (like file_get_contents() does).

16. Webmontag.Talk beim Webmontag MRN

· One min read
Stephan Hochdörfer
Head of IT Business Operations

Am 04.05.2015 um 19:00 Uhr findet nach einer längeren Pause wieder einmal ein Webmontag.Talk in Mannheim statt. Ich freue mich dabei sein zu dürfen und etwas über "die Kunst Daten zu speichern" zu erzählen. In dem Kurzvortrag werde ich darauf eingehen welche Möglichkeiten es außer den "klassischen" Datenbanken gibt um Daten in Applikationen zu speichern und zu nutzen.

Building a release .apk package with SenchaCmd and Cordova

This blog post might be outdated!
This blog post was published more than one year ago and might be outdated!
· One min read
Stephan Hochdörfer
Head of IT Business Operations

Since it is not really documented how to build a release .apk package with SenchaCmd and Cordova I`d like to share the current workflow I use. First of all we build the native package via SenchaCmd. This results in a production build of the Sencha Touch application wrapped in a debug build of Cordova:

SCSS Coding Standard

This blog post might be outdated!
This blog post was published more than one year ago and might be outdated!
· One min read
Stephan Hochdörfer
Head of IT Business Operations

As I blogged yesterday we created our own coding standard for our Javascript code. In addition to that we were looking for a way to lint SCSS code and found a tool called scss-lint which seems to be the only option out there when it comes to linting scss code. We were not happy with the default settings of scss-lint and came up with our own version which we`d like to share with the world today. Head over to Github and have a look at our cs-scsslint repo. The package can be consumed via npm, the package is called "bitexpert-cs-scsslint".

Javascript Coding Standards

This blog post might be outdated!
This blog post was published more than one year ago and might be outdated!
· 2 min read
Stephan Hochdörfer
Head of IT Business Operations

About two years ago we agreed on dropping our own company-wide code standard (which in fact was none!) in favour of the common standards used in all the programming languages which we use. That's PSR-1 and PSR-2 for PHP projects, the Java Code conventions for our Java projects and the Puppet Language Style Guide for our Puppet cofigurations. For Javascript we were not able to find the one and only standard out there. So once again we had to jump in and create our "own" standard. However, this time we`d like to share it with the world ;)

.gitignore for Sencha projects

This blog post might be outdated!
This blog post was published more than one year ago and might be outdated!
· One min read
Stephan Hochdörfer
Head of IT Business Operations

Long ago I started to globally .gitignore all the things. Recently I ran into a few issues with setting up Sencha projects via SenchaCmd. In my global .gitignore file I have a setting to ignore the vendor folder which perfectly makes sense in a Composer setup. As a side-effect this means that in a Sencha project the folder resources/themes/vendor/ will not be added to the repo. The work-a-round to avoid this is easy and simple. Add the following line to your global .gitignore file: