Re: Whats the best idea to keep DB under version control or under sync with server?

2008-10-31 Thread joelmoss
Take a look at this guys: http://code.google.com/p/cakephp-migrations/ On Oct 31, 12:42 am, Abhimanyu Grover [EMAIL PROTECTED] wrote: I posted a small tutorial on same: http://www.gigapromoters.com/blog/2008/10/30/how-to-keep-your-databas... Hoping it will help others. On Oct 30, 5:36 

Re: Is migrations support planned for Cake?

2008-05-21 Thread joelmoss
On May 21, 1:25 am, Gwoo [EMAIL PROTECTED] wrote: Now all someone has to do is cake schema run update and they have all the latest changes. If a new developer comes into the picture then they can create. If you want to see the difference between two schemas you can do a dry run through the

Re: Is migrations support planned for Cake?

2008-05-20 Thread joelmoss
To me there seem to be 3 possible orders: C-E-D, C-D-E, E-C-D. Then in that edge case, you simply modify either migrations themselves, or the timestamp, so that the order is correct. One of the best things about Migrations, is that they are fully incremental, and each one can be rolled back

Re: Is migrations support planned for Cake?

2008-05-19 Thread joelmoss
Well guys, I really found your comments very interesting, and both of you raised valid points.t I don't think I will comment on the Schema vs Migrations debate too much, other than to say that Cake's Schema shell is different to Migrations, but they are still there to achieve the same purpose;

Re: Is migrations support planned for Cake?

2008-05-18 Thread joelmoss
Cake currently has a migrations-like schema shell, but it only allows you to create tables. You cannot make changes to existing tables, and cannot roll back your changes. There is an unofficial Migrations shell available at http://code.google.com/p/cakephp-migrations/, which is a full DB

Re: get/put/delete/post HTTP requests in CakePHP 1.2

2007-11-12 Thread joelmoss
Take a look at Router::mapResources On Nov 11, 11:37 pm, Aaron Shafovaloff [EMAIL PROTECTED] wrote: I saw the following athttp://www.xml.com/pub/a/2007/01/24/whats-new-in-prototype-15.html --- The standard XMLHttpRequest object at the heart of Ajax functionality only allows HTTP GET

Re: Newbie Introduction Book ... reviews anyone?

2007-07-31 Thread joelmoss
I had a quick look at your book. It looks great. But I do have one issue with it. I know it is an early draft, but it seems to me that more than half of the content is all about how to setup PHP and MSQL, etc. There are a million and one books about this, so if I were you I would concentrate on

Re: Interactive Console screencast

2007-05-26 Thread joelmoss
Very nice Chris! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For

Re: Cake Developer Urgently Needed

2007-05-04 Thread joelmoss
Trev, I just emailed you regarding this request. I hope you got that. Regards, Joel Moss http://joelmoss.info On May 3, 10:51 am, ImageNation [EMAIL PROTECTED] wrote: Looking for a Cake PHP developer to take over an existing Cake App and add new features on an ongoing basis. The current

Specifying plugin in a route?

2007-02-21 Thread joelmoss
I have a plugin setup in 1.2, yet it seems that routes don't seem to recognise them. Router::connect('/switchboard/blog/1', array('plugin' = 'switchboard', 'controller' = 'blog', 'action' = 'read')); The above code tries to access the blog_controller within the app's controllers and not within

Cake Migrations available

2006-05-14 Thread joelmoss
Saw a post on this a while ago (http://groups.google.com/group/cake-php/browse_thread/thread/74e4ed3cf4dee595/b1368e18be1aaee3) and I had the idea, so I did it. Cake Migrations in CakePHP's answer to RoR Migrations. Take a look at http://joelmoss.info/2006/05/15/cake-migrations/ for info and the