This little challenge took me too much time to not letting people know the solution I came up with. So when I am forced to work with PHP and want to process XML files, I prefer using PHP’s SimpleXML interface, because I found out that I need the least number of LOC for querying particular nodes within a document. It also provides methods for manipulating the DOM tree, but it appears that the possibilities are highly limited and in particular there is no method for creating CDATA sections. Here is the result of my Stackoverflow.com and try&error session.
After I had published a tutorial about how to request RESTful web services in a native Android App, I have been asked by some of you about how to also send data to web services. That is why I wanted to quickly demonstrate how you would achieve sending POST requests containing parameters to a web server.
Since Microsoft released its Microsoft Kinect Software Development Kit (SDK) in June 2011, it is possible for everyone to implement gesture based interaction interfaces with the help of the Kinect sensor. Because I believe that this kind of new forms of human computer interaction (HCI) is emerging in the future also in the field of enterprise applications, together with a friend I started implementing a simple client which recognizes basic body positions. My friend was laughing when I created a test class as the first step and he claimed that my beloved Test Driven Development (TDD) approach would not work this time. This article shall show how easy it is to identify the user’s body position with the Microsoft Kinect and proof that my friend was wrong.
A couple of years ago I was responsible for implementing the internationalization (i18n) of a company’s website which was built on the Drupal Content Management System (CMS), version 5 at this time. Now that I had this task again in a different project, I realized that i18n with Drupal is still after years pretty much a pain and that you need to read through many documents in order to get your stuff conveniently running. Helping me and others in future, I noted down what I needed to do for the current Drupal 7 release.
There are plenty of tutorials for Android App development out there. Picking the right one is already the first challenge. Though I am actually not an iOS developer, I believe that the quickest way to get started is to read articles which compare Android with iOS development, in such a way Clay Allsopp did. Having quite some experience with JavaServer Faces (JSF), I realized that there are both quite a lot of similarities and differences between the concepts of JSF and Android programming. Since it would have helped me when I started with my first mobile App, I wanted to share my findings in this post. Note that this is not a tutorial, but just an overview of concepts and technical terms one should know when planning to develop the first Android App.
For many people peer code reviews are the best thing to ensure quality when developing software. It produces a lot of documents and hence, that is what I think, project leaders love it because they have proven quality assurance activities. Let me explain why I believe that classic code inspections became unnecessary nowadays, how they can lead to inefficiency and which alternatives you have.