As some of you know, I have a coworker who was upgraded to “Senior Developer” 2 years ago… As senior developer you might think he knows how to code and solve problems. Not in this case as you will see soon. This is what happens when the wrong persons get power over other people. And no, even if I was a senior dev myself for years and not in my current company, I don’t want to be a senior there but we have devs that fit better for this position. As a senior dev beside good coding skills you are responsible for the team and for the latter thats what I don’t want (at least not in my current company) Continue reading “Coding advice from my coworker (Senior Web-Developer)”
Sometimes I need to create a HTML Email template. The customers sends me a Photoshop file, my task is to create a E-Mail template which can be used in Outlook to send E-Mails.
The customer also tells me to create multiple versions where for example the header is same but the content slightly different, eg. multi language content.
The problem with CSS.
You can’t simply embedd a CSS file (at least not in some email clients) so you need to use inline CSS for almost every HTML tag. For example for the “p” tag (paragraph). Then the customer says he wants the p tag a little bit bigger.. so you open all your HTML files and edit the inline CSS for all your P tags. Thats tedious and unproductive.
Working as developer requires me to work with a lot of files. The Windows Explorer is OK, you get almost everything done. When you want to be more productive, I recommend you to use something better than Windows Explorer.
My app of choice is “Total Commander” (from now on TC). In this article I will show you some of the awesome features I often use in Total Commander.
When you start a php script it will wait until it is done. Lately I and my customers were facing a huge problem where pictures were uploaded to a gallery web app and the problem was in the thumbnail generation.
The thumbnails were generated as someone opened the gallery (frontend). This resulted in long loading page and sometimes strange errors. Sometimes the page didnt load at all because Apache was working heavily on the thumbnails. Even worse was that the gallery was visited by many people simultaneously. The gallery app created 4 thumbnails out of one image in different sizes.
There are better ways to handle this. I could generate the thumbnails in the backend and show the thumbs on the frontend when they were generated. The problem is that I am using Owncloud as the backend and it is a pain the ass to extend Owncloud… but thats another story.
So, how did I manage to get rid of the problem and make the thumbnail generation fast and non blocking?
Currently I am creating a small console application for AceProject. (Github) I never worked with the Symfony CLI Component (CLI = Command Line Interface) but it works like a charm. You can create your own CLI applications in a breeze. And I already tried other php command line frameworks – most of the frameworks were complicated, complicated in the sense of understanding and creating simple CLI apps. Continue reading “How to add a Logo to Symfony Console Component”
In this post I will write about a time tracker called Hubstaff.
When we work, we need to track the time. (Unless you work on your own projects). I tried many time tracking apps in the last few months and stayed with Hubstaff.
If you used to track time you know that it is not always fun to do. Some webapps are complicated or some lack features. It takes some time to track your time. Hubstaff is a little bit different, here is why: Continue reading “Hubstaff – Timetracking not only for developers”
Not only as a web developer but everyone needs to search for files. So how do you search for files quickly on windows? You just press on that windows logo and start to type yourdesired file.
And thats OK for most cases, but the problem is that the search is sometimes slow and it wont find files you really need. In my case the windows search even stopped working all together. I tried to fix it but the only one solution was to reinstall windows.
Here I will show you 2 of my favorite tools for findind files on your windows. Continue reading “Best Windows Desktop Search Tool”
Today was the first day after vacation. One coworker left and another came. We also got a new boss (again, now we have 4 bosses). That boss forces us to have a meeting every Monday morning. We never had any meetings as we managed the information using E-Mail.
And as I expected: That meeting was a waste of time. One hour of sitting around, hearing some crap we already knew. We have also to say what we will do this week. This sounds like SCRUM, which might be useful – but the problem is the whole company sits on the table, not just developers. Continue reading “First day after vacation”
As a web developer you need to work with databases a lot. There are many databases and one of the common relational databases is mysql. You can use only a shell by typing “mysql” and start to code… But thats so oldschool. As a webdev you should use a better client for managing databases.
In this article I will show you my experiences with mysql clients for windows. But these will also work on linux with wine. (all tested by myself!). So, which is the best MySQL client for windows / linux? Continue reading “Best MySQL client”