Feed on
Posts
Comments

Category Archive for 'development'

I’m Just Git’ting It

Everyone and their mom have been using Git and GitHub for a while, but I’m just breaking down and using it… I have been slow to adopt because SVN worked for me fine (until I had to merge branches) and I don’t like to pay for storage space.  But I continue to be impressed by [...]

Read Full Post »

if you add a primary key which would turn an “insert” into an “update” within beforeSave() you’ll need to set $this->__exists = true;… the call to $this->exists(); happens in model.php before the callback to beforeSave().

Read Full Post »

I’m a bit proud of myself on this one… I setup a simple, but clean and configurable, MySQL Master/Slave Replication Monitoring PHP Script:
http://code.google.com/p/php-mysql-master-slave-replication-monitor/ (docs)
It’s Open Source and free, I welcome comments, suggestions, and questions.
I think this will be quite useful for anyone who is setting up a pair of MySQL servers as master/slave and want [...]

Read Full Post »

Darkauth For The Win!

I’ve been working with CakePHP for a few years now and am very happy with it.  I’ve been working with the 1.2 version for a few months (since it went stable) and playing with the Auth and ACL core components.
I’ve decided that ACL is too complicated for most setups, and Auth is fine, but not [...]

Read Full Post »

I noticed that the data for my saves were not populating with the current date/time as they should, when calling the model->create() function, without a parameter, and then the model->save() function.

$this->ModelName->create();
$data = $this->ModelName->save($dataWithoutCreatedModifiedUpdated);
$data['ModelName']['created']==”0000-00-00 00:00:00″

Read Full Post »

So I’ve just fought a battle w/ SVN merge and thought I’d post the solution in case others might find it…
Scenario
Our stable code is in trunk svn://svn.domain.tld/repository/trunk
I’ve got a branch of trunk svn://svn.domain.tld/repository/branches/dev
Changes have been made to my branch and changes have been made to trunk, since I branched.
I’m ready to merge my branch back [...]

Read Full Post »

A very funny post for the programming nerds out there:
If programming languages were religions…
By amz – Monday, December 15, 2008 at 14:52
PHP would be Cafeteria Christianity – Fights with Java for the web market. It draws a few concepts from C and Java, but only those that it really likes. Maybe it’s not as coherent [...]

Read Full Post »

Mantis To Basecamp To-do(s)

I just created a handy little script to create todos in basecamp for unresovled tickets in mantis.
You can see the open sourced code/project: http://code.google.com/p/mantis2basecamp-todo/.
This is something we found useful, if you use both tools, you might find it useful as well.

Read Full Post »

Older Posts »

Bad Behavior has blocked 225 access attempts in the last 7 days.