Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rest api or direct database? Ajax or curl? #25

Open
agnelvishal opened this issue Oct 23, 2018 · 2 comments
Open

Rest api or direct database? Ajax or curl? #25

agnelvishal opened this issue Oct 23, 2018 · 2 comments
Labels
Hacktoberfest question Further information is requested

Comments

@agnelvishal
Copy link
Owner

agnelvishal commented Oct 23, 2018

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 Iframes to ajax #22
  3. Using curl to call rest api which interacts with database. This is done at Code migrated from using direct database calls to using the rest-api. #24
  4. Using ajax and rest api.
  5. Using frontend frameworks like vue or angular.
    Expecting answers from #Hacktoberfest
@agnelvishal
Copy link
Owner Author

@LegacyStackCrash @intelliapps Have opinions?

@devdadmax
Copy link

devdadmax commented Oct 23, 2018

  1. See my response on Use rest api instead of sql statements. #Hacktoberfest #23
  2. 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.

@agnelvishal agnelvishal added the question Further information is requested label Oct 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Hacktoberfest question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants