# |
Dec 5th 2017, 20:01 |
saeideng |
hmic |
# |
Dec 5th 2017, 20:01 |
hmic |
you can use files too |
# |
Dec 5th 2017, 20:01 |
hmic |
you can pipe data in/out of a shell process, which is a convenient option - even binary safe |
# |
Dec 5th 2017, 20:00 |
hmic |
yes |
# |
Dec 5th 2017, 20:00 |
hmic |
your question is pretty unclear |
# |
Dec 5th 2017, 20:00 |
ivansosajigga |
i have a worker script which needs to hand off a json payload to CakePHP to be processed, but is it good practice to be feeding the json through shell CLI? |
# |
Dec 5th 2017, 20:00 |
ivansosajigga |
what's the best way of running cake php shell job or logic from cakephp models/ controllers from an outside app / php script? |
# |
Dec 5th 2017, 19:58 |
hmic |
it's a nobrainer really |
# |
Dec 5th 2017, 19:58 |
hmic |
but especially for development and localhost - best make use of bin/cake server |
# |
Dec 5th 2017, 19:57 |
hmic |
i'm working with subdirs all the time - no additional setup/tweaking neccessary on my side |
# |
Dec 5th 2017, 19:57 |
hmic |
saeideng: shouldnt it be /myapp/css/... only? |
# |
Dec 5th 2017, 19:56 |
saeideng |
Ok let me to config a domain like myapp.local |
# |
Dec 5th 2017, 19:55 |
inoas |
I never tried to bother with subdirs and cakephp :/ |
# |
Dec 5th 2017, 19:55 |
inoas |
why don't you setup a subdomain? |
# |
Dec 5th 2017, 19:55 |
saeideng |
any idea ? |
# |
Dec 5th 2017, 19:55 |
saeideng |
but any asset no |
# |
Dec 5th 2017, 19:55 |
inoas |
or something else such as Elixir / Phoenix Channels |
# |
Dec 5th 2017, 19:55 |
saeideng |
`https://localhost/myapp` works |
# |
Dec 5th 2017, 19:55 |
inoas |
or: https://github.com/WyriHaximus/Ratchet + websockets |
# |
Dec 5th 2017, 19:55 |
maneken |
hmic: I chose cakephp because the CRUD part was easy to do. It is deployed on docker so I have full control on the host machine |
# |
Dec 5th 2017, 19:54 |
inoas |
maneken: cakephp-queue + xhr |
# |
Dec 5th 2017, 19:54 |
saeideng |
return 404 |
# |
Dec 5th 2017, 19:54 |
saeideng |
https://localhost/myapp/front_end/css/style.css |
# |
Dec 5th 2017, 19:54 |
saeideng |
but |
# |
Dec 5th 2017, 19:54 |
saeideng |
i configured https |
# |
Dec 5th 2017, 19:54 |
maneken |
hmic: sorry, the power went down and my pc didn't boot |
# |
Dec 5th 2017, 19:54 |
saeideng |
for testing site on https on localhost |
# |
Dec 5th 2017, 19:40 |
inoas |
Kotlin, Rust, Swift, Elixir and Elm are on my radar, webasm stuff maybe at some point (aka something that compiles down to webasm) |
# |
Dec 5th 2017, 19:39 |
inoas |
urgh :p |
# |
Dec 5th 2017, 19:39 |
hmic |
would rather go "go" |
# |
Dec 5th 2017, 19:39 |
inoas |
I'd not get into erlang, my poor eyes :( |
# |
Dec 5th 2017, 19:38 |
inoas |
but you would not necessarily :) |
# |
Dec 5th 2017, 19:38 |
hmic |
no, i'm not into erlang and i'm not getting there pretty surely |
# |
Dec 5th 2017, 19:38 |
hmic |
and it's not in the tools i choose to work with. |
# |
Dec 5th 2017, 19:38 |
inoas |
hm |
# |
Dec 5th 2017, 19:38 |
inoas |
I am maintaining cakephp2 and 3 projects so |
# |
Dec 5th 2017, 19:38 |
inoas |
not interested :-)? |
# |
Dec 5th 2017, 19:37 |
hmic |
inoas, i know about elixir |
# |
Dec 5th 2017, 19:37 |
inoas |
5-6min for the demo, then other things |
# |
Dec 5th 2017, 19:37 |
hmic |
whatever, if cake(php) and websockets, will be ratchet likely |
# |
Dec 5th 2017, 19:37 |
inoas |
hmic: let me know what you think about that :p @yt |