What I want is to display data from mysql database based on inputs from form. The website is live at http://condense.press/ Which of the following is a good architecture.
1) Directly interaction with database and displaying in iframe. This one is currently used at the master branch.
2) Directly interaction with database and displaying with ajax. This is done at https://github.com/agnelvishal/Condense.press/pull/22
3) Using curl to call rest api which interacts with database. This is done at https://github.com/agnelvishal/Condense.press/pull/24
4) Using ajax and rest api.
5) Using frontend frameworks like vue or angular.
Expecting answers from #Hacktoberfest
In my opinion Vue is going to be the better option for your current project goals. Vue has a much lower barrier for entry, clean cut in how it works, and you get to enjoy the benefits of a reactive DOM using it. That is to not say Angular is not a capable option; However the overhead with included features and functions of Angular may be a bit outside the scope of what is needed here currently.
What I want is to display data from mysql database based on inputs from form. The website is live at http://condense.press/ Which of the following is a good architecture. 1) Directly interaction with database and displaying in iframe. This one is currently used at the master branch. 2) Directly interaction with database and displaying with ajax. This is done at https://github.com/agnelvishal/Condense.press/pull/22 3) Using curl to call rest api which interacts with database. This is done at https://github.com/agnelvishal/Condense.press/pull/24 4) Using ajax and rest api. 5) Using frontend frameworks like vue or angular. Expecting answers from #Hacktoberfest