r/PHPhelp • u/Excell2178 • May 14 '25
Building an application from scratch using CodeIgniter + jQuery + MySQL
Hello,
The team I'm working with on a project is planning to build an application using these tools, but they are open to alternatives. Knowing that the application must be able to handle tens of thousands of user records.
Would you recommend using these tools, or would you suggest others instead?
I have already proposed React + PostgreSQL instead of jQuery and MySQL, and it's currently under consideration.
2
Upvotes
7
u/equilni May 14 '25
This is a r/webdev question as the only tie in to PHP here is CI.
Handle how? Storage? That's a database question - r/databasehelp. Either can handle millions of records.
Based on what parameters? What are the other application requirements? What does the team know (ie do they need additional training, devs, etc)?
2
u/mrdarknezz1 May 14 '25
Personally I’d go with either symfony or laravel since I know I’ll get the tools I’ll need. They’re both perfectly fine to pair with a react frontend. You should definitely use Postgres
3
u/martinbean May 14 '25
CodeIgnitor and jQuery are both dated.
You should also be picking your technology based on how applicable to the problem they are. No one here is going to be able to tell you what “tools” to use because we have no idea what you actually want to build.
6
u/MateusAzevedo May 14 '25
That totally irrelevant. Any database, MySQL, PostgreSQL, MS SQL, even SQLite can handle much more than that. If you meant the framework/PHP being able to handle that, then it entirely depends on your code.
That said, I personally think that CodeIgniter didn't evolve to handle current code standards like Symfony and Laravel did. Specially important if you consider the huge ecosystem these frameworks have.
I feel the same about JQuery. It was a God sent library in the IE6 era, but mostly unnecessary nowadays, as the JS spec and browser compatibility is a no problem. By the way, you can't compare JQuery with React, totally different beasts.
That's just to say that personally, I'd chose Symfony/Laravel for the backend framework and only go React/Vue route if the application requires some sort of SPA or complex frontend state management. Otherwise, just plain old Twig/Blade templates, sprinkled with htmx or AlpineJS for the eventual necessary reactivity.
But to be real, none of that really matter, or at least not that much. Choosing something that your team already knows and are comfortably with will likely play a bigger role on the success of the project. Don't chose some new tech that no one knows, that will hinder development and will cause more problems than it solves.
2
u/elonelon May 14 '25
Use laravel for backend, u can use react for UI/UX, use standar database like MySQL, mongodb for noSQL.
for notifications, u can use Firebase with websocket feature.
1
u/XamanekMtz May 14 '25
I’d suggest AlpineJS to replace jQuery, CodeIgniter dunno, never used it, any relational database can handle millions of records don’t worry about it.
1
u/thmsbrss May 14 '25 edited May 14 '25
I could imagine that https://htmx.org/ or https://unpoly.com/ is a better choice than JQuery or React.
I released a project using Unpoly this year, that looks and feels like an SPA, but only ships with about 100 loc of JavaScript.
1
u/Turbulent-Cup-9987 May 15 '25
Most of the time, I use codeigniter with jQuery and MySQL or PostgreSQL. Codeigniter is dated and full of features. jQuery too. Go for it.
0
u/oldschool-51 May 14 '25
I recommend just PHP and MySQL and keep all rendering in the server - just deliver HTML and CSS. Packages add bloat, and client side data fetching and rendering is always slow.