|
|
|
|
|
by steve-rodrigue
4185 days ago
|
|
Creating an API directly on top of your database schema brings the problem of impedance mismatch in all the client applications built directly on top of your new API. However, if you create an Endpoint (Objects) based RESTful API on top of your database schema and then use this new API in all your client's applications, you will have the problem of impedance mismatch in only 1 application: your REST API. For more information related to impedance mismatch: http://en.wikipedia.org/wiki/Object-relational_impedance_mis... It might be a good idea to create a "build and forget" application on top of a RESTful API built directly on top of a database schema. I would probably use it for a movie website, since movie sites are normally built to promote the movie and forgotten after. However, building client applications you need to maintain on a longer term, on top of a RESTful API built directly on top of a database schema is a terrible idea. It will get harder to maintain as the database schema evolves and the amount of client applications grows. |
|