Blog

Programming insights to Storytelling, it's all here.

Ibrahim Diallo

Page - 20

2015

August

My love and hate for WordPress

My love and hate for WordPress

WordPress runs the web. The majority of websites currently run it and no one complains. When I see people struggling to start a website, I suggest they use WordPress. It takes the problem of figuring out what programming language, framework, subject, or theme out of the equations. All they have to do is click a few buttons and they have a powerful blogging engine at there fingertips.

Designing for text

Designing for text

I am no designer. At least I can't say that I have an artistic eye but there are a few fundamentals, not necessarily reserved to designers, that we should all know when designing web pages. Not many years ago, the maintainers of websites were called webmasters. To me it sounded like old wizards, comical yet very knowledgeable in their field.

Using Apache Server Variables for Environment Settings

Using Apache Server Variables for Environment Settings

Programmers like to set up their machines their own way. Sometimes restricting their environment to strict corporate policies will directly affect their creativity. Luckily with Apache and PHP it is possible to create unique profiles for each developer to allow them to configure their environment in the way they want without affecting others.

How to use error handling in PHP

How to use error handling in PHP

There is nothing worse than having errors you don't see. There are mistakes we make and IDEs do their best to notify us as we type. Things like syntax errors, missing semi colons, wrong data type assignment. These things happen and the compiler throws an error before we launch our application. The worse kind of errors are those that only happen in specific conditions.

If you don't write it down, you will forget

If you don't write it down, you will forget

When I'm in a restaurant, there is nothing that scares me more than a waiter that doesn't write down my order. Especially when we come in as a group. What if they forget? What if they charge me for something I didn't order? For that matter what if I say I didn't order anything and they just brought me food? There is no paper trail to prove otherwise. The stakes are just too high to make a mistake.

Popups are dead, long live popups

Popups are dead, long live popups

We did it, we killed popups. Most of the time I don't even notice that some websites are trying to load a popup because the browser automatically blocks them. For those that manage to circumvent the browsers rules, I have an extra popup add-on that blocks them too. We should celebrate. We won the war!

My code doesn't work

My code doesn't work

One of the biggest problem we have in programming is: It doesn't work. When you talk to a mechanic, telling him "My car doesn't work" will not help him find a solution. You may say, the car doesn't turn on, I have a flat, the fog lights are always off. Not only this tells the mechanic that your car doesn't work, but it also gives him an idea of what is not working, helping him find a solution faster.

Dear developer, leave scrolling alone

Dear developer, leave scrolling alone

Developers are so nice. They want to do all the work for you so you don't have to lift a finger. If you look at modern video games, you press a single button and the character runs, jumps, shoots all the enemies while in the air, tackles the big boss, saves the world and is home in time for supper. Then when you press 2 buttons together... you get the point.

July

Do I have to use external CSS and JS files?

Do I have to use external CSS and JS files?

Every article you read will tell you to use external files for your CSS and JavaScript. Is this rule warranted for? Are there any advantages to it? Is it considered best practice? Yes, yes, yes. There are quite some good reasons to do so, but when we leave the world of web pages and enter applications, the rule is not so strict.

Master your skills

Master your skills

You can't keep up with the new things that technology brings to the table. Everyday, there are new things that come out and despite how much you try to ignore them, the whole world is taking them seriously. When there is a new JavaScript framework that comes out, you ignore it. Rightfully so. But every job post you look at requires a minimum 3 years experience using it.

JS Tip of the day

Not all arrays are arrays

You modified the Array object to include some of your custom methods. You create an array, you use the method and get an error: Array.prototype.loop = function…

Photography