Rename "admin" to "twill" #1012
Replies: 4 comments 2 replies
|
We agree this will be a great improvement, and in order to keep backward compatibility, we are thinking to have a variable defaults to "twill" so that developers could upgrade their system easily. PR are welcomed! |
|
I'd vote for such a change. I usually build either the main admin custom, or with Orchid, and Twill is in for the CMS part, with separate users and logins. From my perspective, Orchid is the Admin panel, and Twill is the CMS part of a monolith containing data management and a cms. Orchid is using 'platform' in code, while Twill 'admin', and does not really make sense for who's the real admin... |
|
Hi @madalinignisca! I wanted to confirm this is something we're going to move forward with for our next breaking release, Twill 3.0. Your setup sounds very interesting. Super curious to hear more about using Orchid in tandem with Twill. |
|
I have the same exact thought, and am happy to see that this will be included in a future release. I also use a different package for other admin features, currently using Voyager. Whether you're using Voyager or Orchid or something else, we probably got here for the same reason: Those packages offer a lot of administration features, but do not provide CMS features. So in my mind, Twill is indeed "the CMS". There will be an "admin" interface for the CMS - but there may be other admin interfaces for other things... Agree that using "twill" instead of "admin" by default would be the best - and ideally let it be configurable. Thanks for a great package, looking forward to working with it more! |
Uh oh!
There was an error while loading. Please reload this page.
The name "admin" for Twill is too generic. Being Twill a CMS and not an all purposes administration panel nor a framework for creating management systems, the name "admin" may get in the way of something important for some apps. What I propose here is to change everything publicly named "admin" to twill.
Pros:
Cons:
Examples of files and namespaces prone to name clashing today, or which could be improved while renamed to T/twill:
And I would also change the "admin" prefix on all route names, because some of those can easily conflict too:
All reactions