« June 2009 | Main | August 2009 »

July 31, 2009

CSS baseline reset

CSS Tools: Reset CSS

Posted by pj at 08:47 PM | Comments (0)

July 29, 2009

Matrix Javascript API

Zed Said Studio | MySource Matrix Javascript API Asset Released in 3.22.2

Posted by pj at 06:58 PM | Comments (0)

July 23, 2009

MSM Developer's Blog

Aleks Bochniak writes...

Posted by pj at 11:42 AM | Comments (0)

July 22, 2009

AJAX / PHP / MySQL Calendar

AJAX Calendar with PHP and mySQL - Blog, Articles and Discussions - OpenCrypt Membership Software

Posted by pj at 11:52 PM | Comments (0)

July 15, 2009

AJAX Term

Index of /software/ajaxterm

Posted by pj at 04:28 PM | Comments (0)

XML schema for site maps

sitemaps.org - Protocol

Posted by pj at 12:15 PM | Comments (0)

jQuery powered inline HTML editing

WYSIWYG Inline Edit with Jeditable

Posted by pj at 09:54 AM | Comments (0)

July 13, 2009

jQuery sprintf and editable areas

Plugins | jQuery Plugins

Posted by pj at 07:37 PM | Comments (0)

Mirroring repositories with svnsync

Mirroring repositories read-only

Posted by pj at 11:06 AM | Comments (0)

July 09, 2009

PEAR CSS Builder

Manual :: features and usage patterns

Posted by pj at 03:55 PM | Comments (0)

PEAR Calendar

Manual :: Calendar

Posted by pj at 03:48 PM | Comments (0)

Installing Spredsheet_Excel_Writer PEAR module

/opt/php/bin/pear install channel://pear.php.net/OLE-1.0.0RC1
/opt/php/bin/pear install channel://pear.php.net/Spreadsheet_Excel_Writer

Posted by pj at 12:01 PM | Comments (0)

July 03, 2009

SQL for clearing out Events webservice transactions

delete from transaction where add_edit_flag = 'edit'; update transaction set asset_id = null, expired_date = null

Posted by pj at 03:18 PM | Comments (0)

jQuery JSON and AJAX for off-domain content

Your jQuery code looks like this:

$.ajax({
	dataType: "jsonp",  
	json: "callback",  
	url: "http://<?=$paths['host']?>/event_registration/how_many_registered.ws.php?event_id=<?=$event['event_id']?>",
	success: function(json){
		if(json["max"] > 0){
			if(json["status"] == "open"){
				document.getElementById("registration_container").innerHTML = document.getElementById("registration_container").innerHTML + " - " + json["spaces"] + " places left.";
				}
			else{ 
				document.getElementById("registration_container").innerHTML = "%lt;a name=\"sorry\" style=\"color: #ee174c\">Sorry. Registration closed. This event is full</a>"; 
				}
			}
		}
	});

The PHP looks like this (where $r == $_REQUEST):

print $r['callback'].'( '.json_encode($reply).' )';

Posted by pj at 10:37 AM | Comments (0)

July 02, 2009

Limonade Framework

Limonade - PHP micro-framework

Posted by pj at 10:06 PM | Comments (0)

jQuery JSON security

funkatron.com : Safely parsing JSON in JavaScript

Posted by pj at 07:18 PM | Comments (0)