web dev
Debugging PHP is an increasingly important process for web developers and PHP coders alike. Typically, PHP is used for web applications. And, you will find I almost exclusively deal with such issues on JasonN.com.
Here's a few links to php information.
Gubed PHP is a free Debugger PHP version 4.X and later,
http://gubed.sf.net. XDebug, http://www.xdebug.org is also a free debugger. XDebug has a tutorial. Commercial tools:
PHP has an internal debugger. The debugger functions by connecting to a TCP port for each PHP instance. Various IDEs and editing tools connect to this debugger to print reports.
The news feed with expiration capabilities has finally arrived from the desk of Devin Hedge. Feel free to test this out with Drupal 4.5.x or Civicspace .8.0.3 (or anything else if you're feeling lucky). It has been tested with both. Basically this newsfeed module (mod) allows you to expire news from your databanks. If you pull feeds, you can limit your TTL (time to live) on the feed to a number of hours. So, if you want to expire all content more than 90 days old, you simply set your TTL to 2160 (multiply the hours by the days).
Posted in web dev jasonn's blog | read more | 2 attachments
Submitted by jasonn on March 7, 2005 - 8:42am.
RE: Civicspace 0.8.0.1, based on Drupal.
When adding stories or blog entries, I noticed my default setting was UTC +6:00, not -6:00. Basically, Alabama (Chicago time in Windows :) is set to Central Time. Central time changes from -6:00 to -5:00, based on the season (AKA: Daylight Savings Time - another topic). I mistakenly set my Drupal site time, through the "Settings", to UTC +6:00. I shortly thereafter found it and changed it to UTC -6:00 as it should be. But, when I post new stories or blog entries, it just slapped on +6:00 unless I manually corrected it. This was very frustrating.
Posted in web dev jasonn's blog | read more
Submitted by jasonn on February 22, 2005 - 1:47pm.
Designing Artwork Around the Aspects of Database Site Content
Here are some sites that stick to strict commercial content and “out of the way” art rules.
Many sites rely on client-side Java, scripts, plug-ins and other client-heavy programs to deliver the content and message of the site. This is commonplace with large companies with fat pocketbooks that do not research their true information delivery abilities.
Posted in web dev read more
Submitted by jasonn on February 11, 2005 - 9:35am.
Creating a database in MySQL is a breeze. Once you log into MySQL as root (or a user with "all" permissions), you simply need to type in the following commands (example as if it were "nameofdatabase":
mysql> create database nameofdatabase;
Adding a user via permission seems to work most often for me. The command works as following, if the user is "user", the server is "localhost" (meaning you are using the same server for the database), and the password is "password".
Posted in web dev jasonn's blog | read more
Submitted by jasonn on February 7, 2005 - 10:17pm.
As I try to find new and improved methods of managing my content, hopefully the new website system will make life easier on readers and me.
Posted in web dev jasonn's blog
Submitted by jasonn on February 1, 2005 - 8:17pm.