Software Engineering in WordPress, PHP, and Backend Development

Author: Tom (Page 392 of 427)

Configure Coda 2 To Connect MySQL

If you’ve recently installed or upgraded to Coda 2, are using MAMP to manage your development stack, and are looking to use the built-in MySQL frontend, here’s what you need to do in order to connect to MySQL in Coda 2.

Coda 2 and MAMP MySQL Socket

Setting up a connection between your project and its database is easy. It really only takes a single step though it assumes you know the username and password to your local database (which I can’t imagine why you wouldn’t know it :).

Continue reading

WordPress Ajax API Example

This plugin is no longer maintained; however, you can still view the source on GitHub.

As a developer, one of the challenges of working with WordPress as a platform is that finding information isn’t always easy. Sure, the Codex is a fantastic resource, but it lacks in a few areas.

On the other hand, it’s relatively easy to google for examples on how to do almost anything you’d like with WordPress, but these examples can often be of poor quality – just because something works doesn’t mean that it’s done correctly.

As I begin to shift my focus to talking more about WordPress development, I hope to be able to share a few thoughts on how to achieve certain tasks using the best practices with the WordPress API.

In recent weeks, I’ve been doing a fair amount of work using the WordPress Ajax API, so that seemed like a good place to start.

Continue reading

PHPUnit, WordPress, and MAMP

I’ve begun using PHPUnit, WordPress, and MAMP to introduce unit testing to my theme and plugin development. Obviously, this requires an installation of PHPUnit and the WordPress testing framework. Because I use MAMP for local development, I had to do some additional customization to get the frameworks setup.

Here are the steps necessary to install PHPUnit and the WordPress Tests on Mac OS X using MAMP:

Continue reading

My Career, Software Engineering, and WordPress

When I graduated school, I had one objective in mind: obtain a development position where I could apply software engineering principles in the context of web application development.

Then I made the jump to self-employment at the end of 2010 and was dividing my time between two things: serving as lead developer at 8BIT and developing and sites and software for others out of my own business.

Initially, I was doing work ranging anything from vanilla PHP projects, Ruby on Rails projects, some typical client-side projects, and custom JavaScript work.

Achievement Unlocked

As time as passed, I’ve ended up spending more and more time working exclusively with WordPress so much so that I’m currently doing nothing but WordPress-based projects (save for a single Rails application).

Continue reading

http://wp.tutsplus.com/tutorials/creative-coding/data-sanitization-and-validation-with-wordpress/

« Older posts Newer posts »

© 2025 Tom McFarlin

Theme by Anders NorenUp ↑