Base solution for your next web application
Open Closed

Code Available for new RAD Tool? #4647


User avatar
0
dparizek created

Hi-

Is it possible we could get access to the DLLs for the new RAD Tool... well and the codebase for the UI for it... so that we can modify it and extend it?

In particular it would be nice if the Angular components created were named based on the entity instead of the namespace, in case one wants to group more than one entity in a namespace.

But I imagine it would be fun to extend the tool in multiple ways... for example add an option to generate necessary files for a "Download as Excel" button. Or add column of checkboxes to the table with Select All and "bulk actions" functionality, etc. Or add ability to tie to related model like Users entity but that gets complicated and maybe better to use tool then modify to suit.

Is it in github? We could access and fork and add stuff to submit back?

Hats off to the ASP.NET Zero team though - the tool is WONDERFUL!! and a huge time saver!!!!!


15 Answer(s)
  • User Avatar
    0
    bbakermmc created

    Nope, they seem to want to keep it a trade secret for now, even though a bunch of people have asked for it and could better enhance their own products with better templates.

  • User Avatar
    0
    alper created
    Support Team

    hi,

    At the moment the RadTool is simple but saves huge amount of time. On the other hand lacks of many advanced features. It'll be much more handy tool in the future. So when the product is mature, we can plan to make it open-source.

    @BBakerMMC thanks for your close interests to RadTool. It's not a business secret! Just needs some time. Have a nice day!

  • User Avatar
    0
    easyest created

    Please, please, please open source it. Just about now :) For example, I would like to port ASP.NET Zero frontend to Microsoft's Angular template, moreover I would like to rewrite it to use PirmeNg instead of zillion of shity javascripts in Metronic (Do all metronic inputs support pristine/touched state tracking? Checkboxes? Radios? Datepicker? Drop-downs?). To use the tool I will need the source.

  • User Avatar
    0
    BobIngham created

    Yep, I'm one for source code as well. In my case I don't like the Angular templates produced because I am not a fan of using modals for CRUD operations. Call me old school but I like the idea of an index page for a grid (DevExpress, NgPrime or Kendo) with delete functionality and separate pages for create, read and update. Here is my template for the index page:

    <div [@routerTransition]>
      <div class="m-content">
        <app-person-list *ngIf="isList" (notifyEdit)="onEditButtonSelected($event)" (notifyCreate)="onCreateButtonSelected($event)" (notifyView)="onViewButtonSelected($event)"></app-person-list>
        <app-create-person *ngIf="isCreate" (notifyCreateSaved)="displayList($event)" (notifyCreateClose)="displayList($event)"></app-create-person>
        <app-edit-person *ngIf="isEdit" (notifyEditSaved)="displayList($event)" (notifyEditClose)="displayList($event)" [person]="person"></app-edit-person>
        <app-view-person *ngIf="isView" (notifyViewClose)="displayList($event)" [person]="person"></app-view-person>
      </div>
    </div>
    

    In addition I prefer the Reactive approach for forms instead of the template system used by the RAD tool, not least for in-line error checking. Now, it would be great if I could cut into your code (I presume you're using T4) and produce what I wanted for the client rather than the tedious and error-prone job of deleting, cutting and pasting.... Having said that, it's an awesome tool and at least saves a lot of time in the core. AWESOME JOB BOYS!!!!

  • User Avatar
    0
    vladsd created

    RAD tool is great, I second @BobIngham as Angular 5 provides beautiful reactive forms, see <a class="postlink" href="https://angular.io/guide/reactive-forms">https://angular.io/guide/reactive-forms</a>, It comes with a lot of good staff, validation, etc.

    They are not used in ASP.NET zero.

    Anyone knows why not?

  • User Avatar
    0
    ismcagdas created
    Support Team

    @BobIngham we are planning to allow defining custom templates for the next verisons. @vladsd, it was not introduced when we integrated to angular 2, maybe we can think tihs for the next releases.

  • User Avatar
    0
    vladsd created

    @ismcagdas,

    thanks for consideration.

    one feature is missing from current tool is to define scope to be User, now I only see tenant, and host.

    Also another view should be introduced to display entity to user, in your examples with cars, it should be car component which display info on the selected car. So it would be car-view.component.ts car-view.component.html

    I do not want to debate modal dialogs but if you using UI that supposed to scale well on mobile, modal dialogs is not the way to go, as they do not flow well or flow off the screen.

  • User Avatar
    0
    ismcagdas created
    Support Team

    @vladsd,

    one feature is missing from current tool is to define scope to be User, now I only see tenant, and host.

    ABP doesn't provide user scope, that's why it is not in the RAD tool.

    I do not want to debate modal dialogs but if you using UI that supposed to scale well on mobile, modal dialogs is not the way to go, as they do not flow well or flow off the screen.

    Totally agree but I also think using the modals on desktop is better. Probably we will not change the current design but you can write a small script to show modals full sized for mobile devices.

  • User Avatar
    0
    BobIngham created

    @ismcagdas - ditch the modals! ;)

  • User Avatar
    0
    vladsd created

    @ismcagdas - thanks for advise on modals full screen, its a workaround. if you add this as a feature to next release, please let me know. thanks.

  • User Avatar
    0
    chauey created

    What technology and template engine for the RadTool use? is it string concatenation, template literals, or T4 templates, or something else?

  • User Avatar
    0
    yekalkan created

    @chauey

    String concatenation based basic template system.

  • User Avatar
    0
    chauey created

    Is there a way to manually run the AspNetZeroRadTool dll and pass in the json file name? like with dotnet Asp.....dll SomeEntity.json

    Thanks

  • User Avatar
    0
    yekalkan created

    here it is <a class="postlink" href="https://www.aspnetzero.com/Documents/Development-Guide-Rad-Tool-Mac-Linux#how-to-run-rad-tool">https://www.aspnetzero.com/Documents/De ... n-rad-tool</a>

  • User Avatar
    0
    chauey created

    oh wow, OK, missed that.. thx

    I had tried before that just tinkering around, but had an error.. it said Invalid argument

    I still get the error

    Oh nevermind. i think I had plural instead of singular