[symfony-users] Possible to write a table-less doctrine schema definition?
Hi all, I want to write a plugin that amongst other features contains a Form class. For extensibility reasons I would like it to follow the same way that doctrine model forms are organised having a Base..Form, Plugin..Form and ..Form. So the developer can add custom code inheriting the one from the plugin. However this Form does not relate to a table in the database but is used to access a web service. So I need no model. Is there a way to define a virtual schema definition for this so that symfony doctrine:build --all will generate the appropriate classes in the developers project? Cheers /Christian -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en
Re: [symfony-users] Possible to write a table-less doctrine schema definition?
AFAIK, there is no such possibility – you're going to have to craft them by hand. :) Cheers, Daniel On 15.06.2010, at 14:15, Christian Schaefer wrote: Hi all, I want to write a plugin that amongst other features contains a Form class. For extensibility reasons I would like it to follow the same way that doctrine model forms are organised having a Base..Form, Plugin..Form and ..Form. So the developer can add custom code inheriting the one from the plugin. However this Form does not relate to a table in the database but is used to access a web service. So I need no model. Is there a way to define a virtual schema definition for this so that symfony doctrine:build --all will generate the appropriate classes in the developers project? Cheers /Christian -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en
Re: [symfony-users] Possible to write a table-less doctrine schema definition?
On Tue, 15 Jun 2010, Christian Schaefer wrote: However this Form does not relate to a table in the database but is used to access a web service. So I need no model. Is there a way to define a virtual schema definition for this so that symfony doctrine:build --all will generate the appropriate classes in the developers project? Im guessing you'll have to write your own model layer. -- -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en