Ajax insert data into mysql [closed] - rest

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I need to save some data into mysql, let´s say "LONDON" and I can use Javascript , jQuery and Ajax, but NO node.js or PHP.
Is there any way to do it?
Thanks,
R.

There is no way to connect to MySQL server using only JavaScript, jQuery or Ajax directly because connecting to DB server to save or retrieve data is what server does which none of 3 can do alone.
However, there is service that does the server-like tasks for you.
https://www.dreamfactory.com/
Please take a look.

A solution for this problem would be to use the micro-services architecture and the RESTful Web Services.
Javascript could send the data to an URL and on the server side the data would be sent to the database.

Related

Wicket Framework connect in database [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 5 years ago.
Improve this question
I am recently new here. I have a problem about Apache Wicket Framework version 1.6.0 using IDE netbeans 8.0 to Create Login Form and to connect in mysql database .I have many errors please reply on my problem
Wicket is unmanaged UI Framework. There is no way to use Wicket to connect to database.
You have to use any other mean to connect to database.
Here are some steps that might be of use:
1. Learn to access database in Java
Connect Java to a MySQL database
2. Process information obtained from Database
3. Use Apache wicket to display information obtained from database to user. In your case, IF user is authorized then redirect to other page.

WSO2 BAM: howto send log event via REST endpoint [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
I want to send log events to BAM 2.4.1 via client REST but I dont find any example about it so I need to know what is the endpoint url and some example about building of the json message to send.
Thanks in advance for any help
Currently, it doesn't have a REST API to publish events. Current options are listed here.
In addition you can use Analytics JavaScript (JS) API as well. It has this limitation.
Currently due to a limitation, client applications should be deployed
in the same domain as the Dashboard server. i.e -
DAS_HOME/repository/deployment/server/webapps

I want to test postgres database using selenium [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I successfully integrate the postgres and eclipse but unable to test the database. I need to know where can i get help if any suggestions would be appreciate.By the way i am using java. Thanks in advance.
Selenium is not the right tool here, as it is a tool for automating testing of web front-ends. You cannot directly test your database using this tool.
You can test an application like phppgadmin, but it isn't clear that is what you want.
A better approach is just to write test cases through jUnit and jdbc, in my view. That gives you better control and testing than you can via a web front-end and it is easier to solve the question of whether you want transactions to rollback or not (selenium poses this problem since it is indirect and tests a web app that interacts with the db over a stateless connection).

Get data of website [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I'd like to get the data of a website. I'd like to display the table in an app. Do you have an idea how I could do it? Thanks for your answers!
Usually, you'd want the maintainer of the data you need to supply some API for machine-to-machine communication (a REST JSON web service, for example).
Since you are asking how to display the table in an app:
the easiest way would be to just point an UIWebView that way and go from there.
a more native look might be acomplished by parsing the data. As you included several 'parsing' tags, I guess this is what you'd prefer.
The problem with HTML scraping web pages (what you probably hope to do) is that the data you are looking for and foremost it's structure is prune to changes. If some unexpected changes can easily break your parser.
Thus, if you go for doing that (which might be prohibited by your school or other publisher, especially in germany), try to parse the data on your server and offer an web service for your app yourself. This way, you can react to changes of the structure faster and do not break the app for your users.
Seriously consider asking the school for an API.

What is the best CMS for a technology user group? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
We're starting a user group and want our own website for it where people can post, register for meetings, etc. What is the best CMS to use? The server we plan to use is Win 2003 Web Server with IIS 6 and SQL 2008, but also has PHP and MySQL installed.
This is highly subjective. You can have a look at http://php.opensourcecms.com/ where you can try almost all of them and decide for yourself.
If you want an easy and quick start, try Joomla. For a better (and maybe more complex) product, go with Drupal.