CodeIgniter Forums
VueJs + CI 4 - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28)
+--- Forum: CodeIgniter 4 Support (https://forum.codeigniter.com/forumdisplay.php?fid=30)
+--- Thread: VueJs + CI 4 (/showthread.php?tid=70562)

Pages: 1 2


RE: VueJs + CI 4 - dave friend - 09-30-2019

(09-28-2019, 04:37 AM)MGatner Wrote: Follow up question - does anyone have a recommendation for a good AJAX form library?

Take a look at Fetch.


RE: VueJs + CI 4 - MGatner - 09-30-2019

Thanks Dave, I'll check it out some more but initially having zero IE support is a pretty big hit.


RE: VueJs + CI 4 - dave friend - 10-01-2019

(09-30-2019, 05:40 PM)MGatner Wrote: Thanks Dave, I'll check it out some more but initially having zero IE support is a pretty big hit.

Really? IE was replaced by Edge in 2015 and IE11 (and older) is barely over 1% of North American browsers and 3% globally. That doesn't seem like a "big" hit. Fetch does have a polyfill for older browsers. If that doesn't satisfy then maybe sticking with JQuery is the best option.

As window.fetch has native implementations in modern browsers, i.e. Chrome, Firefox, Microsoft Edge, and Safari it seems the logical choice. But that's just me talking.


RE: VueJs + CI 4 - MGatner - 10-01-2019

Hmm I didn't realize IE was down so low - I guess Edge really did it in? I've been reading through the Fetch docs and it is definitely thorough and has that native/raw appeal. One more step in cutting the JQuery ties, now just need Bootstrap 5 to land...


RE: VueJs + CI 4 - Paradinight - 10-02-2019

(10-01-2019, 07:14 PM)MGatner Wrote: Hmm I didn't realize IE was down so low - I guess Edge really did it in? I've been reading through the Fetch docs and it is definitely thorough and has that native/raw appeal. One more step in cutting the JQuery ties, now just need Bootstrap 5 to land...

Create a folder api and put the ajxa code in the folder.


RE: VueJs + CI 4 - albertleao - 10-02-2019

(10-01-2019, 07:14 PM)MGatner Wrote: Hmm I didn't realize IE was down so low - I guess Edge really did it in? I've been reading through the Fetch docs and it is definitely thorough and has that native/raw appeal. One more step in cutting the JQuery ties, now just need Bootstrap 5 to land...

https://caniuse.com/usage_table.php


The only real reason to support IE nowadays is if you're supporting enterprise clients that are still on old windows machines. And if any of you work contracts with corporate america, you'll know how many of these clients still exist. Otherwise, supporting Edge, Chrome 40+, Safari 12+, Firefox 60+ you should be fine.


RE: VueJs + CI 4 - ignitedcms - 10-02-2019

@MGatner, yeah vuejs is great I thought this was a good starter.

https://www.smashingmagazine.com/2018/02/jquery-vue-javascript/


RE: VueJs + CI 4 - MGatner - 10-02-2019

@albertoleao That table seems very skewed by lumping mobile and desktop together, and ignoring OS. It indicates that Safari is used less than IE, even though last I checked most macOS users still use Safari.


RE: VueJs + CI 4 - albertleao - 10-02-2019

(10-02-2019, 08:37 AM)MGatner Wrote: @albertoleao That table seems very skewed by lumping mobile and desktop together, and ignoring OS. It indicates that Safari is used less than IE, even though last I checked most macOS users still use Safari.

It's not. MacOS is only 6% ish of the computer market and tons of users use chrome.