I am a back-end web developer with a passion for open source technologies. I have been a PHP developer for many years, and also have experience with Java and Spring Framework. I currently work full time as a lead developer. Apart from that, I also spend time on making online courses, so be sure to check those out!
Posts by Bo Andersen
Performing case insensitive searches for things such as attribute values can be quite a pain with XPath. There is a well known workaround available, but it is not so pretty and clean like one would hope for. PHP developers are also limited by the fact that PHP does not implement XPath 2.0. This article shows an additional approach that helps keep XPath queries simpler.
Did you know that you can use expressions together with the switch statement in PHP? Many people are not aware of this. It may not be a trick that you actually need, but it just may come in handy one day.
It can quickly become repetitive to start and stop all of your development tools; many people do not want to have a web server or database running all of the time, for instance. This article shows you an easy way of simplifying this, so you can run a single command from the Terminal to start or stop your development tools.
Do you need more control of your paginator? Luckily, it is not mandatory to have a data source adapter fetch the data to paginate on. Rather, this can be done independently of the paginator by using the Null adapter.
Creating full URLs within view scripts can come in handy in many situations, such as when sending out e-mails where one wants to link back to one’s website. Luckily, Zend Framework 2 provides two useful view helpers to accomplish this task.
If you are in a situation where you need a stored procedure to return several result sets and have to access these from within Zend Framework 2, then this article will probably be useful; it shows you a way of accomplishing just this, but unfortunately not without compromises.
This article shows how to use the URL view helper in Zend Framework 2 to build URLs to child routes. It furthermore discusses a quite useful feature of the view helper in order to reuse matched route parameters when building an URL.
Creating a custom block in concrete5 is easy, but is often perceived as being difficult due to the many small steps involved. This article gives you a quick walkthrough of how to create your own simple contact block in concrete5.
If you wish to use a secure connection when sending e-mails via an SMTP server in Zend Framework 2, then this article shows you how to do this. The official documentation comes to no avail, but luckily the solution is extremely simple.