Viewing entries posted in 2015

Processing CSV files in a memory efficient way

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).

mehr lesen...

Eintrag von Florian Horn am 23.04.2015

16. Webmontag.Talk beim Webmontag MRN

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.

mehr lesen...

Eintrag von Stephan Hochdörfer am 21.04.2015

NoSQL Matters Dublin 2015

Am 04.06.2015 findet in Dublin die NoSQL Matters Konferenz statt. Ich freue mich dabei zu sein und meinen Vortrag "The NoSQL Store everyone ignores: PostgreSQL" präsentieren zu dürfen.

mehr lesen...

Eintrag von Stephan Hochdörfer am 20.04.2015

Building a release .apk package with SenchaCmd and Cordova

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:

mehr lesen...

Eintrag von Stephan Hochdörfer am 16.04.2015

SCSS Coding Standard

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".

mehr lesen...

Eintrag von Stephan Hochdörfer am 08.04.2015

Javascript Coding Standards

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 ;)

mehr lesen...

Eintrag von Stephan Hochdörfer am 07.04.2015

.gitignore for Sencha projects

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:

mehr lesen...

Eintrag von Stephan Hochdörfer am 02.04.2015


Am Mittwoch den 22.04.2015 trifft sich die Java Usergroup Mannheim. Ich wurde eingeladen meinen Vortrag "Microservices: Klein aber oho!" zu präsentieren. Der Vortrag gibt einen Einblick was Microservices wirklich sind, welchen Vorteil sie uns im Alltag bringen und welche Anforderungen Microservices an die Unternehmenskultur stellen.

mehr lesen...

Eintrag von Stephan Hochdörfer am 26.03.2015

Creating JSONP(adding) responses with Silex

Recently I had the need to extend a Silex application to be able to return JSONP responses when needed. I was looking for a generic approach and came across a blog post by Raphael Stolt who solved the problem with a clever "after middleware". This is the code you need to add to your app.php file:

mehr lesen...

Eintrag von Stephan Hochdörfer am 17.03.2015

Environment Dependent Sencha Touch Config

Recently we developed a mobile application based on Sencha Touch and Cordova. The application was communicating with a REST backend. Since I did not want to change the URL to the REST backend manually when deploying the app in the testing or production environment, I was looking for a way to use multiple configuration files based on the active environment.
I was not able to find a decent solution in the Sencha documentation so I tried and contacted the Sencha Support. Kevin from the Sencha Support Team quickly responded with a pretty decent solution:
As it turns out there exists an undocumented feature for Sencha Touch allowing you to define Javascript files which will get included on a per-environment basis during the build. Simply add the following lines to your app.json:

mehr lesen...

Eintrag von Stephan Hochdörfer am 16.03.2015

Diese Webseite verwendet Cookies, um die Bedienfreundlichkeit zu erhöhen. Mit der Nutzung unserer Webseite wird das Einverständnis erklärt, dass wir Cookies verwenden. Weitere Informationen.