[CakePHP : The Rapid Development Framework for PHP] #6485: Option to specify db config when baking controllers
#6485: Option to specify db config when baking controllers ---+ Reporter: heathnail | Type: Enhancement Status: new | Priority: Medium Milestone: 1.3.x.x | Component: Shells Version: 1.2 Final | Severity: Normal Keywords: connection bake controller | Php_version: n/a Cake_version: | ---+ It would be nice to specify what db config bake will look to when baking controllers. I think a commandline argument would be nice (similar to cake schema): {{{ -connection config set db config config. uses 'default' if none is specified }}} Currently (1.2.3.8166) you cannot easily bake a controller whose model/table isn't in the default database config. Attaching patch as it seems an easy add... -- Ticket URL: https://trac.cakephp.org/ticket/6485 CakePHP : The Rapid Development Framework for PHP https://trac.cakephp.org/ Cake is a rapid development framework for PHP which uses commonly known design patterns like ActiveRecord, Association Data Mapping, Front Controller and MVC. Our primary goal is to provide a structured framework that enables PHP users at all levels to rapidly develop robust web applications, without any loss to flexibility. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups tickets cakephp group. To post to this group, send email to tickets-cakephp@googlegroups.com To unsubscribe from this group, send email to tickets-cakephp+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/tickets-cakephp?hl=en -~--~~~~--~~--~--~---
Re: [CakePHP : The Rapid Development Framework for PHP] #6485: Option to specify db config when baking controllers
#6485: Option to specify db config when baking controllers ---+ Reporter: heathnail | Owner: Type: Enhancement |Status: closed Priority: Medium | Milestone: 1.3.x.x Component: Shells | Version: 1.2 Final Severity: Normal |Resolution: fixed Keywords: connection bake controller | Php_version: n/a Cake_version: | ---+ Changes (by mark_story): * status: new = closed * resolution: = fixed Comment: Thank you for the patch :). bake has been rebuilt for the most part for the next release, and this feature has already been implemented Checkout the 1.3-bake branch at http://thechaw.com/cakephp for implementation details. -- Ticket URL: https://trac.cakephp.org/ticket/6485#comment:2 CakePHP : The Rapid Development Framework for PHP https://trac.cakephp.org/ Cake is a rapid development framework for PHP which uses commonly known design patterns like ActiveRecord, Association Data Mapping, Front Controller and MVC. Our primary goal is to provide a structured framework that enables PHP users at all levels to rapidly develop robust web applications, without any loss to flexibility. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups tickets cakephp group. To post to this group, send email to tickets-cakephp@googlegroups.com To unsubscribe from this group, send email to tickets-cakephp+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/tickets-cakephp?hl=en -~--~~~~--~~--~--~---