Browsing Category

Software Engineering

Software Engineering

CSS’ z-index misunderstood

The z-index property in CSS behaves differently than I (unconsciously) always thought, I learned today. A web-application I’m working on has two CSS dropdown menu’s, that can sometimes overlap. The main menu should appear above the other menu, so I gave the main menu a higher z-index than the other menu. The container of my main menu also had a z-index, but it’s lower than the z-index of both menu’s so it doesn’t matter right? Well, apparently is does matter, in some cases. Continue Reading

Software Engineering

ZF2: Factories

Services can be registered in the configuration as invokables and accessed anywhere in the application through the service locator. There’s a limitation though. The service is not able to use dependencies that are needed during the creation of the service. To solve this, Zend Framework 2 uses factories. Continue Reading

Software Engineering

Using TweetDeck to connect to other Twitter accounts

Update March 2015: TweetDeck now supports Teams, ‘a simple way to share access to your Twitter accounts without sharing passwords’.

 

Twitter does not by default allow multiple users to access one account. As a solution they offer TweetDeck, however setting things up for the first time can be a bit confusing. Let’s assume we have a business account and we’d like a co-worker to post on behalf of that account, but we do not want to give her credentials to the business account. Here’s how to do it. Continue Reading