# |
Oct 4th 2016, 01:11 |
robodna |
@savant I'm actually writing a business app... the /vm was just a simple example :slightly_smiling_face: |
# |
Oct 4th 2016, 01:08 |
robodna |
yep, just needed all the info I can gather to decide which direction to head in, thanks |
# |
Oct 4th 2016, 01:08 |
sinusss |
https://gist.github.com/anonymous/620e90f514aad688468a7f48d846e92c can anyone share their php dockerfile with the usual extensions? |
# |
Oct 4th 2016, 01:06 |
sinusss |
!paste |
# |
Oct 4th 2016, 01:05 |
robodna |
maybe, but just gathering info at this point so I can understand how I would be bike-shedding |
# |
Oct 4th 2016, 01:05 |
sinusss |
Anyone having problem installing `intl` extension in docker? |
# |
Oct 4th 2016, 01:05 |
robodna |
I though PATCH did not work on Android? |
# |
Oct 4th 2016, 01:04 |
robodna |
@savant I'm also a bit worried about coming into some type of unforeseen 'show stopper' building a fully RESTful API... with routes, I"m guessing I can represent all my URLS as nouns. I may need to add controllers to represent REST resources instead of using 'actions' in my controllers,... so instead of /vm/1/stop I can have POST /vm/1/vm-powerstate and have vm-powerstate as a controller instead of an action in vm_controller... |
# |
Oct 4th 2016, 01:00 |
robodna |
ok cool. Is the following route file you sent me all for rest, or are there non-rest routes in there? If i understand correctly, the books:book_id/chapters/:chapter_id route is a restul one as you have patch too... |
# |
Oct 4th 2016, 00:51 |
robodna |
I have the 'fully restufll endpoints' routed, but do I also add routes for any related resource, like /books/:book_id/chapters/:chapter_id? I may end up with about 100 route entries if I need to do that... |
# |
Oct 4th 2016, 00:50 |
robodna |
@savant you helped me a few months ago with my REST api routing question. Do you have fully RESTful apis or do you sometimes sneak in some RPC? I'm looking at the route.php file you sent me :slightly_smiling_face: |
# |
Oct 3rd 2016, 22:59 |
cakephp333 |
Hey guys. I can't find in the documentation about my case. I have a "studies" table, with a foreign key "patient_id" and a table "orders" with a id "study_patient_id". "study_patient_id" referes to patient_id from studies. So cakephp will recognize this relation in bake? The naming convetion is okay? Or I need to adjust in the model first? |
# |
Oct 3rd 2016, 22:20 |
inoas |
Gnite bakress and bakers |
# |
Oct 3rd 2016, 22:15 |
inoas |
Okay, cleanup day done for me |
# |
Oct 3rd 2016, 21:35 |
inoas |
admad and thanks for pointing out how easy it is to contribute via clone + composer install |
# |
Oct 3rd 2016, 21:35 |
thinkingmedia |
LAMP stack running CakePHP 3 on Digital Ocean nodes. |
# |
Oct 3rd 2016, 21:34 |
thinkingmedia |
https://ahtag.com/ |
# |
Oct 3rd 2016, 21:34 |
inoas |
) |
# |
Oct 3rd 2016, 21:34 |
thinkingmedia |
thanks, the launch went okay. Lost a little sleep but at least the website is now in beta. |
# |
Oct 3rd 2016, 21:34 |
dereuromark |
at least if you want to continue to support the old way for BC reasons |
# |
Oct 3rd 2016, 21:33 |
dereuromark |
if you extend it you most likely will also have to call that one in some way |
# |
Oct 3rd 2016, 21:33 |
inoas |
okay, I do think its a valid use case for a private, as it is a deprecation helper method - but no probs changing brb |
# |
Oct 3rd 2016, 21:33 |
dereuromark |
well, but still |
# |
Oct 3rd 2016, 21:33 |
inoas |
deprecation method |
# |
Oct 3rd 2016, 21:33 |
inoas |
that's a depreation method |
# |
Oct 3rd 2016, 21:33 |
dereuromark |
its a framework, classes are meant to be extended |
# |
Oct 3rd 2016, 21:33 |
dereuromark |
why not? |
# |
Oct 3rd 2016, 21:32 |
inoas |
dereuromark, yes but any hints at why (I like to understand)? |
# |
Oct 3rd 2016, 21:32 |
inoas |
thinkingmedia good luck with your launch btw :) |
# |
Oct 3rd 2016, 21:32 |
dereuromark |
use protected |
# |
Oct 3rd 2016, 21:32 |
inoas |
e.g. in the core |
# |
Oct 3rd 2016, 21:32 |
inoas |
like private function _deprecateModelOption(array $options) |
# |
Oct 3rd 2016, 21:31 |
inoas |
what's the reason for now private functions? |
# |
Oct 3rd 2016, 21:13 |
bravo-kernel |
thanks, the existing sources and tests help a lot :slightly_smiling_face: |
# |
Oct 3rd 2016, 21:08 |
admad |
good going on the jsonapi listener :clap: |
# |
Oct 3rd 2016, 21:07 |
admad |
now! |
# |
Oct 3rd 2016, 21:07 |
bravo-kernel |
but.. will do |
# |
Oct 3rd 2016, 21:06 |
bravo-kernel |
lol |
# |
Oct 3rd 2016, 21:06 |
admad |
do it! :slightly_smiling_face: |
# |
Oct 3rd 2016, 21:05 |
bravo-kernel |
:punch: |
# |
Oct 3rd 2016, 21:05 |
bravo-kernel |
I will create three new classes that will fit all crud jsonapi cases then |