Tag cakephp

Designing a modular application using CakePHP plugins

This article will try to explain how I build a modular application using plugins. I will cover how I implement them and integrate them into the main application.

StarSchema (OLAP) setup for reporting in CakePHP

When you need to gather statistics and reporting data from a large number of transactions (easily >1’000’000 rows) you need to transfer that data over to a reporting-friendly format to keep request times down. One popular database design for this is called a Star Schema. This is a simple re-usable StarSchema setup for CakePHP.

One core, one app, multiple domains for CakePHP

Dealing with configurations for multiple domains (environments) is always a topic for discussion. I wanted to share my way of dealing with this common problem. This will not be right for all, which is the point. If this does not suit you, there are a few links at the bottom.

HTTP basic authentication in CakePHP with users from database

This is a few lines of code and explanations explaining how to get HTTP Auth to check against your normal users table.
Intended audience:
• You want to provide a protected RSS feed.
• You want to provide a protected API.

Migrating a real-world application from CakePHP 1.1 to 1.2

I thought I’d chronicle my work migrating my fist CakePHP application to CakePHP 1.2 (rc3 at the time of writing). The application was originally written for CakePHP 1.0 (= the good old days). It has been updated to work with the latest versions 1.1 but has not really been rewritten much.