900 new features in WINDEV, WEBDEV and WINDEV Mobile 2026
GRAPHQL 144 N e w f e a t u r e W D W B WM WHY GRAPHQL? A good starting point is: what does the term "GRAPH" have to do with web service technology? It's simple; the information returned by the web service is linked together by a graph, not just a tree structure. What's the difference? A graph can cycle and return to its "parent". QL stands for Query Language. Benefit of this new feature in version 2026: A popular type of web service for data access 145 N e w f e a t u r e W D W B WM HOW DOES GRAPHQL WORK? In GraphQL,you make a single request to the web service,specifying all the data you wish to retrieve. The server returns all the data requested, in a structured form (as a graph) in JSON format. This offers a clear advantage, as you make one call instead of many. Performance is unmatched by any other type of web service Benefit of this new feature in version 2026: Less web server calls 146 N e w f e a t u r e W D W B WM REQUEST EXAMPLE A web service request could ask for: • A customer’s name • Email address • Last 10 orders, with details of products ordered With GraphQL, all these operations can be completed in a single call. Benefit of this new feature in version 2026: One query, all kinds of data 147 N e w f e a t u r e W D W B WM NEW WLANGUAGE TYPE: GRAPHQLQUERY To easily use the returned values, the new WLanguage graphQLQuery type is introduced in version 2026. This means that code completion is available when accessing the query result. For example: // Query declaration customers_year_query is query = ` query CustomersByYear($year: Int!) { ListCustomersWithRental(year: $year) { Last name First name Rentals { Yacht { Name Length } StartDate EndDate } } } ` Benefit of this new feature in version 2026: Native manipulation of GraphQL queries EASILY CONSUME WEB SERVICES IN VERSION 2026 31 Wh a t ' s n e w i n W I ND E V 2 0 2 6 WE B D E V 2 0 2 6 W I ND E V Mo b i l e 2 0 2 6
Made with FlippingBook
RkJQdWJsaXNoZXIy NDQ0OA==