![]() |
Ci4 as Single Page Application (SPA) - 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: Ci4 as Single Page Application (SPA) (/showthread.php?tid=80709) |
Ci4 as Single Page Application (SPA) - 68thorby68 - 12-07-2021 Hi, Has anyone used Ci4 to create a Single Page Application? My end game is to create a SPA for certain functions of my Ci4 development to use with Apache Cordova, so I can generate an App for these functions only, while maintaining a single code base. I woiuld be interested to hear from anyone who has attempted and Ci4 SPA development and to hear what other tools you might recommend to achieve this? Thanks. RE: Ci4 as Single Page Application (SPA) - seunex - 12-07-2021 I use CI4 for my React JS Application. RE: Ci4 as Single Page Application (SPA) - 68thorby68 - 12-15-2021 Many thanks seunex, My application is designed (mainly) for desktop use and is therefore 100% accessed via a browser atm. However, I think parts of the application will probably benefit being access via an app. From what I've read I believe I can use Apache Cordova to generate the app (PWA approved for iOS & Android) from a single Ci4 codebase, as long everything I want to serve from Apache Cordova is SPA. It looks like React could be the holy grail I've been searching for. Much appreciated, this is very helpful. RE: Ci4 as Single Page Application (SPA) - dgvirtual - 01-27-2022 (12-07-2021, 04:13 AM)seunex Wrote: I use CI4 for my React JS Application.Hi, what do you use for user management server-side? RE: Ci4 as Single Page Application (SPA) - John_Betong - 01-27-2022 @68thorby68, Take a look at https://github.com/ampproject Although originally created to decrease mobile rendering time it is fantastic at SPA. I used CI3 to create the following demo which renders 1,000’s of thumbnails in seconds! Don’t forget to scroll to the bottom ![]() www.johns-jokes.com/all-the-pictures |