Real Time Search Filter common in web javascript
-
Hi there,
Im a noob to C++ QT, recently made a web app with Python, and decided to learn C++ so I have some street cred to join discussions when joining discussions on criticizing or complimenting OOP.I got some basics down, I got a workflow and decent understanding going on, knowing to how look at online code browser for Qt
I want a substantial project (inspired by some conferences Ive watched about having something substantial when a language/paradigm, so I decided to simply copy the amount of data I had for that project to make crud app.
I want a real time search and filter for table displaying data from an external PostgreSQL, similar to what you have in web apps.
What are some of modeuls/widgets I should be reading on to get adjacent to such working code. (apart from the SQL parts, which I know-ish)
Also, if there are cool blogs apart from the official doc, Id appreciate it ver much.
Regards,
Ardie -
Hi and welcome to devnet,
Some things are not quite clear:
- Do you want to create your crud backend with Qt and also have a GUI talking to that backend ?
- Do you want your application to replace the crud part and talk directly with the database ?
-
Hi and welcome to devnet,
Some things are not quite clear:
- Do you want to create your crud backend with Qt and also have a GUI talking to that backend ?
- Do you want your application to replace the crud part and talk directly with the database ?
@SGaist I want the crud backend with Qt. But Im curious, what do you exactly mean by the 2nd one? I just want everything in Qt. Of course, Im still learning, but it would be nice to do something substantial. So if there's somehow a better more sensible way I wanna hear it. It seems like Qt is very powerful and can achieve more in a dynamic user interface, so i wanna see how far I can go with just exploring.
Sorry thats a tangent, basically the code includes creating tables from scratch from a locked button, and CRUD and its entry form, and a real time filter and search from a single table at first.
-
Since you mentioned web app, my thoughts were:
- you have a REST backend in Python using something like flask, Django, FastAPI for the CRUD part that communicates with the database.
- you have a front-end that communicates with the REST backend.
Hence my question whether you wanted to implement the REST API with Qt as well as the front end, or just the front-end that would discuss with your Python based API.