RSS Feed

Articles

Image saving and processing for high traffic sites

February 03 2012 | Florian Krämer |

I think everyone has already seen code similar like this:

 

What's wrong with this? Let's assume you have an image library behind the Thumb helper. It will process the image supplied in $image. It will try to create the thumbnail, opening a file if it does not already exist at the destination and start processing the image. Once complete, it will write it out to the - as long as process takes - locked file.

The issue with this is the ...

[ Read More | 0 Comments ]

Working with a company that embraces open source

November 16 2011 | Graham Weldon |

 

I've done my fair share of working for closed and "open" companies. I've recently (in July 2011) clocked over two years working here at the Cake Development Corporation, and while attending the Open Source Developers Conference (2011) in Canberra, I have had some time to reflect on my experiences with the company, and my feelings regarding my work here.

Traditionally I have found that companies that claim to be pro-FOSS or open source comp...

[ Read More | 0 Comments ]

Call out to the CakePHP community.

June 30 2011 | Larry E Masters |

 

Everyone knows CakePHP has one of the largest and most loyal communities in the Open Source world, over the last few months we have been witnessing some very disturbing things happening to one of our community members. Many of you may know Jonathan Freeman over at Widget Press he created some tools that have helped many people build applications using CakePHP. He has also been a target of a patent troll suing him for patent infringement.

A...

| |

[ Read More | 2 Comments ]

Tags Plugin release v1.1

October 30 2010 | Graham Weldon |

Following the release an update for our Utils Plugin, we've compiled a few commits that have been finalised on the Tags plugin, bundled it and packaged for release.

The tags plugin, if you've not used it, is a great and simple plugin that allows you to apply tags to any object in your existing application without modification of tables or structure. Its unobtrusive, and awesome.

This latest update takes it to v1.1 with the following changes:...

| | | |

[ Read More | 0 Comments ]

Using the CakeDC Tags plugin for CakePHP

October 29 2010 | Graham Weldon |

This is an introduction to using the CakeDC Tags plugin for CakePHP. I'll take you through a new project creation, and the addition of the Tags plugin to your project for use with tagging a Blog model on your project. You should be able to take the skills learnt here to any other project, and start taking advantage of the Tags plugin for tagging your models appropriately.

Lets get started by baking a new project:

 

Follow the prompts to c...

| | | |

[ Read More | 0 Comments ]

Utils Plugin release v1.1

October 28 2010 | Graham Weldon |

The Utils plugin is our mixed bag of "awesome". If you've not yet checked it out, definitely hop over to github to check it out. It aggregates a lot of useful code and miscellaneous ideas into a single plugin thats portable and dead easy to use in your applications.

Since its release in September, we've made a few changes and updates, and we've bundled a new version for release.

Here's a summary of the commits:

Commit [7bdf401]: Update li...

| | | |

[ Read More | 0 Comments ]

CakeDC Plugins updates, October 2010

October 28 2010 | Graham Weldon |

Its been a little while since we launched our plugins at CakeFest 2010 to the community, and a few things have been changed and updated in that time, so its time to throw out a new release for the community.

We have received a huge response after opening our code to the community, and we're absolutely thrilled to know that you're taking advantage of the experience and effort that CakeDC has put into making these plugins. Getting feedback and ...

| | |

[ Read More | 0 Comments ]

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.

EDIT: This proof of concept has now been improved and a better version of the code below can be found in CakeDC's I18n plugin on Github

Requirements

This article will not go too deep in int...

[ Read More | 1 Comment ]

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 ]

<< previous | 1 | 2 | 3 | 4