I’ve been playing with phpDoc and NetBeans a lot lately. I’ve found that having well documented code using the phpDocumentor 2 format makes for a much more efficient coding environment. For one thing, if you have NetBeans setup properly and are using PHP classes that are fully documented, writing a line of code is as [...]
Netbeans, phpDoc, and WordPress
A posting from our private “Tech List”, a list I share with select tech geeks mostly from the days at Cyber Sprocket Labs. We tend to share high end tech tips that only geeks would find interesting. I am posting here for easy reference for “The Tech List” groupies. My Intro To Netbeans [...]
PHP Pretty Print XML
I have been working on MoneyPress : Amazon Edition to get it updated for the latest API release and bring it into the Charleston Software Associates stable of products. Along the way I found myself needing to debug the XML being returned from the Amazon Product API. Here is a quick trick for doing that. [...]
Passing PHP Variables to JavaScript
One of the things we do fairly frequently in our WordPress plugins is pass PHP variables to JavaScript. We use this methodology to send a number of dynamic elements to the JavaScript processor without having to do AJAX or JSONP calls after the script has loaded. Pre-processing and passing variables into JavaScript when the [...]
WordPress Activation Hook
We recently discovered an issue in our commercial plugins related to a change in the WordPress API. It turns out that since WordPress 3.1 was released the register_activation_hook() function is no longer called during a plugin upgrade! This is a significant change in behavior from previous versions that called the WordPress activation hook on every [...]
Hailey Logan and Hailey
The Hailey Logan and Hailey project was brought to us by our creative design partner, Massive Creative Inc. The original website was a pure flash site. With the ever-expanding presence of Apple iPad tablets, it became readily apparent that Flash was no longer going to work for Hailey Logan and Hailey. Hailey Logan [...]
Passing Variables To JavaScript In WordPress
We have touched on several complex subjects when it comes to writing plugins for WordPress that make use of JavaScript. In these articles we discuss built-in scripts, custom static scripts, and dynamic scripts. Dynamic scripts are the scripts that need access to information from the WordPress application environment in order to function properly, such as [...]
WordPress and JavaScript Part 2
This is our second article in a series about working efficiently with JavaScript in WordPress. There are a lot of sites and lots of examples on how to implement JavaScript in WordPress. Many of the articles we came across were incorrect or outdated. What was once the viable, or possibly the only available, method for implementing JavaScript hooks [...]
WordPress and JavaScript Part 1
Introduction For those that were not present, we had a discussion that was about wpCSL and using JavaScript in a WordPress plugin. The part of the discussion that would be of interest to the general public revolved around the use of wp_register_script and wp_enqueue_script and the best practices for implementing scripts. WordPress Plugin Tips & Tricks Mar [...]
PHP + PostgreSQL App Performance Example
One of our projects this week was to improve the performance in a payment processing system for a client. The system performed well under limited data sets, but as the data set grew larger the performance response time increased exponentially. In reviewing the application we found several design flaws that were significantly impacting performance. This [...]
Aidan Mattox
The Aidan Mattox project was brought to us by our creative design partner, Massive Creative Inc. The original website was a pure flash site. With the ever-expanding presence of Apple iPad tablets, it became readily apparent that Flash was no longer going to work for Aidan Mattox. Aidan Mattox serves a sophisticated clientelle [...]
Adrianna Papell
The Adrianna Papell project was brought to us by our creative design partner, Massive Creative Inc. The original website was a pure flash site. With the ever-expanding presence of Apple iPad tablets, it became readily apparent that Flash was no longer going to work for Adrianna Papell. Adrianna Papell serves a sophisticated [...]
Language string failed to load: tls
We recently ran into this error while trying to get a mail service working from within PHP. Our email service provider requires TLS security to validate our account before we are allowed to send mail through their system. This is a good practice as it keeps rogue email traffic from flooding the outbound network [...]




