-
Notifications
You must be signed in to change notification settings - Fork 174
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
Will CRUD and Grids eventually be part of L51ESK? #15
Comments
Hello Tamer, I totally need this and hope to integrate something like that in l51esk. That is actually one of the features from Yii2 that I wish was easier to do in Laravel. "zofe/rapyd-laravel" looks really promising and following the example from LaravelPanel we should be able to integrate rapyd-laravel without too much trouble. Are you volunteering to do it? Cheers. |
Yep. Count me in. |
;-) Awesome! Thanks man. |
This is the forked project: https://github.com/serverfireteam/rapyd-laravel |
My main concern was about the text editor, because of this issue (about redactor support being dropped for it going commercial) in the upstream project: I'm pleased to discover TinyMCE already looks to be integrated in serverfireteam/rapyd-laravel fork: |
Good stuff, man. So you would recommend using https://github.com/serverfireteam/rapyd-laravel instead of https://github.com/zofe/rapyd-laravel ? |
I merged serverfireteam/rapyd-laravel master with l51esk master. Linked it up, including the demo routes, demo runs, clicking populate database indeed populates db, but then every other tab of the demo has its own set of issues. Ex. DataSet tab had issue with old |
It works well and it was way too easy to add that I consider I did nothing.. Merged (with history) into a 'rapyd' branch, ready for Pull Request: But even though i required the rapyd routes file within authorize middleware group, the /rapyd-demo route does not ask me to login. Haven't looked into this yet. |
Now I would love to redo the admin/* routes in l51esk (at least users,permissions,roles,routes) with rapyd and using at least the following modules:
|
Hello Tamer, Man, you have been burning the midnight oil lately! Can't wait to try the CRUD/GRID. Yes, now we totally have to rebuild the admin/* page with your suggestions. But let me merge your basic CRUD/GRID changes and my dynamic menu and crumbtrail before. Otherwise I am afraid it may be just too much to handle at once. I will hurry and commit the menu patch asap. /s |
Pull Request #18 submitted. |
Holy smokes! this is huge. I am a little surprised. /s |
I was doing that in hopes I could later modify rapyd source to use TinyMCE editor. After merging and
Uncomment the following near the end of Optionally, you may need to uncomment the demo route in |
Ah I see. If you want to get TinyMCE editor working in rapyd I would suggest forking your own repository of that and when you get that working we can always point L51ESK to your version. But were the author of rapyd not already working on switching to TinyMCE? Thanks for the pull-request. I can't wait to try it, that will be awesome. |
The authors of LaravelPanel forked way back for a reason. The author dropped support for Readactor.js as announced in (still open since Aug 1, 2014) zofe/rapyd-laravel#62 |
Wow... 2014... |
still using the old v7.6.1 of 2012, it "was" mit licensed (so open source), before it went commercial :) |
Well if you are interested in upgrading them to TinyMCE, I am sure they would appreciate. |
looks like redactor.min.js still included.. it is 11kb In any case I will fork, integrate, and send a PR to Zofe. Thanks for merging. |
Thanks for pointing me to rapyd. I have been looking at that package all evening. Really interesting. I also would not mind using a 366kb file for TinyMCE with all the plugins, but when bandwidth is limited or when the client is mobile or "simple" one may want a smaller option. Perhaps both could be available either as an configuration option set at the app level or if the app detects a slow link or light client it would serve the smaller variant. Just an idea. Thanks again. |
Hello Tamer, I am thinking about revisiting this issue. Rapyd-Laravel seems to be very good at doing what it was design to do: a single package to provide both grids and CRUD, but after experimenting with it this weekend, it appears hard to customize, to me at least. I am wondering if you have had a chance to experiment a little more with the rapyd-laravel package? Otherwise perhaps looking at other options may be better. Perhaps packages that separate grids/datatable and CRUD and allow more flexibility. What do you think? /s |
Hello Sebastian, I apologize for the long delay in response. Just a few days ago, I started to get back on track with my project based on L51ESK, and just the last 2-3 days I have been playing a lot with rapyd. I've used a custom action with DataGrid as follows:
And according to Zofe, zofe/rapyd-laravel#73 (comment)
Hope this helps. |
I think this (using closures) would accomplish what you need:
This (from the documentation) is also helpful :)
|
Dear Sebastian,
I was just wondering what is your choice of CRUD and Grids in general? And will one be eventually integrated in L51ESK?
I come from Yii2 framework and miss things like Gii code generator (module built-in Yii2) and kartik-v/yii2-grid extension
For a start, I've used Nayjest/Grids for a simple listing & export to csv/excel functionality, and dealing with a one-to-many relation was a breeze, but I'm now looking into complete CRUD grids solution such as:
LaravelPanel looks like it uses (forked-)rapyd for its CRUD functionality, so I guess the same could be accomplished with L51ESK + rapyd. Don't you think?
On a sidenote, I've also purchased and used jQuery DataTables Editor extensively in the past, but only in standalone/custom projects not specifically based on full-blown framework. But I've now also discovered DataTables Editor Interface to Laravel 5 which adds yet another option.
The text was updated successfully, but these errors were encountered: