# |
Dec 29th 2018, 18:17 |
k4t |
google bots are able to execute JavaScript |
# |
Dec 29th 2018, 18:17 |
k4t |
SEO for SPA apps is a bit different story |
# |
Dec 29th 2018, 18:17 |
itmpls |
or you mean some other part of SEO |
# |
Dec 29th 2018, 18:17 |
k4t |
if statement is executing |
# |
Dec 29th 2018, 18:17 |
itmpls |
history or push states or what not? |
# |
Dec 29th 2018, 18:17 |
itmpls |
if you use certain techniques |
# |
Dec 29th 2018, 18:17 |
challgren |
@k4t remove the if statement |
# |
Dec 29th 2018, 18:17 |
itmpls |
isn't google smart enough to detect JS nowadays? |
# |
Dec 29th 2018, 18:16 |
challgren |
But Nicks approach sounds like it doesnt need SEO |
# |
Dec 29th 2018, 18:16 |
k4t |
@admad I added following code to my AppController: https://gist.github.com/K4T/6b6e9b73b214fd1d9fd3bda235cbea97 and it still wants from me to create view templates when I use url without .json extension ;( |
# |
Dec 29th 2018, 18:15 |
challgren |
Yall must not care about SEO |
# |
Dec 29th 2018, 18:15 |
k4t |
I did some code in AngularJS 1.x and meh... that was terrible experience |
# |
Dec 29th 2018, 18:15 |
k4t |
I choosed Vue becuase of small learning curve and it is really easy (it looks like it is easy...) |
# |
Dec 29th 2018, 18:14 |
k4t |
@nickbusey funny as at the moment I am working on REST API in Cake for my SPA which I will create jsut for learn Vue |
# |
Dec 29th 2018, 18:13 |
challgren |
I’d rather a rocket launcher :P |
# |
Dec 29th 2018, 18:09 |
NickBusey |
Also, I wanted to play with the machine gun, not the screwdriver ;) |
# |
Dec 29th 2018, 18:08 |
NickBusey |
I mean, I haven't used React before the past week or so, and I have a fully working CRUD interface with pagination already |
# |
Dec 29th 2018, 18:08 |
itmpls |
hah |
# |
Dec 29th 2018, 18:08 |
itmpls |
it's like a godamn machine gun when you need a screwdriver |
# |
Dec 29th 2018, 18:07 |
itmpls |
yeah, react is way too complex |
# |
Dec 29th 2018, 18:07 |
NickBusey |
From what I have read Vue is better to add small bits of functionality to multipage webapps, whereas react is better for single page apps |
# |
Dec 29th 2018, 17:53 |
NickBusey |
*shrug* why not React? heh |
# |
Dec 29th 2018, 17:50 |
itmpls |
in afterSave |
# |
Dec 29th 2018, 17:50 |
itmpls |
is there a way to still access the fact that it's dirty? |
# |
Dec 29th 2018, 17:50 |
k4t |
why not Vue @nickbusey? |
# |
Dec 29th 2018, 17:50 |
itmpls |
though other fields after dirty, i'm guessing since it isn't a "pure" field |
# |
Dec 29th 2018, 17:49 |
itmpls |
my belongsToMany is dirty in beforeSave but not in afterSave |
# |
Dec 29th 2018, 17:49 |
itmpls |
ah I think I found my issue |
# |
Dec 29th 2018, 17:49 |
itmpls |
oh cool |
# |
Dec 29th 2018, 17:18 |
NickBusey |
Just using cake as the backend for an api |
# |
Dec 29th 2018, 17:17 |
NickBusey |
So, to turn cake into an SPA basically |
# |
Dec 29th 2018, 17:17 |
NickBusey |
Wiring up https://preview.pro.ant.design/ |
# |
Dec 29th 2018, 17:17 |
itmpls |
to warrant react |
# |
Dec 29th 2018, 17:17 |
itmpls |
what components are you using for react, nickbusey? |
# |
Dec 29th 2018, 17:16 |
NickBusey |
Oh nice, looks like 4.0 is coming along nicely.. anyone know if the Events system is going to get some love with 4.0? |
# |
Dec 29th 2018, 17:15 |
NickBusey |
I'm hoping to get this little react<->cake project working, stripping it down to barebones and releasing it as a starter template |
# |
Dec 29th 2018, 17:08 |
nayakvradhit |
Hi can you please tell me which default files in cakephp 2.10 is not modified while migrating to php7? |
# |
Dec 29th 2018, 16:57 |
challgren |
Or it could be today depending on your TZ :P |
# |
Dec 29th 2018, 16:56 |
k4t |
hehe, tomorrow ;p |
# |
Dec 29th 2018, 16:56 |
challgren |
https://github.com/cakephp/cakephp/milestone/187 |
# |
Dec 29th 2018, 16:54 |
admad |
GitHub milestone might have it |