-
-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Laravel's resource naming convention difference #47
Comments
Hi @bilogic. There is no reason for this. |
Ok, let me play around. Thanks. |
The following is the best I could do, it was quite hard to understand how the
|
I thought it is better to discuss your feedback on #50 here. First, I also starting out thinking it was just a simple rename of the routes, but as I delve deeper, there were other important differences Route name and orderLaravel defines routes in the following order
CRUD defines routes in the following order
Route HTTP methods
Next, I'm agreeable to extend the The benefits of following Laravel's naming, priority and route convention will make it easier to pick up Orchid and extend it. For some time now, I could only use Orchid, I could not really improve it as a number of design differ from Laravel. Do you have any other concerns? |
Hi,
Any reason why we don't follow Laravel's convention?
It becomes one more thing to learn. Also, the
VERB
is not "restricted" inOrchid/Crud
Reason I'm looking at this is because I'm trying to create a Download button in a column of each row.
Thank you.
/admin/crud/documents
admin/crud/list/documents
/admin/crud/documents/create
admin/crud/create/documents
/admin/crud/documents/{id}
admin/crud/view/documents/{id}
/admin/crud/documents/{id}/edit
admin/crud/edit/documents/{id}
The text was updated successfully, but these errors were encountered: