Commentaires récents

In i18n routes with CakePHP 1.3
pierre_martin wrote: Hi everyone and thank you for the feedbacks! Since this article was published, we improved...
In i18n routes with CakePHP 1.3
Mateusz Mucha wrote: Thank you!
In i18n routes with CakePHP 1.3
Piotr wrote: Wow! That's great and usefull. Ways easier than with old methods. I added some code to update...
In i18n routes with CakePHP 1.3
Lee wrote: Once you set $url['lang'] when empty is doesn't update $this-params with the default...
In CakePHP Migrations plugin: easily version and deploy whole applications
Remigijus wrote: When I am trying to run 'migration generate' for first time, my migration file 'up' has value...

Catégories

Il n'y a aucune catégorie à afficher

RSS Feed

Mots de sagesse par Pierre Martin

  • 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 is also available there: Sample Migrations Application - Github (it is a CakePHP 1.3 application). Ready? Bake a new application and add the migrations plugin First of all, we need to bake a new CakePHP application. Easy enough to do using cake bake, then configure your database (an empty database is sufficient for now) and check that the home page is all green! If you have not set up your environment to use the CakePHP command line yet, take so...

    [ Read More | 0 Comments ]