By Will on January 28th, 2011 | PHP | 2 Comments »
Any IDE worth using provides code completion suggestions as you type. For example, this is what Netbeans suggests when you type “wp_” inside a WordPress project. The problem with dynamically typed languages like PHP is that it can be difficult for the IDE to provide intelligent suggestions for variables that have been defined in the global scope. It’s possible to help your IDE be a little smarter by providing it with hints about the types of objects.
[More]
By Will on March 14th, 2010 | Linux | 3 Comments »
I’ve been trying out NetBean’s “PHP Application from Remote Server” feature this weekend. The idea is that when you save a file, it uploads that file to a remote server where it can be run.
The problem I ran into is that when NetBeans uploads that file and overwrites the old version, the permissions on the file change. I did some searching and it sounds like NetBeans doesn’t set permissions on the file, which means it just takes the server default. This doesn’t make much sense (should keep permissions of previous file) and for me it meant that the permissions were set so low that I couldn’t run the PHP scripts I was uploading.
[More]