You are herephp

php


Drupal python background server

By dgtlmoon - Posted on 17 July 2008

Heres some code attached I wrote last year but havent published it on drupal.org just yet, it's my python background server for drupal actions, or put simply "Asynchronous python daemon for Drupal interaction"

Just perfect for managing actions that require long, cpu or filesystem intensive operations such as encrypting, building a file, or even interfacing with other hardware/usb/bluetooth etc etc

This is born out of the need to have a

Which PHP devel environment to use on AMD64 ?

By dgtlmoon - Posted on 23 April 2008

That's it, I quit, I'm throwing Zend IDE in the bin, I almost considered paying for it after trialing it, until I moved to AMD64 platform, I'm sure the IDE itself is not to blame, but rather Java's stupid problems adopting 64bit architecture (can someone remind me what the point of java was in the first place?)

Yes, I've tried Zend IDE 5.5.1 for x64 and it still crashed or got other errors - no I dont care about playing with the JRE libraries, I'm payed to develop PHP web-apps not mess around with Java.

minor glitch installing mysql 5 on lenny

By dgtlmoon - Posted on 14 April 2008

Looks like the mysql system tables were missing on my fresh install of Debian Lenny on my Acer Aspire 5520 laptop.

just run mysql_install_db , after this you'll need to get your mysql debian credentials back in line, these are usually stored under /etc/mysql/ (this is so mysqladmin etc will work again)


/usr/bin/mysql_install_db
WARNING: The host 'nine' could not be looked up with resolveip.
This probably means that your libc libraries are not 100 % compatible
with this binary MySQL version. The MySQL daemon, mysqld, should work

Cheap and easy Drupal MySQL query log analyses and profiling

By dgtlmoon - Posted on 06 February 2008

One thing that will definately improve in Drupal 6.x and onwards is the performance relating to database queries, It is not uncommon for a site which has the usual formula of a few views generated blocks, translation module and a couple of other miscellaneous views entries to suddenly push your site into the 200 to 600 database queries just to generate *one page*.

Fortunately Drupal is continously improving with its caching methods and data abastraction models so it doesnt always have to hit the DB for something simple, or get it to return multiple items in one hit, but i digress.

An Upgrade to the Moveable Type (MT) / Typepad drupal import module

By dgtlmoon - Posted on 26 October 2007

Just finished a fair upgrade of Drupal's import typepad (MT etc) module, you will need my patch from this page and apply it to existing module when you download it.

    Fixes
  • Basic CCK integration
  • Correct comment ordering
  • Correct node ordering
  • Correct node threading, updated to proper drupal setup
  • Update comment statistics

Drupal calendar views module - overriding the calendar link path (undocumented!)

By dgtlmoon - Posted on 19 April 2007

Heres a nice piece of undocumented functionality, took a few minutes of running thru the drupal Calendar views module source to figure it out. If you have a views calendar, maybe as a block, your view has the "block" type enabled and all is working great, except the dates in the calendar link to "/calendar".

How to bind a community to a website using social networking

By dgtlmoon - Posted on 04 February 2007

Ok a quick social-networking primer for the newbs.

Social networking is something the internet implements all too easy, incidently websites are great at fostering communities, there are several excellent content-management frameworks for easily constructing this kinda of cooking pot for this to happen in.

I think that more generalised communities on the web such as myspace will fall off in popularity a little bit as they are at the high-peak of the "shiny interesting new" curve as my niche-focused and internet savvy patrons jump on board to join social networks that are of benefit to them.

drupal 5 is lovely!

By dgtlmoon - Posted on 19 November 2006

Just setup drupal 5.0-beta1 on a devel virtualhost http://drupal5.dgtlmoon.com/ take a look it is very swish, the installer took just seconds to install, no clunking around with database snapshots.
The menu redesign and layout is excellent very intuitive.
Codebase feels pretty quick too, forms are looking great.
Yes, dgtlmoon does host drupal 4.x and 5.0 just ask!

Drupal document workflow for NGO's to smooth out bureaucracy

By dgtlmoon - Posted on 31 October 2006

Something obvious struck me today while going over a few ideas with a client for refactoring their current site (which is largely a collection of static html pages), this organisation maintains their public interface via this website, the company itself is an NGO and benefits a certain east-timorese cause

Trendwatcher is back!

By dgtlmoon - Posted on 24 October 2006

After a month of not-updating i've finally got around to fixing up trendwatcher, the free service that graphs the google-search result numbers for any term/phrase/keyword set, trendwatcher has been around since 2004, some interesting items it has captured the growth of -

  • Youtube - just 39,000 hits were returned in google if you searched for "youtube" in March 2005, however now it returns just over 175 million, not bad for 14 months growth!
  • Blogging phenomenon - just 8.3 million hits in July 2004, now over 4.1 billion, not bad!