# |
Apr 20th 2017, 12:46 |
inoas |
that's good |
# |
Apr 20th 2017, 12:46 |
inoas |
didn't take a look at vue so far |
# |
Apr 20th 2017, 12:46 |
admad |
it can also be used used directly by just including a js file without any tooling |
# |
Apr 20th 2017, 12:46 |
inoas |
our experience with reactjs/redux so far is: reactjs/jsx = pure gem (aside the understandable annoyance of empty-string vs null) ... redux is a lot of boiler place and I am not sure the choice was so good |
# |
Apr 20th 2017, 12:46 |
admad |
inoas: yes |
# |
Apr 20th 2017, 12:45 |
nk-sonu |
i just kidding.. |
# |
Apr 20th 2017, 12:45 |
Junior |
so no ideeas why the footprint plugin for the users model work but for my orders model it does not? |
# |
Apr 20th 2017, 12:45 |
admad |
*pinging |
# |
Apr 20th 2017, 12:45 |
inoas |
admad you mean vue is easier to grasp than angular? |
# |
Apr 20th 2017, 12:45 |
admad |
nk-sonu: don't go about pining people individually and annoying them. If someone is interested they will answer. |
# |
Apr 20th 2017, 12:44 |
nk-sonu |
@admad can you take a look at my issue ? i am not getting what is the issue.. @spriz looking for money ;) :P |
# |
Apr 20th 2017, 12:44 |
iqu |
:) |
# |
Apr 20th 2017, 12:44 |
iqu |
ok, terrible |
# |
Apr 20th 2017, 12:43 |
admad |
"horrible" might not be the right term, but they certainly have a steeper learning curve |
# |
Apr 20th 2017, 12:43 |
iqu |
but angular is just too much.. |
# |
Apr 20th 2017, 12:43 |
iqu |
even reactjs is mostly horrible |
# |
Apr 20th 2017, 12:42 |
admad |
it is a lot easier to grasp than angular :slightly_smiling_face: |
# |
Apr 20th 2017, 12:42 |
iqu |
admad: yep. thats true. I think that i will be changing from jquery sometime soon. vuejs looks cool compared to terrifying angular :D |
# |
Apr 20th 2017, 12:41 |
admad |
crazycoder: foc/crud uses custom exception render for json |
# |
Apr 20th 2017, 12:37 |
admad |
iqu: it would be the same as using any frontend js libs. Cake would be used just to serve the REST API |
# |
Apr 20th 2017, 12:37 |
spriz |
if that doesn't work, chances are you have trouble in your table classes. |
# |
Apr 20th 2017, 12:37 |
spriz |
@nk-sonu this should guide you https://book.cakephp.org/3.0/en/orm/retrieving-data-and-resultsets.html#retrieving-associated-data |
# |
Apr 20th 2017, 12:36 |
nk-sonu |
simple question how can i get associated data in this. that is not coming.. i tried with select , contain but no luck... |
# |
Apr 20th 2017, 12:33 |
spriz |
put in some more details, preferably in a gist about the generated SQL and maybe the schema :slightly_smiling_face: |
# |
Apr 20th 2017, 12:33 |
iqu |
anyone used vuejs with cakephp |
# |
Apr 20th 2017, 12:32 |
nk-sonu |
:slightly_smiling_face: you were active there so asked.. |
# |
Apr 20th 2017, 12:32 |
spriz |
no worries :+1: |
# |
Apr 20th 2017, 12:32 |
spriz |
sure, but when you tag a single person it's no longer "the community" ;) |
# |
Apr 20th 2017, 12:32 |
nk-sonu |
sorry |
# |
Apr 20th 2017, 12:31 |
nk-sonu |
@spriz haha.. its CakePHP community . we are here to help each other.. :slightly_smiling_face: |
# |
Apr 20th 2017, 12:31 |
spriz |
@nk-sonu also if anyone are able to help, they'll answer. If you're looking to get expert help, you should expect to pay an expert :slightly_smiling_face: |
# |
Apr 20th 2017, 12:30 |
spriz |
@nk-sonu That query doesn't really provide enough details - what's the generated SQL? |
# |
Apr 20th 2017, 12:29 |
crazycoder |
anyone manage custom exception render for json requests? |
# |
Apr 20th 2017, 12:29 |
nk-sonu |
https://cakesf.slack.com/files/nk-sonu/F52PBFQ87/-.php |
# |
Apr 20th 2017, 12:29 |
nk-sonu |
@spriz can you look my issue plz. |
# |
Apr 20th 2017, 12:25 |
Junior |
and haven't figured out why yet |
# |
Apr 20th 2017, 12:25 |
Junior |
But if i do the same for my OrdersTable - class OrdersTable extends \App\Model\Table\AppTable i do not get user data |
# |
Apr 20th 2017, 12:25 |
Junior |
After i login , in the users table the modifiedby is saved |
# |
Apr 20th 2017, 12:24 |
Junior |
and inside src/Model/Table/AppTable.php inside the initialize i add the behaviour |
# |
Apr 20th 2017, 12:24 |
Junior |
And now i do: class UsersTable extends \App\Model\Table\AppTable |
# |
Apr 20th 2017, 12:24 |
Junior |
So my mode is inside :plugins/AuthAcl/src/Model/Table/UsersTable.php |