Archive for the 'Optimization' Category

25
Jan

Tips to Prevent Google Sandboxing (filtering)

google_sandbox.GIFAnd I don’t mean girls in Google-brand bikinis on the beach, duking it out. Mmmm…

What I’m talking about here is the terrible, almighty Google, deciding that your site needs to stand in the corner for a 1-month timeout because it wasn’t playing well with others. Yes. That’s right. The Google Sandbox and Google filtering that everyone secretly fears, but publicly dismisses. How do I know about this? Because I recently fell victim to it. Although it was completely my fault, I’ve since learned from it, and now I’m sharing my tips here, so that hopefully other developers and SEOs can learn from my mistake of building inbound links too quickly. Continue reading ‘Tips to Prevent Google Sandboxing (filtering)’

24
Sep

Top 10 Texter Uses for Code Monkeys

Texter for writing codeI’m sure all of our readers can type 70+ words a minute (right?), so no one really cares to make writing any quicker. That is, except for the fact that we’re a bunch of lazy bastards that hate data-entry tedium and loathe trying to grab snippets out of our clunky IDE’s. Even Zend’s snippet IDE leaves a lot to be desired - and it’s one of the best we’ve come across. To help alleviate the problem, LifeHacker’s got a tool called Texter built on the Autohotkey framework.

What Texter does is fairly simple - you write a “function” in Texter that keeps an eye out for when you type certain keywords. If you type a keyword then hit the trigger key, your keyword gets replaced with the function you wrote in Texter. It’s fun, really!
Continue reading ‘Top 10 Texter Uses for Code Monkeys’

23
Sep

Functional Testing in PHP using Selenium IDE

Functional Tests in PHP With Selenium IDEWhat a title, eh? Yeah, it might sound a bit like buzzword after buzzword, but functional testing in PHP is a serious topic - sometimes it means the difference between spending fifteen minutes doing a bug check and several hours depending on the size of your site. Now, it’s important to mention that functional tests are different from unit tests - we’re not going to be testing individual functions or methods, but rather we’re going to be making sure that the site works the way our users expect it to from their point of view. This means that we can check our site for error messages and verify that they pop up when they should, and stay hidden when they shouldn’t.
Continue reading ‘Functional Testing in PHP using Selenium IDE’

20
Sep

Conditional Assignment Efficiency in PHP

I got curious and did a little experiment today, which was by no means thoroughly scientific, but it did show some interesting results. I started by considering one of my favorite operators - the ternary conditional operator, and wondering if it was as efficient as the alternative if-else statement.

What I ended up setting up was a cute little piece of code that looks like this:
Continue reading ‘Conditional Assignment Efficiency in PHP’




Close
E-mail It