Page 103 - ASBIRES-2017_Preceedings
P. 103

GRAPHQL QUERY SAVER: ENHANCING THE PERFORMANCE OF GRAPHQL API WITH A QUERY
                                                           SAVING FACILITY

                     3.2 Database Design                                   4 RESULTS AND DISSCUSSION
                        The database for the proposed system was       4.1.Features of the Developed System
                     developed  by  creating  the  ER  diagram,
                     converting  it  to  the  relational  schema  and     Since  this  is  a  modification  for  the
                     normalizing it to the third normal form. The      existing  system  the  newly  developed  part
                     final  relational  schema  diagram  for  the      connects to the existing system. A user can
                     proposed system is described in Figure 2.         enter  a  query/mutation  for  a  relevant  area
                                                                       and they can execute the query/mutation and
                                                                       get the result. Additionally, now there is save
                                                                       button, when user click this button a pop up
                                                                       window will appear and ask to save details
                                                                       like  name  for  query/mutation,  relevant
                                                                       project  details  the  query/mutation  belongs,
                                                                       category      and     description     about
                                                                       query/mutation, the user want to save.
                                                                          When  user  submits  these  details,  the
                                                                       query  is  saved  in  a  server  along  with  the
                                                                       details given by the user. A screenshot of the
                                                                       proposed system is given in Figure 4.
                              Figure 2: Database design
                     3.3 System Design

                        The  use  case  diagram  for  the  proposed
                     system is described in Figure 3. It is used to
                     analyze the system and do the designing.



















                                                                       Figure 4: Screenshot of the proposed system
                                                                          In  addition  to  the  save  button  there  is  a
                                                                       query  view  button  when  user  click  this
                                                                       button  a  drawer  will  appear  with  2  drop
                                                                       down menus, one to select project and other
                               Figure 3: System design                 to select category. When user select project,
                     3.4  System Testing                               user can see all the saved query and mutation
                                                                       names  that  belongs  to  that  project.  If  user
                        Testing  procedures  were  to  get  idea       select category he can  see saved query and
                     whether  system  goals  have  been  achieved.     mutations for that category.
                     Testing techniques such as white box testing,
                     black  box  testing,  unit  testing,  integration    When user hover over the name of each
                     testing, acceptance testing and system testing    saved    query/mutation    user   can   see
                     were done to ensure this.                         description about that saved query/mutation



                                                                     93
   98   99   100   101   102   103   104   105   106   107   108