Log message #4152926

# At Username Text
# Jun 21st 2018, 14:59 itmpls will it just keep you with a peace of mind?
# Jun 21st 2018, 14:59 neon1024 Because lightweight is `<textarea></textarea>` :P
# Jun 21st 2018, 14:59 josbeir i only need a few standard actions, bold and url, auto paragraphs
# Jun 21st 2018, 14:59 itmpls but if there's no discernible difference, what's the point?
# Jun 21st 2018, 14:59 josbeir but i'm looking for something much lighter in terms of integration
# Jun 21st 2018, 14:59 neon1024 Tell us your use-case
# Jun 21st 2018, 14:58 josbeir i know ckeditor very well and i know of what it is capapable
# Jun 21st 2018, 14:58 itmpls and a jquery requirement
# Jun 21st 2018, 14:58 itmpls there are probably tons of other things you can optimize that would make much more of a difference than a couple KB off a file
# Jun 21st 2018, 14:58 josbeir i'm not talking about end user experience
# Jun 21st 2018, 14:58 itmpls do you have reasons for the light-weightness? are you heavily customizing it?
# Jun 21st 2018, 14:57 itmpls most likely there will be no difference really
# Jun 21st 2018, 14:57 itmpls are you measuring the difference? can your users notice the load difference between either?
# Jun 21st 2018, 14:57 josbeir yeah, but i want something more lightweight
# Jun 21st 2018, 14:47 mikesmoniker We use it in a React codebase and have done some fairly non-trivial customizations to it, IIRC.
# Jun 21st 2018, 14:47 mikesmoniker We use tinymce. It integrates with jQuery, but I’m 95% sure jQuery isn’t a dependency.
# 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?