# |
Dec 19th 2017, 09:59 |
neon1024 |
There are some maintainability concerns, as there was with the phinx/migrations but some libraries are far more established and mature |
# |
Dec 19th 2017, 09:58 |
neon1024 |
Why does the core have it’s own Http Client and not just depend on something like Guzzle? |
# |
Dec 19th 2017, 09:51 |
dereuromark |
you are free to use whatever templating language you want, the core stays lean and simple however at this time. |
# |
Dec 19th 2017, 09:50 |
dereuromark |
that was the scope of my ticket and rfc :slightly_smiling_face: nothing more than that, ever. |
# |
Dec 19th 2017, 09:50 |
dereuromark |
for bake it was just common sense to not use php anymore to generate php, its a bad idea to use a non-standard solution for generating code of the same language |
# |
Dec 19th 2017, 09:49 |
dereuromark |
no, there is no framework decision, it is a opt-in plugin, thats all |
# |
Dec 19th 2017, 09:49 |
neon1024 |
I only put bake in require-dev though |
# |
Dec 19th 2017, 09:48 |
hmic |
yes, it's used internally. isn't that enough to make use of it? - it gets installed now by default so just use it :D |
# |
Dec 19th 2017, 09:48 |
neon1024 |
No harm in using the plugin for the templating though I suppose. I was just curious if there was a framework choice to use Twig, but I guess not |
# |
Dec 19th 2017, 09:47 |
neon1024 |
@hmic Only internally, to sidestep the <% tags. I wasn’t sure if it was going to generate Twig templates as well |
# |
Dec 19th 2017, 09:45 |
dereuromark |
you must have misunderstood the issue that lead to twig being used for bake plugin |
# |
Dec 19th 2017, 09:44 |
dereuromark |
it will not :slightly_smiling_face: |
# |
Dec 19th 2017, 09:44 |
hmic |
neon1024: it's already there, isn't it? bake uses twig now from the discussions here - i did not try recently. but it certainly installed twig via composer update lately |
# |
Dec 19th 2017, 09:41 |
neon1024 |
Is there a rough guess as to when Cake will swap over to Twig? I assume in a major 4.x release |
# |
Dec 19th 2017, 09:31 |
heke |
idk , autossh has served us well ... |
# |
Dec 19th 2017, 09:29 |
hmic |
ssh tunnel is a hack. not more. and btw. if you like your ssh tunnel solution and dont want a proper vpn but ssl "the easy way" - use stunnel instead! |
# |
Dec 19th 2017, 09:28 |
hmic |
thing is: it's there, you just need to use it. an ssh tunnel is another dependency and point of failure - not even possible to easily HA the thing. thats why you dont want it. if you want/need vpn between your database host and frontend webservers - go for a full blown solution *with* HA and proper monitoring, why not... |
# |
Dec 19th 2017, 09:26 |
hmic |
you do know that this article is 5 years old? *lol* and if your database server is on the other end of a slow and high latency link, you have more problems then just ssl vs. ssh performance :P |
# |
Dec 19th 2017, 09:23 |
heke |
why would I have 100+ ssl connections ( Mysql SSL ) between hosts, when I could have just one SSL connection between hosts ( SSL tunnel ). |
# |
Dec 19th 2017, 09:22 |
heke |
@hmic some guys like more ssh-tunnel , https://www.percona.com/blog/2013/11/18/mysql-encryption-performance-revisited/ and autossh works just fine in our case ... |
# |
Dec 19th 2017, 09:14 |
birdy247 |
morning |
# |
Dec 19th 2017, 08:57 |
hmic |
heke: there is nothing to wander about. one is a dirty hack, the other a common and best practice usecase. |
# |
Dec 19th 2017, 08:49 |
heke |
I am wanderin which better , mysql through ssl tunnel , or just mysql over ssl ? |
# |
Dec 19th 2017, 08:49 |
heke |
@hmic |
# |
Dec 19th 2017, 08:40 |
hmic |
if you want to specify them in the config array the keys used are: ssl_key, ssl_cert and ssl_ca, the last being optional |
# |
Dec 19th 2017, 08:37 |
hmic |
aro: you can just add the requried ssl options to the connect string (url) |
# |
Dec 19th 2017, 08:36 |
heke |
@aro command goes something like this, ssh -fN -L 3320:{ip_addess}:3306 user@subdomain.remote-host.com , I am sure google helps you |
# |
Dec 19th 2017, 08:35 |
hmic |
totally different story! |
# |
Dec 19th 2017, 08:35 |
hmic |
this is mysql through an ssh tunnel |
# |
Dec 19th 2017, 08:35 |
hmic |
this is not mysql with ssl |
# |
Dec 19th 2017, 08:35 |
hmic |
slaps heke |
# |
Dec 19th 2017, 08:35 |
mamchenkov |
I think I'm misunderstanding something about the log configuration ... I thought 'levels' should limit the messages to specific levels, ignoring the rest |
# |
Dec 19th 2017, 08:34 |
heke |
we are using cake 2 and DB over SSL ... totally non cake issue ... you set up ssh connection with ssh command .... you connect cake to locahost port which in fact is forwarded via SSH connection to remote host ... Is that what you are searching ? , @aro |
# |
Dec 19th 2017, 08:29 |
mamchenkov |
hello all :) |
# |
Dec 19th 2017, 07:18 |
joop |
good morning to all community members |
# |
Dec 19th 2017, 06:08 |
braeden |
,:) |
# |
Dec 19th 2017, 06:08 |
braeden |
@admad I thought so, but then again I saw a blog post which was using the Paginator Component within a Cell, to which I asked myself 'did he read the cookbook?!' |
# |
Dec 19th 2017, 04:22 |
aro |
i know it was there in 2.0 |
# |
Dec 19th 2017, 04:13 |
aro |
does cake support ssl db connections? |
# |
Dec 19th 2017, 04:09 |
aro |
anyone kn ow |
# |
Dec 19th 2017, 03:49 |
aro |
how do i get Cake to use SSL on a db connection? |