abp icon indicating copy to clipboard operation
abp copied to clipboard

Add a CRUD page to ABP templates

Open ebicoglu opened this issue 2 years ago • 4 comments

In Astro templates, there's an examples folder for fast onboarding. We can put a page like Books with insert, update, delete, and read functions. so that newbies can quickly understand the basics of a CRUD page. The CRUD page will be located in all the templates (Blazor, Angular, MVC). Share your ideas please...

ebicoglu avatar Dec 10 '23 10:12 ebicoglu

maybe we can provider a cli option, like --sample-pages to create sample pages.

rqx110 avatar Dec 11 '23 00:12 rqx110

We can provide a simple module containing CRUD page and add it to the start template as a source code reference.

maliming avatar Dec 11 '23 01:12 maliming

maybe we can provider a cli option, like --sample-pages to create sample pages.

I aggree on that, if we want to implement. Astro is just UI, adding a page that is easy to remove or modify. But, if we do it, we will include everything (db migrations, entities, services, scripts, ...) which will not be easy to remove. So, if we do it, we should do it optional. But I think it will bring us more maintainability issues and we should not do it. Anyone can easily create such a page by following the tutorial, so they can learn how to do it. Just want to see a pre-implemented one? Go to samples: https://github.com/abpframework/abp-samples/tree/master/BookStore-Mvc-EfCore

hikalkan avatar Dec 11 '23 11:12 hikalkan

Agree @hikalkan!

@ebicoglu: We are using Astro for our company website and also for user documentation (for abp-based application). https://astro.new/ Starlight really rocks for our needs. Compilation is fast, hosting for free (GH Pages or Cloudflare Pages), SEO-friendly, ultra-fast loading times,....

leonkosak avatar Dec 11 '23 18:12 leonkosak