# |
Jul 3rd 2017, 07:04 |
adriencs |
o/ |
# |
Jul 3rd 2017, 07:01 |
savant |
pidlo: did you just put them there for convenience? |
# |
Jul 3rd 2017, 07:00 |
pidlo |
hello all in cakphp2x i use some own functions in app_model . Where i can put this functions in cakephp3 ? |
# |
Jul 3rd 2017, 06:13 |
ashish_onmobile |
@loganstrob I will suggest phpstromis good one |
# |
Jul 3rd 2017, 05:49 |
loganstrob |
thank you |
# |
Jul 3rd 2017, 05:49 |
loganstrob |
oh okk |
# |
Jul 3rd 2017, 05:48 |
savant |
but normally sublime text |
# |
Jul 3rd 2017, 05:48 |
savant |
or Atom |
# |
Jul 3rd 2017, 05:48 |
savant |
i use that as well |
# |
Jul 3rd 2017, 05:47 |
loganstrob |
i use sublime text |
# |
Jul 3rd 2017, 05:47 |
loganstrob |
And what would you suggest as a good development environment for cakephp? |
# |
Jul 3rd 2017, 05:45 |
loganstrob |
okk |
# |
Jul 3rd 2017, 05:44 |
savant |
- ssh to the box - pull the latest code from git - build any assets - clear your cache |
# |
Jul 3rd 2017, 05:44 |
savant |
if you are pushing your code to a central git server |
# |
Jul 3rd 2017, 05:43 |
savant |
a simple way would be to copy all your files onto your server, then clear your cache |
# |
Jul 3rd 2017, 05:43 |
loganstrob |
yeah i do have ssh access |
# |
Jul 3rd 2017, 05:37 |
loganstrob |
alryt |
# |
Jul 3rd 2017, 05:37 |
savant |
you either do or you dont |
# |
Jul 3rd 2017, 05:37 |
savant |
can you check? |
# |
Jul 3rd 2017, 05:37 |
loganstrob |
i guess |
# |
Jul 3rd 2017, 05:37 |
savant |
do you have ssh access to your server? |
# |
Jul 3rd 2017, 05:36 |
loganstrob |
i am fairly new to this.. |
# |
Jul 3rd 2017, 05:36 |
loganstrob |
cpanel |
# |
Jul 3rd 2017, 05:35 |
savant |
what do you have for a hosting provider? |
# |
Jul 3rd 2017, 05:34 |
loganstrob |
what is the best way to deploy my cakephp website online during development? |
# |
Jul 3rd 2017, 05:18 |
loganstrob |
alright yeah exactly what i wanted thanks a lot |
# |
Jul 3rd 2017, 05:18 |
savant |
it shows you how to make requests and retrieve the data from them |
# |
Jul 3rd 2017, 05:18 |
loganstrob |
thank you so much |
# |
Jul 3rd 2017, 05:17 |
loganstrob |
okk |
# |
Jul 3rd 2017, 05:17 |
savant |
You can use the http client I pointed you at |
# |
Jul 3rd 2017, 05:17 |
loganstrob |
soo whatever json data they provide me with i want to be able to access it and store it in an array |
# |
Jul 3rd 2017, 05:17 |
loganstrob |
i want to access a url which i know will provide me wit a json data |
# |
Jul 3rd 2017, 05:15 |
savant |
is this in php or on the browser? |
# |
Jul 3rd 2017, 05:15 |
loganstrob |
soo would it help? |
# |
Jul 3rd 2017, 05:15 |
loganstrob |
i guess what i am looking for is a jsonp response |
# |
Jul 3rd 2017, 05:14 |
savant |
https://book.cakephp.org/3.0/en/core-libraries/httpclient.html |
# |
Jul 3rd 2017, 05:14 |
savant |
@loganstrob you can use the Http client |
# |
Jul 3rd 2017, 04:59 |
loganstrob |
What is the best practice for accessing an external url...which will provide me with some json data on that url and...how do i store it in an array and decode it? |
# |
Jul 3rd 2017, 04:12 |
admad |
If you use belonsToMany with 'through' option then can just specify 'conditions' in the association config |
# |
Jul 3rd 2017, 03:08 |
btx |
only way i’ve been able to get it to work is by avoiding the ‘through’ and just doing A > B < C |
# |
Jul 3rd 2017, 03:07 |
btx |
yup |