Log message #4020170

# At Username Text
# Apr 26th 2017, 07:06 joshuaso91 i build it in phpmyadmin and then use the bin\cake bake all to build the system
# Apr 26th 2017, 07:06 joshuaso91 i build my database off the databse ERD i drew up
# Apr 26th 2017, 07:02 metoyoko How to save in cakephp with hasMany
# Apr 26th 2017, 07:02 metoyoko good day!
# Apr 26th 2017, 06:57 slackebot1 I am still feeling like a rookie). But a key to get the power from CakePHP is to use plugins. Then to create tables I recommend looking at Migrations. Many modules use that to create the needed tables, and using it for you own tables makes Your app easy to maintain. https://book.cakephp.org/3.0/en/migrations.html
# Apr 26th 2017, 06:57 digitalfotografen @joshuaso91 In many cases You don't need to extend the plugin. I don't know how complicated Your user tables you need. But if you use Migrations to create the tables you will have it up un running quickly. To store more information about users you can hav another table with user id as foreign key and join. In many cases a key/value storage will do. I don't know Your level, but You wrote that you are new to CakePHP (we all were once
# Apr 26th 2017, 06:50 joshuaso91 @digitalfotografen sorry, i mean like extending the plugin on my tables
# Apr 26th 2017, 06:50 joshuaso91 @digitalfotografen like for example i read till the part of creating required tables. I opened that and i get a little confuse
# Apr 26th 2017, 06:48 joshuaso91 @digitalfotografen dont mind going through with me with the installation? I am scared using it
# Apr 26th 2017, 06:31 ndgAl Hello, I have a problem with a particular kind of HABTM association. I can read it but writing it cause a bad query. Maybe I didn't describe the Table classes correctly. could anyone help me?
# Apr 26th 2017, 06:21 joshuaso91 Thank you so much.
# Apr 26th 2017, 06:18 digitalfotografen Still, looking at modules written by others is a great way to learn. Here is a list of proven and awesome modules. https://github.com/FriendsOfCake/awesome-cakephp
# Apr 26th 2017, 06:17 digitalfotografen The CakeDC/User is easy to integrate. I usually avoid writing my own authorization stuff, using tested solutions reduces the risk of nasty bugs that opens security holes in my app ]:) . But I agree that it is nice to learn.
# Apr 26th 2017, 06:13 joshuaso91 i would like to write my own so that i can learn too
# Apr 26th 2017, 06:12 joshuaso91 so this CakeDC here will integrate into my code and database too yea?
# Apr 26th 2017, 06:08 digitalfotografen If You still decide to write Your own this packages is great inspiration
# Apr 26th 2017, 06:07 digitalfotografen https://github.com/CakeDC/users
# Apr 26th 2017, 06:07 digitalfotografen The quickest solution to get a working user handling with SuperAdmin, normal users... is to use one of the CakePHP user extensions. In most of my projects I use the CakeDC/Users . It makes it easy to setup different user roles.
# Apr 26th 2017, 06:05 joshuaso91 Thanks
# Apr 26th 2017, 06:05 joshuaso91 Can someone let me know how to allow access super admin, admin and staff to view controller actions?
# Apr 26th 2017, 06:04 joshuaso91 i've watched videos on youtube but they only provide the CakePHP 2.x coding
# Apr 26th 2017, 06:04 joshuaso91 i've read the cookbook but i still dont really understand how to implement it on my code
# Apr 26th 2017, 06:04 joshuaso91 i can't find any references on how to use the "ControllerAuthorize"
# Apr 26th 2017, 06:03 joshuaso91 and I am trying to do Authorisation access for Super Admin, Admin and normal staff on my project
# Apr 26th 2017, 06:03 joshuaso91 i am very new to CakePHP
# Apr 26th 2017, 06:03 joshuaso91 I need help!
# Apr 26th 2017, 06:03 joshuaso91 Awesome
# Apr 26th 2017, 06:03 digitalfotografen Yes @joshuaso91
# Apr 26th 2017, 06:01 joshuaso91 is this the CakePHP site where i can ask questions?
# Apr 26th 2017, 06:00 joshuaso91 hey guys
# Apr 26th 2017, 03:52 rchavik i think so, you can use ShadowTranslate plugin to avoid that
# Apr 26th 2017, 03:44 davinci in cake 3, do translations still get pulled one join per field?
# Apr 26th 2017, 01:26 jeremyharris np!
# Apr 26th 2017, 01:26 rrueco @jeremyharris Ah. ok sir. Thank you
# Apr 26th 2017, 01:19 jeremyharris it can be disabled similar to JS validation
# Apr 26th 2017, 01:18 jeremyharris if a user disables html validation then they will be able to enter anything if you don’t have model validation
# Apr 26th 2017, 01:16 rrueco @jeremyharris yes. Are there no issues about it sir? I will not use validation in model
# Apr 26th 2017, 01:16 jeremyharris @rrueco you can use type=email and if the validation is required there will be the html5 validation by default
# Apr 26th 2017, 01:11 rrueco is it ok to validate a form in view? like setting the type=email, etc. ?
# Apr 26th 2017, 00:49 elcms Good night everyone !
# Apr 26th 2017, 00:35 elcms maybe a kind of mindmap...