Open Closed

Generate Presentation Layer #36


0
mateus.queiroz created

ASP.NET Boilerplate is a very nice framework and very well documented! I've been studying it in the last few weeks and in this article Kalkan explicitly wrote what it doesn't intend to be: "It's not a code generation tool. While it has several features those build dynamic code in run-time, it does not generate codes." (http://www.codeproject.com/Articles/768 ... oilerplate)

It's very controversial at AngularJS forums, but wouldn't be nice to generate presentation view from an WebApi service (using EntityDTO definition to create the fields in view HTML)? Like we have T4 and ASP.net MVC Multipage generating CRUD razor cshtml . It's sound like Repeating Yourself writing the AngularJS Controller and HTML from the blank.

Is it planned to be done a generator at ASP.NET Boilerplate? Or do you guys suggest using any other tools to generate the AngularJS Controller and html?


1 Answer(s)
  • 0
    hikalkan created

    Hi,

    Thanks a lot.

    Generating view is not in the plan yet. But community may create such a generator and contribute to the project. Current focus of the project is;

    • module zero
    • more documentation (especially for module-zero)
    • waiting core functionalities
    • stabilization and optimization

    ABP focuses more on server side. For angular view generation, you should search for another solution for now.