Tag Archives: Quality Control

phptags – tidies up tags in PHP scripts and guards whitespace

Just stumbled over another PHP related tool today, which I think is worth the link: phptags is a simple commandline tool to tidy up open and close tags in PHP scripts. It can rewrite close tags, and strip leading or … Continue reading

Posted in Hakre's Tips, Linked, PHP Development, PHP Development, Pressed, Tools | Tagged , , , , , , , | Leave a comment

phpRack

phpRack is a light framework for automation of integration tests. By integration tests software module run in the production environment to validate configuration and applications setup. Read On: phpRack Documentation

Posted in PHP Development, Pressed, Tools | Tagged , , , , , | 2 Comments

HTTP/HTML: Missing HTTP-Body/HTML on Redirect

This bothers me often: unfriendly redirects.

Posted in Code Smells, Hacking The Core, Surviving the Internet | Tagged , , , , , , , | Leave a comment

WordPress Outage Feedback

WP.COM was down the second time this year at the end of last week. Well that’s certainly not a news any longer and good so, the dust of buzz has lowered a bit. What’s interesting about the outage for me … Continue reading

Posted in Hacking The Core, Pressed, Reports, Surviving the Internet | Tagged , , , , , , , , , , , , , , , , | 1 Comment

Tools: WebSVN

I ran over this by need and I must say in the end I’m pretty confident with: WebSVN is a PHP script/webapp that publishes one or multiple Subversion-Repositories as HTML on the fly.

Posted in Hakre's Tips, PHP Development, Tools | Tagged , , , , , | Leave a comment

New Trac Report: {37} Needs Unit Tests [UPDATED]

For the upcomming 3.0 Release there are still some tickets open, but it looks like this is getting closer to release. I just stumbled over a new report, that is listing all with the tag needs-unit-tests. The funny thing about … Continue reading

Posted in Hacking The Core, Pressed | Tagged , , , , , , , | 3 Comments

Living With Legacy Code by Rowan Merewood

Rowan Merewood uploaded slides from his PHP Benelux ‘10 Presentation “Living With Legacy Code”. Legacy code is a hard to handle topic, that’s why normally we as developers would like to walk around that.

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

PHP Mess Detector

Another tool for maintaining and control PHP sourcecode is PHPMD – PHP Mess Detector. A spin-off project of PHP Depend: What PHPMD does is: It takes a given PHP source code base and look for several potential problems within that … Continue reading

Posted in Hakre's Tips, PHP Development, Tools | Tagged , , , , , , , | 3 Comments

PHP Code Sniffer, Eclipse and WordPress

Or: Steady progress on WordPress and it’s coding standards and getting things working together Have I said previously that I personally really hate the WordPress coding standard? All these spaces in there. For some coders apparently it makes it easier … Continue reading

Posted in Hacking The Core, PHP Development, Tools | Tagged , , , , , , , , , , , , , , | 7 Comments

Docblock comments and more in code guidelines / standards

In the recent WordPress Coding Standard discussion it was clear that mutliple scenarios are not handeled. While doing more and more WP developmet these days, the list of stuff grows so it’s good to collect and to write them down. … Continue reading

Posted in Pressed | Tagged , , , , , , ,

PHP Open Basedir degrades Security (Bonus)

Some hosters are using the open_basedir restrictions because they think this makes hosting somewhat more secure. Well normally it is not because a hoster in need to enable it often shows that the system is not properly configured in respect … Continue reading

Posted in Pressed | Tagged , , , , , , , | 1 Comment

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

My site’s been hacked – now what?

Just a quickie to link to Google Webmaster Central: My site’s been hacked – now what? which provides some googly tips on how to handle such a situation.

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

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

Helium CSS: JavaScript Library to test your CSS usage

All those CSS lines still in use? I’m asking this to myself from time to time when dealing with older sites that evolved over the years. Going through by hand and then? No way Helium CSS to the rescue!. It … Continue reading

Posted in Hakre's Tips, Tools | Tagged , , , , | Leave a comment

CSS Tests and Cheatsheets

Are you sure that selector is working? Better target your audience of browsers by checking some CSS-Tests first. I compiled a little list as of a start: Cheat Sheet / Overview CSS contents and browser compatibility – Quirksmode compatibility tables. … Continue reading

Posted in Pressed | Tagged , , , , , , , , | Leave a 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

WordPress Coding Standards – How to go on?

I would love to see that we make our developer’s lives easier while doing WordPress. One step to do so is to offer a clear coding styleguide and to apply it on the codebase. Because for most of the code … Continue reading

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

Bugrate

You know the feeling? You join the dev-channel, grab yourself a ticket in trac and start to reproduce. And while reproduceable you analyze what’s the root of the bug.  But while digging through core-code you stumble over multiple areas you think … Continue reading

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