Skip to main content

233 posts tagged with "PHP"

View All Tags

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
Business Analyst Digital Sales

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

Creating JSONP(adding) responses with Silex

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 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:

Workshop Tactical DDD & Hexagonal Architecture

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

We are glad to be able to host two interesting workshops in our Mannheim office in May. Our friends Ross Tuck and Matthias Noback will come over to deliver their trainings on "Tactical DDD" and "Hexagonal Architecture". Tickets for both trainings can be bought on Eventbrite.

Defining Phing Tasks in PSR-0 style

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

Before anybody complains: I know that "as of 2014-10-21 PSR-0 has been marked as deprecated. PSR-4 is now recommended as an alternative." - Anyway I still think this little gem makes sense to be shared because a lot of people are probably not aware of it. I recently found out by accident that it is possible pass a task name in PSR-0 style to the "taskdef" task. In the old days you had to use the Java-like dot-style notation like this and also define the classpath to make sure the class could be loaded correctly:

PHP UK 2015 conference

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

Vom 19.02.2015 bis zum 20.02.2015 findet in London die PHP UK 2015 Konferenz statt. Die Veranstaltung wird in diesem Jahr zum 10. Mal in Folge ausgerichtet. Ich freue mich als Sprecher dabei sein zu können und meinem Vortrag "The NoSQL Store everyone ignores: PostgreSQL" präsentieren zu dürfen.