Log message #4171683

# At Username Text
# Dec 29th 2018, 18:22 itmpls lol
# Dec 29th 2018, 18:21 k4t and well... google is not the only search engine... I know I know...
# Dec 29th 2018, 18:21 NickBusey Also it will be targeting self Hosters, so no bandwidth concerns. Also the core cake app remains if they prefer
# Dec 29th 2018, 18:21 NickBusey For my app seo is definitely not a concern
# Dec 29th 2018, 18:20 challgren Plus why force your users that maybe on limited BW to download 5mbs when they only need like 700kb
# Dec 29th 2018, 18:20 challgren Hehe yep! But I’m also a SEO guy so Im not a fan of SPAs cause of that.
# Dec 29th 2018, 18:19 itmpls @challgren would like to launch that rocket launcher at SPAs :P
# Dec 29th 2018, 18:19 challgren And also look at page load time. SPA causes huge load times from my experiences. I’ve seen SPA apps taking as much as 5mbs just to load
# Dec 29th 2018, 18:18 itmpls such as?
# Dec 29th 2018, 18:18 k4t but there are some improvements/tricks to get better SEO when you are creating SPA app
# Dec 29th 2018, 18:18 itmpls but who knows the full extent
# Dec 29th 2018, 18:18 itmpls not new
# Dec 29th 2018, 18:18 itmpls since many years
# Dec 29th 2018, 18:18 itmpls yep
# 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