Tag Archives: Code Smell

Resign Patterns – Ailments of Unsuitable Project-Disoriented Software

Resign Patterns – Ailments of Unsuitable Project-Disoriented Software; by Michael Duell

Aside | Posted on by | Tagged , , , , | Leave a comment

PHP: Curly Brackets Substring Access

I just have another lighter PHP specific Code Smell: Curly Brackets Substring Access. If you’re coding PHP since a longer time you might not only know but also have used curly brackets for index-/char-based substring access.

Posted in Code Smells, Hacking The Core, PHP Code Smells | Tagged , , , , , , | 2 Comments

CSS Selector Code Smell

3-2-1: Grab your QC environment and get ready for CSS today because it just does not makes sense to write a CSS Selector like these: Example 1: A bogus selector. Example 2: Can make sense The first example is pretty … Continue reading

Posted in Hacking The Core, Hakre's Tips | Tagged , , , , , , , | Leave a comment

WPDB include problems in wordpress 3.0

From time to time my brain remembers me that there is a major bug within wordpress in case of the re-instantiation of the wordpress database class. When a replacement class is in use, the original WPDB one will get re-created … Continue reading

Posted in Hacking The Core | Tagged , , , , , , | 4 Comments

Relative URL (#2) HTML/ XHTML Code Smell

Just yesterday I had a post about the dot in the beginning of relative URLs. Today I have a small addition to that: Two dot path segments in an URL/URI. It’s some more detailed thing related to the history and … Continue reading

Posted in Code Smells, HTML/CSS Code Smells | Tagged , , , , , , , , | Leave a comment

Relative URL HTML/ XHTML Code Smell

Another one for the HTML/ XHTML Code Smells: If you’re using realtive URLs inside your documents (which is pretty valid and can save you some bandwidth as well as it can save some hassles for mirroring a website) you should … Continue reading

Posted in Code Smells, Hakre's Tips, HTML/CSS Code Smells, Patched, Pressed | Tagged , , , , , , , , | 1 Comment

Script and Style HTML/ XHTML Code Smells

Remember the time? Grabbing the copy of the HTML 2 RFC, reading through within the afternoon and you started to understand where this all might lead to after some time.  Seeing 3.2, 4.1 and XHTML 1.0 passing this finally ended up … Continue reading

Posted in Code Smells, Hacking The Core, Hakre's Tips, HTML/CSS Code Smells | Tagged , , , , , , , , , , | 2 Comments