# |
Feb 11th 2020, 10:17 |
damiano |
but that's not the problem of cake |
# |
Feb 11th 2020, 10:17 |
damiano |
because i read some stupid people put .env files accessible via web :) |
# |
Feb 11th 2020, 10:17 |
damiano |
from where? the config folder is not accessible via web, do you mean who has the access to the server? |
# |
Feb 11th 2020, 10:16 |
challgren |
The .env file could be read by anyone |
# |
Feb 11th 2020, 10:13 |
damiano |
should i create the env vars manually? |
# |
Feb 11th 2020, 10:13 |
damiano |
why? the file is not accessible via web server... |
# |
Feb 11th 2020, 10:13 |
damiano |
.env file |
# |
Feb 11th 2020, 10:13 |
damiano |
guys: # Having this file in production is considered a **SECURITY RISK** and also decreases # the boostrap performance of your application. |
# |
Feb 11th 2020, 09:58 |
neon1024 |
Not used apigen, so unsure :) |
# |
Feb 11th 2020, 09:58 |
challgren |
Yeah, figured it be fixed by now |
# |
Feb 11th 2020, 09:57 |
neon1024 |
Ah yes, there isn’t as I believe there is an apigen issue |
# |
Feb 11th 2020, 09:57 |
neon1024 |
ORLY? |
# |
Feb 11th 2020, 09:57 |
challgren |
No API for 4.x yet eh? |
# |
Feb 11th 2020, 09:57 |
challgren |
I had to google it :P |
# |
Feb 11th 2020, 09:57 |
neon1024 |
Well done @challgren :clap: |
# |
Feb 11th 2020, 09:55 |
damiano |
cakephp4 is giving me very good satisfactions, you all did very good job |
# |
Feb 11th 2020, 09:54 |
challgren |
I cant spell! |
# |
Feb 11th 2020, 09:54 |
neon1024 |
Finance? |
# |
Feb 11th 2020, 09:54 |
challgren |
t have cake |
# |
Feb 11th 2020, 09:54 |
challgren |
Why is my finance angry? Because she didn’ |
# |
Feb 11th 2020, 09:54 |
damiano |
haha ;) |
# |
Feb 11th 2020, 09:54 |
challgren |
Cake is always the answer! |
# |
Feb 11th 2020, 09:53 |
damiano |
thank you guys |
# |
Feb 11th 2020, 09:53 |
damiano |
@challgren yes you are 100% ok, cakephp is the answer :) |
# |
Feb 11th 2020, 09:52 |
challgren |
Plus on the other hand if you eventually grow the app, you’ll have a framework to work around. |
# |
Feb 11th 2020, 09:51 |
damiano |
ok |
# |
Feb 11th 2020, 09:50 |
challgren |
All the extra stuff will do is just take up file space. Which this day in age is dirt cheap. Most of the other stuff is lazy loaded |
# |
Feb 11th 2020, 09:50 |
neon1024 |
If you want it super lightweight use Slim |
# |
Feb 11th 2020, 09:49 |
neon1024 |
As you may want to persist data between sessions which Vue.js can only do using local browser storage |
# |
Feb 11th 2020, 09:49 |
damiano |
yes you are right it easy to mantain sure @challgren |
# |
Feb 11th 2020, 09:49 |
neon1024 |
Often you say ‘just json api’ but you really mean request/response and datasource |
# |
Feb 11th 2020, 09:49 |
damiano |
I think Requesthandler components should be ok no? (without using other plugins) |
# |
Feb 11th 2020, 09:48 |
challgren |
Really it can be anything you want, I prefer frameworks because its easy for other people to get involved and things are organized |
# |
Feb 11th 2020, 09:48 |
challgren |
theres plugins that do just json calls |
# |
Feb 11th 2020, 09:48 |
damiano |
i only need api, so 100% json calls |
# |
Feb 11th 2020, 09:47 |
challgren |
cake renders the html template and handles the json |
# |
Feb 11th 2020, 09:47 |
damiano |
i mean...in my projects i will never render anything from server |
# |
Feb 11th 2020, 09:47 |
damiano |
but in this case are you using cake for json responses or not? |
# |
Feb 11th 2020, 09:46 |
challgren |
Simple 1 page with a contact form |
# |
Feb 11th 2020, 09:46 |
challgren |
Nope |
# |
Feb 11th 2020, 09:46 |
damiano |
are you using vue ? |