Posts: 22
Threads: 3
Joined: Apr 2019
Reputation:
0
03-05-2020, 04:17 PM
(This post was last modified: 03-05-2020, 04:58 PM by tweenietomatoes.)
I am just wondering if there are any people out there who's using CI with JS frameworks rather than traditional web apps?
Is it easy to integrate?
Posts: 7
Threads: 2
Joined: May 2017
Reputation:
0
you can just use api from CI and build your js framework seperately
Posts: 477
Threads: 18
Joined: Oct 2014
Reputation:
21
I use Vue with codeigniter 3.
My codeigniter app is just a json backend at this point. Having a json backend that's not coupled with the front end makes it easier to port applications too (I'm currently converting my CI app to Laravel).
Codeigniter is simply one of the tools you need to learn to be a successful developer. Always add more tools to your coding arsenal!
Posts: 22
Threads: 3
Joined: Apr 2019
Reputation:
0
Actually if i would use a fullstack or almost fullstack framework/toolkit like CI, ~especially in PHP where we can easly integrate into front end code at server-side(they're trying to advert JS as only logical thing to use in front end and lastly asp.net's blazor)~, i would not want to waste my time trying to handle JWT to auth user instead of using server-side sessions. I am not familiar with SPA user auth. Is there any recommendations?
I am thinking to use JWT in SPA and keep user token with cookie-js to persist it.
Posts: 103
Threads: 9
Joined: Jan 2015
Reputation:
12
We use CI with ReactJS for an application that is a SaaS for 1700 locations with thousands of concurrent users (all day long too) - we handle a boat load of POS transactions, appointments, services, etc all through the app, largely using ReactJS front end.
So, yes, it can do it very well.