Log message #4152884

# At Username Text
# Jun 21st 2018, 14:39 josbeir anyone tips for a nice lightweight ckeditor alternative (not powered by jquery)
# Jun 21st 2018, 14:28 itmpls so in 3.6+, the preferred method of routing and what not is in src/Application instead of config/routes/etc for plugins?
# Jun 21st 2018, 13:18 neon1024 Yeah, Crud has a JsonApi listener for creating your json web service quickly :slightly_smiling_face:
# Jun 21st 2018, 12:47 yadav.manu36 @madbbb thanks for this. i will try to use according these articles
# Jun 21st 2018, 12:43 madbbb @yadav.manu36 those articles helped me a lot http://www.bravo-kernel.com/tags/api/
# Jun 21st 2018, 12:40 josbeir => https://github.com/FriendsOfCake/crud
# Jun 21st 2018, 12:40 josbeir @yadav.manu36 check out the crud plugin
# Jun 21st 2018, 12:36 yadav.manu36 @mikesmoniker thanks for your suggestion. i just want to know any plugin exist or not those working as a auto scaffolding like cake bake.
# Jun 21st 2018, 12:29 mikesmoniker The closest thing I can think of to a project that mixes Cake and modern FE code (albeit not Angular) would be CakeDC/mixer, which incorporates React into a Cake plugin.
# Jun 21st 2018, 12:27 mikesmoniker @yadav.manu36 Cake doesn’t come with any default front-end conventions or prescriptions on what style/js tooling to use or how. My advice would be to create a project with a top-level folder for your API and another for your JS app, or if it’s an existing Cake app just a folder in there. Then build out using your favorite tooling (webpack, etc.).
# Jun 21st 2018, 12:24 admad cake would return only json responses
# Jun 21st 2018, 12:24 admad use cake to develop a REST API and make your angular app use that API
# Jun 21st 2018, 12:20 yadav.manu36 can anyone tell me what best approach for using front-end angular5+ with cakephp 3.x?
# Jun 21st 2018, 11:30 unclezoot thanks for your help
# Jun 21st 2018, 11:30 admad yes
# Jun 21st 2018, 11:29 unclezoot i see, and would you recommend putting that in the custom find?
# Jun 21st 2018, 11:28 admad $query->formatResults() is the place for post processing query results
# Jun 21st 2018, 11:27 unclezoot afternoon, has anyone had any dealings with ->matching and processing the _matchingData array? ive created my own custom find expressions which uses ->matching, just trying to work out the correct place to process the result set afterwards. I'm doing it in the controller which smells wrong
# Jun 21st 2018, 11:23 neon1024 There is a lot more to it than I thought
# Jun 21st 2018, 11:23 neon1024 I’m rather enjoying Javascript
# Jun 21st 2018, 11:22 neon1024 I’ll also validate it in PHP anyway before I try and send the email, but wanted some immediate feedback for users.
# Jun 21st 2018, 11:19 neon1024 @admad Of course, yes, email type. Good point. Thanks!
# Jun 21st 2018, 11:18 admad @neon1024 i wouldn't spend the effort to validate emails on client side, just use `email` input type
# Jun 21st 2018, 11:17 neon1024 I guess when the UK leave the EU, we won’t need to validate for non-latin :,)
# Jun 21st 2018, 11:17 neon1024 Is there a comparable token in the Javascript regex engine?
# Jun 21st 2018, 11:02 lorenzo yes, they are valid
# Jun 21st 2018, 10:54 neon1024 Instead of `\w`
# Jun 21st 2018, 10:54 neon1024 As I notice the CakePHP validation uses `\p{L}`
# Jun 21st 2018, 10:46 neon1024 `大卫@example.com`
# Jun 21st 2018, 10:46 neon1024 As a made up example `ديفيد@example.com`
# Jun 21st 2018, 10:46 neon1024 Are email addresses with non-latin characters valid?
# Jun 21st 2018, 10:41 neon1024 :thumbsup:
# Jun 21st 2018, 10:40 qq cool! thanks. i ganna try it now. thanks for help!
# Jun 21st 2018, 10:39 qq correct.
# Jun 21st 2018, 10:39 neon1024 The sending of files just requires sending a different type of response, https://book.cakephp.org/3.0/en/controllers/request-response.html#sending-files
# Jun 21st 2018, 10:38 neon1024 Well you want to store your files outside of your `/webroot` folder, so they’re not accessible from the web server
# Jun 21st 2018, 10:38 qq @neon1024 where should i store files? how to do the redirect when downloading? I have built a CMS with authentication already. (/admin)
# Jun 21st 2018, 10:35 neon1024 @qq You would serve your files from a controller. Which would allow you to check the auth first
# Jun 21st 2018, 10:32 qq Hi guys, how to downlaod files with authentication? for example, users only can download files after login.
# Jun 21st 2018, 10:04 neon1024 Vue.js + CakePHP <3
# Jun 21st 2018, 09:17 lorenzo @birdy247 that would be my preference, yes