Comments (3)
This is actually the first I've come across WADL. Very interesting stuff. I love the idea of allowing an existing specification of a REST API to just plug into Restivus. Restivus can certainly handle (or be updated to handle) anything that the WADL spec requires.
I would definitely build this as a separate package that was capable of interpreting the WADL REST definition, and just use Restivus for the API construction. I think Restivus would feel bloated if it included it, as it's definitely not fundamental to REST API development. I'd rather keep Restivus as a "core" package and build any features like this as separate add-on packages. At some point I will probably break out the support for collections into a separate package, where it belongs.
That being said, there are still some core features that need to be supported before I can add something like this myself (e.g., API versioning, JSON PATCH support, endpoint hooks). However, if you or anyone else would like to build this as a separate package I would not only encourage it, but also assist however I can, especially where Restivus is concerned.
from meteor-restivus.
Cool! Rishat, if you decide to try making this, let me know so I can help too.
from meteor-restivus.
This issue was discussed in the comments section in @hujhax's great write up on Meteor. Just want to add the information here before closing the issue for now.
Rishat Muhametshin:
"I mainly work on enterprise software, and the projects often involve several teams (incl. third-parties) and dozens participants. Since almost everything is being built around SOA approach, there are plenty of REST APIs. To simplify the development process, we've come up with the convention that the development of every service is preceded by a data contract; and WADL is one of the easiest (yet standardized) ways to create it.
Most services are being built using Java, and most of the time this path is simply more expensive than getting these services up and running in a light and versatile environment which Node provides. Moreover, API consumer apps don't care what technology the API has been built with, but time is usually limited and some kind of mock API is often critical, as soon as possible.
This being said, a simple CLI tool to deploy REST API from WADL would save a lot of time and resources for me and maybe three other guys around the world who have faced the same problem. I'm not quite sure this problem is widespread or has any significant audience."
And my response:
Thanks for the detailed response Rishat! This could definitely be built in Meteor on top of Restivus, but as you've noted here it's a bit too obscure a feature for me to devote any time to it. If you do plan to develop this tool in Meteor please contact me if you need any advice or assistance in using Restivus to build it. I'm happy to help wherever I can. I'm going to close the Issue Peter opened on GitHub for now, but if you or anyone else ever decide to pursue this project I'll be happy to reopen it and join the discussion. Thanks again for the information on WADL!
from meteor-restivus.
Related Issues (20)
- Restivus is not a constructor HOT 1
- Restivus.configure is not a function
- HTTP.call inside api issue
- Is it possible to read Content-type: text/plain data HOT 3
- Simple question: Mutual or two way certificate authentication
- First Logging in is not required when using meteor restivus HOT 1
- How to consume a REST api that needs username/password authentication in node.js HOT 1
- onLogInFailure
- Getting 400 Bad Request on Mup Deployed
- Try login with user who does not have password, crashes server
- API should close connection by default HOT 2
- Need corsHeader configurations for CORS
- Role permissions don't work with meteor-roles v3
- Unable to upload multipart file
- Upload multipart file
- Support Meteor 2.3 HOT 1
- Meteor 2.3 not supported HOT 2
- Reason: CORS header ‘Access-Control-Allow-Origin’ missing
- CORS header ‘Access-Control-Allow-Origin’ missing if http status code is not 200
- URL params issue
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from meteor-restivus.