# |
Apr 16th 2017, 08:21 |
hiromi2424 |
great :slightly_smiling_face: |
# |
Apr 16th 2017, 08:20 |
theaxiom |
that's the challenge :slightly_smiling_face: |
# |
Apr 16th 2017, 08:20 |
theaxiom |
yes, exactly |
# |
Apr 16th 2017, 08:20 |
hiromi2424 |
ok. at least your two `users` and `admin` have dependencies for source level, but features of those are independent. |
# |
Apr 16th 2017, 08:18 |
theaxiom |
the biggest challenge for me is keeping it flexible and putting each feature in its own plugin, while allowing them to build on each-other seamlessly |
# |
Apr 16th 2017, 08:15 |
theaxiom |
I figured I would contribute back to this awesome community at the same time |
# |
Apr 16th 2017, 08:15 |
theaxiom |
I hope so, I need it for another product :slightly_smiling_face: |
# |
Apr 16th 2017, 08:15 |
hiromi2424 |
All of features is completed, I bet it will be very exciting product |
# |
Apr 16th 2017, 08:14 |
theaxiom |
I am starting it simple |
# |
Apr 16th 2017, 08:13 |
theaxiom |
:slightly_smiling_face: |
# |
Apr 16th 2017, 08:13 |
hiromi2424 |
Ah great big roadmap :slightly_smiling_face: |
# |
Apr 16th 2017, 08:13 |
theaxiom |
event-based framework |
# |
Apr 16th 2017, 08:12 |
theaxiom |
all using bootstrap-ui and crud, sometimes crud-view |
# |
Apr 16th 2017, 08:12 |
theaxiom |
feed, friends, admin, search, groups, messages, notifications, etc |
# |
Apr 16th 2017, 08:11 |
theaxiom |
each major feature is 1 plugin, which can be used in any CakePHP app |
# |
Apr 16th 2017, 08:11 |
theaxiom |
if you want to learn more about what I am building, you can check out the roadmap here: https://github.com/SocialPlexus/core/issues/11 |
# |
Apr 16th 2017, 08:10 |
theaxiom |
yeah, he did a great job |
# |
Apr 16th 2017, 08:10 |
theaxiom |
it extends crud-users |
# |
Apr 16th 2017, 08:10 |
theaxiom |
the `users` plugin can be dropped into any CakePHP application for complete user auth/etc |
# |
Apr 16th 2017, 08:10 |
hiromi2424 |
yeah that advent is awesome. |
# |
Apr 16th 2017, 08:09 |
theaxiom |
I am using some code from @savant CakeAdvent 2016 as well |
# |
Apr 16th 2017, 08:09 |
hiromi2424 |
If routes conflict, manually specify each actions to route … perhaps nothing. |
# |
Apr 16th 2017, 08:09 |
theaxiom |
took me 3 days just to get the users authentication/authorization working :slightly_smiling_face: |
# |
Apr 16th 2017, 08:08 |
hiromi2424 |
ok it seems nice design. |
# |
Apr 16th 2017, 08:08 |
theaxiom |
yeah this uses crud, crud-users, crud-view, bootstrap-ui |
# |
Apr 16th 2017, 08:07 |
hiromi2424 |
@theaxiom I got actual code. users/{crudUsers}, admin/users/{crudUsers} and admin/users/{crud}, isn’t it? |
# |
Apr 16th 2017, 07:57 |
theaxiom |
with no opinions and some built-in help |
# |
Apr 16th 2017, 07:57 |
theaxiom |
I want to make a great framework in which to build any CakePHP application on, really |
# |
Apr 16th 2017, 07:57 |
theaxiom |
thanks for helping me talk through this :slightly_smiling_face: |
# |
Apr 16th 2017, 07:56 |
hiromi2424 |
ok it will add to collection |
# |
Apr 16th 2017, 07:56 |
theaxiom |
`static::scope($path, $params, $callback);` |
# |
Apr 16th 2017, 07:56 |
theaxiom |
from what I can tell, it doesn't override |
# |
Apr 16th 2017, 07:54 |
theaxiom |
thanks :slightly_smiling_face: |
# |
Apr 16th 2017, 07:54 |
hiromi2424 |
I don’t think it override… I will look into core code. |
# |
Apr 16th 2017, 07:52 |
theaxiom |
I just want to make sure I won't over-write the `admin` prefix. |
# |
Apr 16th 2017, 07:52 |
theaxiom |
For instance, if I put that in a `users` plugin, then a `feed` plugin, etc, can they all point to admin prefix? |
# |
Apr 16th 2017, 07:52 |
theaxiom |
Do those merge? |
# |
Apr 16th 2017, 07:51 |
hiromi2424 |
alternative: Router::prefix(‘admin’) |
# |
Apr 16th 2017, 07:51 |
theaxiom |
the `UsersController` which is in `src/Controller/Admin` will be in the `admin` plugin namespace `namespace SocialPlexus\Users\Controller\Admin` and use `use SocialPlexus\Admin\Controller\AppController` |
# |
Apr 16th 2017, 07:50 |
theaxiom |
example: `$routes->connect('/admin/users/:action', ['controller' => 'Users', 'plugin' => 'SocialPlexus/Users', 'prefix' => 'Admin']);` |
# |
Apr 16th 2017, 07:50 |
theaxiom |
and include prefix routing in the `users` plugin to add the `/admin/users` route |