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: August 2007

Zend Framework Database Cheatsheet

For those of you who are a lot like me – those who can’t live without cheatsheets, I have made some sort of cheatsheet for the Zend Framework Database-thingies (Zend_Db, etc.). It has notes on how to insert a row, … Continue reading

3 Comments

jQuery AJAX in Zend Framework

I have posted a sample code on my wiki on how to submit variables to an action controller. The sample code contains a niffty jQuery plugin – the jQuery Calendar. Click here for the tutorial. Update (07-08-2008): For those who … Continue reading

6 Comments

PHP + AJAX Security Issues

I have been using PHP with jQuery so this one caught my attention. It’s easy to get caught up in the dynamic potential of Ajax. But with innumerable possibilities also comes increased risk. If security isn’t a major concern, it … Continue reading

Leave a comment

PHP now returns correct status code for error pages

Someone just found out that PHP now sends out the proper HTTP headers when an error occurs on a page. Let’s say that you have a parse error on your code, the header sent will be something like 500 – … Continue reading

Leave a comment

YSlow! Tool for Web Developers from Yahoo

YSlow analyzes web pages and tells you why they’re slow based on the rules for high performance web sites. YSlow is a Firefox add-on integrated with the popular Firebug web development tool. YSlow gives you: Performance report card HTTP/HTML summary … Continue reading

Leave a comment

Five Tools for PHP Developers

I just found this at digg. Pretty interesting – but Zend Framework should be there I know it is not a tool, but who cares. A snippet: After working on several large scale PHP projects, and writing a lot of … Continue reading

Leave a comment

Zend Framework Tutorial: A different Access Control List implemented

I have implemented a different Access Control List using Zend Framework. It does not use Zend_Acl – I had a hard time implementing it. Too hard and too confusing And there are no real-world examples on how to use it. … Continue reading

Leave a comment

Zend Framework Tutorial: Creating your own Action Helper (fixed)

I have written a simple tutorial on how you can create your own Action Helper using the Modular Directory Structure. To create your own action helper in your own namespace using the Modular Directory Structure, do the following: 1. Add … Continue reading

Leave a comment

Connect to JD Edwards using PHP, Apache2 and unixODBC

A few weeks back, I was required to connect to JDE using PHP. After a few days of research, I was able to do so using unixODBC. Click here for the article.

Leave a comment

Adding / Modifying a table row using javascript

I have written a short and simple example on how you can add a row using JavaScript. The row added will have an Id, onMouseOver and onMouseOut functions, and a class name assigned into it. Click here for the article. … Continue reading

Leave a comment