The start of my travel, and the days in Bangkok

It has now been little over 1 day, since i left Sweden for my second attempt to backpack/explore around Asia.

My first stop is Bangkok where i’ll be staying for little over 2 days, before traveling to Australia. All my friends who had been in Bangkok before says that, when you are there you should book a couple of nights in a more luxurious hotel. For one reason only, “take the chance, who knows when the next time is”.

The hotel i booked for my 2 night accommodation is Centara Grand at Centralworld

Hotel Room

So this is my room on the 34th floor.
Except for the bed being quite hard and the prices for the minibar items, i can’t find anything to complain about.


Hotel Room view

This image is of the view from my room, i decided on an angle that don’t show the construction yard next to the hotel :P “is showing in the timelaps video”
Can’t say that it’s a pretty view, but it works at the moment


Hotel View


Centara Resturant Zing

Where i had my breakfast on the second day


Centara Resturant Ginger

My first meal in Bangkok at the hotel, i should properly had a meal that is more “Thai/Bangkok” but after all the traveling i decided to be extra lazy and go to the nearest restaruant and take the first thing i see.


Centara Red Sky Bar

Link for more and better pictures of Red Sky Bar


CentralWorld Shopping Complex

On my second day here in Bangkok i found CentralWorld, that is a shopping complex with hundreds of stores, spread out on eight floors.


Timelaps video from the hotel window

It’s not the best view, but i wanted to test my new GoPro camera that i’ll be using during my travel

MongoDB Training

This is a little late post, but between the 21 January and 20 March i got the chance to participate in two of 10gen’s training course’s. MongoDB for DBAs and MongoDB for Developers.

I would like to give my thanks to both Andrew Erlichson “M101P: MongoDB for Developers” and Dwight Merriman “M102: MongoDB for DBAs” for taking the time and effort to host each class, and a special thanks to 10gen for creating these classes and to give us the opportunity to a fast track learning course into the world of MongoDB and not to mention, making it free. Thanks 10gen

Here is the link to 10gen’s education site, i hope at the time you find this. 10gen is still going strong and offers the free online courses

M101P: MongoDB for Developers: Certificate
M102: MongoDB for DBAs: Certificate

Doctrine 2 integrity constraint

If using Doctrine you have probably come across the error message “SQLSTATE[23000]: Integrity constraint violation: 1048 Column ‘column_id’ cannot be null” at least once. This error occurs on doctrine persist when using a entity that both has mappings for a ordinary field and an Doctrine relation field (many-to-one, one-to-many) with the same name.
Read More…

Studying for PHP 5.3 certification

For a long time now i have thought about taking the “Zend PHP 5.3″ certification exam but never got around to it.
Every time i come up with the idea to take the exam, i start with reading the php documentation “php.net” and the study guide that zend provides for free to help developers with their training.

I don’t know how many times i have read the “study guide” but every time i do it, i come across something new that makes me want to read more about it that often results in more knowledge about php in general. Even if you are not planning to take the exam i can really recommend everyone to read the “study guide”.
One more thing that the “study guide” contains is a training version of the certification exam. But a problem i noticed with this was that i started to learn the questions by their designation “1.a, 2.b” and so on. To over come this i created a simple javascript questionnaire to randomize the questions and answers to make it impossible to learn the designations and force me to learn the actual answer.

Unfortunately i can only share the javascript questionnaire and not the content because of copyright permission, i mailed zend to ask them if i could share this but wasn’t allowed.

I will update this post later with the link to javascript questionnaire on github for download

Design Patterns – Part 1

Never been good with “Design Patterns” since it sounds like something made up by IKEA and hence it would be lacking robustness, wont stand by itself and lack several important parts. Anyway since I like to mix my food with showing of my coding brilliance I, during lunch, started up a conversation about a specific code design of mine. I pointed out my use of Factory Pattern and he didn’t really understand me. I tried again by drawing pictures on a napkin but that didn’t help. I started to realize that we didn’t have the same point of view on the concept and he pointed me in a direction of literature and then I got stuck by pure interest. In order to get out of this I will hereby start document my progress.

In part 1, the following patterns are included.

Read More…

 Scroll to top