DevtimeBackboneBundle icon indicating copy to clipboard operation
DevtimeBackboneBundle copied to clipboard

Annotations to generate backbone code.

Open azr opened this issue 11 years ago • 2 comments

Hello,

It would be cool to be able to have some annotation system on entities or documents to be able to generate the backbone classes accordingly. Stuff like validation for entities, or even routing inside a controller.

Then we could just extend the generated classes to modify the code.

azr avatar May 07 '13 10:05 azr

Hi,

That's a very good idea, I don't have much time to work on it right now though, but if you can please send a PR, thanks

gigo6000 avatar May 09 '13 04:05 gigo6000

How about integrating with schmittjoh/serializer annotations? Thus you can generate models perfectly aligned with what your controllers serialize.

@schmittjoh do you think it's a good idea? hints would be appreciated!

giorrrgio avatar Jun 11 '13 13:06 giorrrgio