I need a Support regarding to check the SQL structure, is correct or not? #239
Replies: 2 comments
-
Hello @ManikandanS8377, and welcome to SQLPage ! It's great that you're looking to optimize your code and improve performance! While this forum is specifically for discussions related to the SQLPage framework, it sounds like you're working on a broader software development issue. I'm not able to provide specific feedback on your PHP code. However, I would encourage you to explore using SQLPage itself for your project. It's a web framework specifically designed to simplify data-driven applications and can handle complex queries and data manipulation tasks efficiently. You can get started with SQLPage by following the installation and tutorial guides on the official website: https://github.com/lovasoa/SQLpage If you give SQLPage a try and find that it meets your needs, you can then ask more specific questions related to using the framework on the forum. The community is always happy to help with SQLPage-related inquiries! I hope this helps! |
Beta Was this translation helpful? Give feedback.
-
If you're familiar with CodeIgniter (CI4) and but not SQLPage, here is a short introduction What is SQLPage?Imagine CI4, but specifically designed for crafting data-driven applications. SQLPage takes care of all the boilerplate you usually have to write manually in PHP, letting you focus on defining the core logic and user interface of your application. It achieves this by:
Advantages over CodeIgniter for data-driven apps:
Key differences to keep in mind:
Is SQLPage for you?If you're primarily building data-driven applications and value development speed, security, and simplicity, SQLPage is definitely worth considering. It can streamline your workflow and potentially reduce development time. However, if your project requires extensive complex application logic beyond data manipulation, CI4 might offer more flexibility. Trying out both frameworks on small projects can help you determine which one better suits your specific needs and preferences. |
Beta Was this translation helpful? Give feedback.
-
I have worked in the Performance optimization part of the software in an Organization. I have reduced the Time complexity Min into Sec. For that I have replaced the nested looping statement. And for each iteration Same SQL query will execute so that the performance very poor. Now I have restructure the SQL query using where clause. But I need to get confirmation about the Implementation is correct or not. Kindly share you thoughts. I have attached the code as well.
CI4 Model Code:

Beta Was this translation helpful? Give feedback.
All reactions