• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
VueJs + CI 4

#9
(09-27-2019, 04:59 PM)MGatner Wrote: If anyone is still watching this thread... I’ve been using JQuery with a few plugins and a few of my own copy-paste “usuals” for years. I decided it’s time to update to some real front-end tech and after reading through a number of comparisons I found VueJS was really my style. I worked through some tutorials and made some a few components and got ready to try my first integration with CI4 - and I couldn’t figure out why I would. Don’t get me wrong, Vue is awesome and makes some magic happen, but it was basically adding a layer between my C and V that I don’t need. The one thing that I was most looking forward to was tight RESTful CRUD forms but a lot of that automation appears to be outsourced to Axios. Most of the time it seems like I will be injecting entity data into JS components that I could be handling directly with view templates.

So, genuinely curious, what are CI4 develops using heavy front-end tech for?

If you're just using it for small bits of interactivity on a page, it's likely not needed.

Front-end frameworks can provide a more seamless, interactive, app-like experience that can be more pleasing to the end user. If that's the experience your app could benefit from, then they can be worth it.

At my company, we've started using React a lot over the last year because we do a lot of projects that involve both a website and mobile apps. Since we have to write an API anyway, it often makes sense to reuse what code we can and have the site built with front-end libs, using the same API as the mobile apps.

Are they necessary? Nope - and they can give a lot of bloat to your site if you're not careful, as well as land you in dependency hell. Smile
Support Development  • Practical CodeIgniter 3  •
Myth:AuthVulcan - CLI Tools for CI4
Reply


Messages In This Thread
VueJs + CI 4 - by ponzo - 04-26-2018, 01:54 PM
RE: VueJs + CI 4 - by albertleao - 04-26-2018, 02:43 PM
RE: VueJs + CI 4 - by ponzo - 04-26-2018, 03:00 PM
RE: VueJs + CI 4 - by kilishan - 04-26-2018, 08:32 PM
RE: VueJs + CI 4 - by ponzo - 04-27-2018, 10:43 AM
RE: VueJs + CI 4 - by ponzo - 04-28-2018, 05:34 AM
RE: VueJs + CI 4 - by MGatner - 09-27-2019, 04:59 PM
RE: VueJs + CI 4 - by donpwinston - 09-27-2019, 08:00 PM
RE: VueJs + CI 4 - by kilishan - 09-27-2019, 09:59 PM
RE: VueJs + CI 4 - by MGatner - 09-28-2019, 04:37 AM
RE: VueJs + CI 4 - by dave friend - 09-30-2019, 01:06 PM
RE: VueJs + CI 4 - by MGatner - 09-30-2019, 05:40 PM
RE: VueJs + CI 4 - by dave friend - 10-01-2019, 08:11 AM
RE: VueJs + CI 4 - by MGatner - 10-01-2019, 07:14 PM
RE: VueJs + CI 4 - by Paradinight - 10-02-2019, 06:46 AM
RE: VueJs + CI 4 - by albertleao - 10-02-2019, 07:09 AM
RE: VueJs + CI 4 - by ignitedcms - 10-02-2019, 08:08 AM
RE: VueJs + CI 4 - by MGatner - 10-02-2019, 08:37 AM
RE: VueJs + CI 4 - by albertleao - 10-02-2019, 08:18 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.