You can translate the question and the replies:

Interface views: Is it true that when an interface view does not have an implementation view, then Denodo will throw an error?

Hello, I've been researching interface views and wonder whether a better design for interface views would be to have an option to return mock data when the application under-development queries the view. This would be much more user-friendly and would conform to the spirit of the abstraction layer and general application development methodologies. For companies in the field that use these, what are some of the models in use to allow development to proceed while the implementation view takes shape? Do they define temporary implementation views that return mock data? Do they code the application to expect a specific error until such time as the implemenation view is in place? Thanks for your thoughts
user
18-04-2019 15:17:22 -0400

1 Answer

Hi, Yes, an interface view in Denodo will throw an error if it does not have an implementation view. Interface views are a special type of derived views that consist only of a definition of fields and a reference to another view. Interface views allows teams to work in parallel, for example developers can start working with mock-up implementations while architects can create views that access real data sources. So, coming back to your question, I would say yes, it is a good practice to define a temporary implementation views that return mock data while the actual implementation is in process of development. For more information, you can refer to the Virtual data port VQL guide on [creating an interface view](https://community.denodo.com/docs/html/browse/7.0/vdp/administration/creating_derived_views/creating_interface_views/creating_interface_views#creating-a-new-interface-view-implementation-tab) and [defining an interface view](https://community.denodo.com/docs/html/browse/7.0/vdp/vql/defining_a_derived_view/defining_an_interface_view/defining_an_interface_view). Hope this helps!
Denodo Team
19-04-2019 18:37:09 -0400
You must sign in to add an answer. If you do not have an account, you can register here