RSS Feed

Articles

i18n routes with CakePHP 1.3

August 05 2010 | Pierre Martin |

Internationalizing a CakePHP application can be tricky when it comes to deal with i18n urls. We will see in this article how the Custom route classes introduced by CakePHP 1.3 could be used to add the current language to your urls in a few lines of code.

Requirements

This article will not go too deep in internationalizing an application as many resources already exist about it. We suppose the following:

Your application defines the curren...[ Read More | 0 Comments ]

Feature rich, customizable comments plugin

March 10 2010 | Graham Weldon |

Freshly baked by the friendly team here at CakeDC is the Comments plugin.

For those of you too impatient to read on for a description, grab the goods here. And checkout the Sample Application.

The comments plugin allows you to enable comments on any controller for any existing model in you application. Built in a manner to allow complete separation from your application, enabling and including the comments functionality is almost too easy.

...

|

[ Read More ]

Quick start with Migrations plugin

March 01 2010 | Pierre Martin |

In a previous post I gave an overview of the CakePHP Migrations plugin, what it does and why you should use it in your applications. This article will explain how to use it in a practical way. We are going to bake a simple blog application recipe application and see how migrations are integrated in the development process.

Since we recently moved all our open source projects on http://cakedc.github.com/, this sample application source code i...

[ Read More | 0 Comments ]

CakePHP Migrations plugin: easily version and deploy whole applications

February 05 2010 | Pierre Martin |

This article is a quick introduction to the Migrations plugin, open sourced a few weeks ago by our company. You will see how simple it is to use the plugin and what you could do with it. I hope this article will show you the benefits of using migrations in your CakePHP applications and make you give it a try right after the reading!

Here is a one-sentence description of the plugin: the Migrations plugin allows developers to easily version and...

| | |

[ Read More | 0 Comments ]

File uploading, file storage and CakePHPs MediaView class

January 25 2010 | Florian Krämer |

This article includes how to upload and store files, because I've seen a lot of discussion about that too, but if you're just interested in how to use the MediaView class scroll down.

Handling file uploads in CakePHP

First let's start with the required form, to create a file upload form all you have to do is this:

 

The "type" in the options of Form::create() takes post, get or file. To configure the form for file uploading it has to be ...

| | | | | |

[ Read More | 0 Comments ]

Felix Geisendörfer - Javascript and Git

July 19 2009 | Graham Weldon |

Felix gave a demonstration of the production level javascript separation and management that the team at Debuggable use in order to minimise the amount of Javasript that needs to be sent to the client for any specific page view, and to ensure the logic is separated into the pages that it is used for. This creates a better management system for Javascript than using a single file.

In addition to this separation, Felix gave an overview of commo...

[ Read More | 1 Comment ]

Marius Wilms - The CakePHP Media Plugin

July 18 2009 | Graham Weldon |

If Marius had more than an hour to talk about the Media Plugin, he most certainly would have taken it. To go over the features and functionality of the entire plugin would have been many hours as there is a lot there. A brief touch on the features provided by the plugin was discussed, with some examples.

Requirements are in the high end, but considering the state of PHP and the upcoming version of CakePHP, developers should be moving forward ...

[ Read More | 1 Comment ]

Robert Scherer - Multi-Tenancy in CakePHP

July 18 2009 | Graham Weldon |

Robert's talk was unscheduled, but ended up being a great case study for an insurance sales white-labelling solution that his company had undertaken and completed. Robert talked about multi-tenancy, and what this means for a web application, and how it relates to SaaS architecture.

Challenges to be solved included:

Differences in functionality Workflow differences Separation and security of data Branding and visual differences Auth a...[ Read More | 0 Comments ]

Neil Crookes - Bake Master Class

July 14 2009 | Graham Weldon |

After an introduction to bake, and what this shell means within CakePHP, Neil went on to explain and show examples of the code generation templates and capabilities provided by default.

The bake shell is broken down into tasks and a main shell. These tasks separate out the logic required for various main task subsets including controller, model and view baking, amongst others. The main bake shell is found in the CakePHP directory cake/console...

[ Read More | 0 Comments ]

Felix Geisendörfer - Recipies for successful CakePHP projects

July 13 2009 | Graham Weldon |

Felix liked to Get Things Done™. And through experience and what became an interactive idea and experience sharing productivity session, he explained mechanisms and methods that he has used to achieve the best results for projects in the shortest time possible.

Communication. While this means your team should be in contact, and that those contact points should be quality communication, it doesn't mean that instant communication is a requireme...

[ Read More | 1 Comment ]

Joël Perras - Demystifying Webservices in CakePHP

July 13 2009 | Graham Weldon |

Joël's presentation on Web Services and CakePHP identifies important and interesting points that really demystify both implementation of datasources, and what web services mean for developers trying to take advantages of their offerings.

A Web Service is a defined interface. The interface is made known and public, however the implementation may not be known (and its not really important). The developer should be interested in the data supply ...

[ Read More | 2 Comments ]

Garret Woodworth - CakePHP then, now and tomorrow (Opening keynote)

July 13 2009 | Graham Weldon |

Beginning with an overview of the CakePHP project, changes and evolution of direction and development team members, Garret provided a great overview of where the project stands, and how it has grown to be as successful as it has today.

Garret gave a great description of the types of participation that are seen in open source teams, and these are relevant to CakePHP. He also described the attributes that make a good team member in such project...

[ Read More | 1 Comment ]

<< previous | 1 | 2 | 3