#6434: [PATCH] 3 Enhancements to model baking - 1. Option to bake only testcase/fixture or only model, 2. Option to import data in baked fixture, 3. Moved "Baking fixture"-status to before baking processing (so that one sees what the shell is busy with) ---------------------------+------------------------------------------------ Reporter: motin | Type: Enhancement Status: new | Priority: Medium Milestone: 1.3.x.x | Component: Shells Version: 1.2 Final | Severity: Normal Keywords: | Php_version: n/a Cake_version: 1.2.2.8120 | ---------------------------+------------------------------------------------ Inspired from the Fixturize shell, I believe that a more general approach is to enhance the bake scripts directly.[[BR]] [[BR]] Enhancements:[[BR]] 1. Option to bake only testcase/fixture or only model[[BR]] 2. Option to import data in baked fixture[[BR]] 3. Moved "Baking fixture"-status to before baking processing (so that one sees what the shell is busy with)[[BR]] [[BR]]
New features described in the output of cake bake model help with this patch: {{{ --------------------------------------------------------------- Usage: cake bake model <arg1> [model-only|testcase-only [import]] --------------------------------------------------------------- Commands: model bakes model in interactive mode. model <name> bakes model file with no associations or validation model <name> model-only bakes model file as per above but not test case nor fixture model <name> testcase-only bakes test case and fixture but no model file model <name> testcase-only import bakes test case and fixture with existing table records but no model file }}} (Interactive mode left unchanged) -- Ticket URL: <https://trac.cakephp.org/ticket/6434> 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 -~----------~----~----~----~------~----~------~--~---