Browse by Tags

All Tags » PHP

Using derivated Exception classes for better error handling

One defect that I’ve been finding once and again in the past doing .NET projects is a bad exception handling strategy. Too many times I’ve seen code that just places a generic try { … } catch(Exception ex) { … } code block to capture errors. And of course...
Posted by Kartones | 4 comment(s)

Working with PHP, six months later

Now that I’m back from a small vacations, time to get back to blogging too! A bit more than six months ago, I changed once again where I work , but this time it was not only a new company, but a new world, with PHP as the flagship. Six months later, I...

Your worst enemy: Ignorance

This post will surely appear as a flame for some people, but I can’t avoid talking about it now that I work in a very heterogeneous workplace and I’m part of the smaller slice of Windows users. It started being funny, being asked things like “but Microsoft...

Arrays in PHP, or to be precise, Collections in PHP

PHP has some serious structural problems. It’s code is a mess of functions, function names are too similar to the old C functions (“ strstr ”, “ strlen ”, etcetera), but by far, the most confusing element of PHP (at first) are its Arrays . For any developer...
Posted by Kartones | 1 comment(s)

Zero-cost PHP debugging and testing environment

One of the nice things of developing in Linux-oriented scenarios (although I use Windows }:) is having free tools that sometimes shine for their quality. Leaving apart the decision of the PHP IDE (there are a great range of both free and commercial ones...
Posted by Kartones | with no comments
Filed under: , , , , , ,

The problem of untyped languages: PHP empty() function

There are a few programming languages that work nicely without typing (for example, Javascript or PHP). They have their advantages, but I just can’t put them on the same level of a strongly typed language like C# or Java, and here is an example that any...
Posted by Kartones | with no comments

Learning PHP + a small WIP PHP5 Manual

One of the interviews I’m currently doing to search for a new job is for developing with PHP/MySQL/Linux. While this could seem shocking at first (just looking at the tag cloud on the right of the blog anyone can see I’m a .NET developer), it’s not the...
Posted by Kartones | with no comments

Getting started with ASP.NET MVC and LINQ

I wanted to wait until I had a more finished version of the website, but I must express my satisfaction of how good ASP.NET MVC and LINQ are to speed up web development. I'm building a website for my new project, The Dark Portal . The Dark Portal...

Why is PHP so successful?

I'm now hosting and maintaining a PHPBB forum boards for some friends, and each day I'm more angry with PHP. It's widely used, mostly in "open-source environments", because as it runs under Linux and supports MySQL,it's very common to see free hosting...
Posted by Kartones | 2 comment(s)
Filed under: , , ,