A web developer's blog. PHP, MySQL, CakePHP, Zend Framework, Wordpress, Code Igniter, Django, Python, CSS, Javascript, jQuery, Knockout.js, and other web development topics.

Monthly Archives: April 2008

Yahoo Mail Error :(

Right now, I can’t open my Yahoo Mail I get this error. A page refresh didn’t fix it.

Posted in General | Tagged | 1 Comment

SVN: Revert to a previous revision after a wrong update

Let’s say for example you accidentally ran “svn update” and your working copy got the updates that it shouldn’t have — unfinished patches, etc. What you should do is check the logs using: svn log | more Look for the … Continue reading

Posted in General | Tagged | 6 Comments

Zend_View Helper Tutorial

Zend DevZone has a new article up. What is a View Helper? A View Helper is simply a class that follows particular naming conventions, When attached to a view object, you can call the helper as if it were a … Continue reading

Posted in General | Tagged , , , | Leave a comment

Mixing PHP Variables with Javascript (Zend Framework and jQuery)

Sometimes, I “mix” PHP variables with Javascript. For example, I have something like this: function deletenote(notes_id) { if(!confirm("Delete note? You will not be able to undo this action.")) return false;   $.post("< ?=$this->baseUrl?>/notes/deletenote",{ skeedl_notes_id: notes_id }, function(data){ $(’#notes_id’+data).fadeOut(); }); } … Continue reading

Posted in General | Tagged , , , | 7 Comments

Zend Framework Blog Application Example / Tutorial

This is useful to those who are trying to kick start a Zend Framework application. Starting any new application is like walking into a shop and being dazzled by the displays. You want everything but finally realise you only have … Continue reading

Posted in General | Tagged , | 4 Comments

OmniTI PHP Ninja

For those who don’t know, OmniTI is looking for a PHP Developer. I applied for the position a few days ago, then got an email for an interview. I had no intentions in looking for another job yet but I … Continue reading

Posted in General | Leave a comment

MAMP and VMWare Fusion with WindowsXP: http://localhost:8888 access impossible?

I have been trying to figure out how to setup my VMware Fusion so that it will be able to access http://localhost:8888 on my Mac. I have editted: c:WINDOWSsystem32driversetchosts to something like this: 192.168.2.2 localhost But still it won’t resolve … Continue reading

Posted in General | Tagged , , , | 9 Comments

My Google App Engine Application

I just got this in my email: Hello, Thanks for signing up to try Google App Engine! Your account has been activated, so you can begin building applications! To start creating applications with Google App Engine, simply follow this link … Continue reading

Posted in General | Tagged , , | 4 Comments

A good syntax highlighting scheme.

I am very picky when it comes to the syntax highlighting I use in my IDE while working. Right now I am using something like the Blackboard theme found in http://pastie.textmate.org/ but after reading Slashdot, I found this: Zenburn and … Continue reading

Posted in General | Tagged , , , , | 2 Comments

Javascript Super Mario in 14kb Code

Here’s an experiment in keepings things small and confined to one Javascript file. There are no external image files or anything, everything is rendered with Javascript using either canvas elements or old fashioned div-making tactics (for IE). The sprites are … Continue reading

Posted in General | Tagged , , | Leave a comment