MySQL -> RESTful API [closed] - sql

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 10 months ago.
Improve this question
Is there anything out there that given a MySQL database can create RESTful webservice endpoints? I'm ok with it doing stupid basic things to start with, as long as the data model is tunable after.
For bonus points it could understand foreign keys to join data, and create searching endpoints for indexed columns.

PHP REST SQL might be a starting point.

There is DBSlayer, which provides a "JSON over HTTP" interface to MySQL. It doesn't have a REST interface, though.

Check out restSQL. It's an open-source, ultra-lightweight persistence layer. It's a got enough for basic CRUD and a little bit of basic filtering support.
It has built in support for MySQL and PostgreSQL, but is architected to be extended to other RDBMSes. It runs in standard JEE containers, e.g. Tomcat, or is bundled as a Docker container.
You can take it for a spin using the sandboxed instance and explore the docs at http://restsql.org.

Related

Simple online database [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I am not an expert in servers or databases, but I have the following question.
I want to create a database online, containing basic data, that is needed for my app. I don't want to write to the database from the app at all, but read from it.
Is there any service where I can build a database online, simply without programmatic code. I am looking for a service that basically will be like excel, easy to make some tables with values, easy to change data when necessary. All the dealing with the database can be online, in a easy interface. I just need to request the data from the app, and it will be sent from the server as a json or something.
Is there any service like this?
Thanks
You can do this task with the help of phpMyAdmin.
Nowadays, most web hosting providers also provide service for database hosting service.
Whenever you choose a website hosting service, you can make a database from their cPanel and then handle it using phpMyAdmin. This tool lets you configure your databse properly with the GUI functions.

Documenting a Spring HATEOAS API [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
Are there any plugins out there (similar to Swagger) which provide the ability to document HATEOAS APIs?
The Swagger interface is quite good but it doesn't have level 3 REST support.
I use spring-restdocs in combination with the HAL-browser.
You don't necessarily need HAL for restdocs though, although it is recommended.
Restdocs will generate code samples and link & field descriptors in the asciidoc format. You can then link to these asciidocs from inside the HAL-browser.
To see the result in action (although this is hardcoded), check this out: foxycart. Click on the little doc links next to the rels.
After further investigation I discovered HAL-browser (https://github.com/mikekelly/hal-browser) which is quite good. Although, your API must return content-type of HAL for it.
You don't need to configure anything on the server for this tool. Just open it in a browser and point to your API.

Using tfl data api - tutorial? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I have developed apps for 3 years and am now looking to build an app that uses TFL (transport for london) api calls. I was reading their guidelines and read the following:
"Distribution
Developers consuming TfL data and providing public services built on it are expected
to provide the hosting capacity necessary to serve those public consumers. You
should take our data and proxy it, you shouldn’t allow all your clients to hit our service
driectly. This is intended to reduce TfL’s cost liability for hosting and content delivery."
While I have done a lot of app development, I have never hosted my own proxy receiving responses from an api. I have searched the internet for tutorials on this (ideally specific to TFL, but general ones would be awesome too), but can't find any that help.
Does anyone know of any?
Spoke to TFL about the Bus Times and it turns out you don't need to run this data via a database and can instead have users making direct calls to the API via your iPhone app. Great news :-)

Tool to get a list of WCF Service Operations at an endpoint [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
Is there a documentation tool for a WCF endpoint out there?
We are trying to setup governance of our WCF Services and it would be really nice to auto document the list of service operations on a given endpoint.
For example: http://MyService:8080/Client.svc has the SaveClient, UpdateClient, GetClientById etc. If I was auto generating documents then when a DeleteClient service gets added it is really easy to flag that for my SOA Governance Board to look at.
I know I could write my own using the code generation tools provided by Microsoft, but I was hoping that someone else already got this idea and coded it up for me.
(Basically I am looking for a WSDL to MS Word tool.)
I just need to google a bit differently.
Generating HTML documentation from WSDL
That question pointed me to WSDL Viewer, which seems to do what I need.

(My)SQL in Flex - any good libraries? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I need to develop a small Flex application that needs to access a MySQL database. Since I have little experience in server-side Java, PHP programming I would prefer to use a library/framework that allows me to write SQL queries in ActionScript/MXML.
After a bit of research, I have come across two 3rd party libraries, AS3FlexDB(free) and Adobe Flex Connector for MySQL(45$). Initial tests with AS3FlexDB are promising, but I'm a bit afraid that I'll start to work on the project only to find out that I need a full-fledged back-end after all.
Do any of you have experience with these tools? If so, are they stable enough for production? Are there any such libraries for other relational databases(PostgreSQL in particular)?
Thank you!
Lawrence
this and CRUD like this and read this
AS SQL Lib and another one CRUD
and final happiness
Flex is a UI Framework and is not designed for database interaction. I strongly recommend you reconsider the approach and learn a server side language. You'll thank yourself in the long run.
that said, another option is FlexSQL. This is the first time I've heard of the two you mentioned.
I have no idea why people keep building these libraries. It's like trying to use a screwdriver and nails together. It is, in theory possible but better tools exist.
I agree that server-side db interaction is the way to go, but nobody has mentioned the possibility of web services. Use this article to create a number of web services that your flex client can connect to directly.