Changes between Initial Version and Version 1 of web-catalog


Ignore:
Timestamp:
Jul 10, 2018, 9:03:40 AM (7 years ago)
Author:
steve.winter
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • web-catalog

    v1 v1  
     1== Web catalog ==
     2
     3Below is a list of the existing web endpoints along with notes regarding their current state of use and proposed future development.
     4
     5Part of the purpose for documenting them here is to consider future development needs as we move to upgrading from PHP 5.6 to PHP 7.x (a move which is necessary before the end of the year as all updates, including critical security issues, ceases for PHP 5.6 on 31st December 2018).
     6
     7
     8{{{#!table
     9{{{#!th style="padding: 0 10px; font-weight: bold;"
     10Endpoint
     11}}}
     12{{{#!th style="padding: 0 10px; font-weight: bold"
     13Purpose
     14}}}
     15{{{#!th style="padding: 0 10px; font-weight: bold"
     16Current state
     17}}}
     18{{{#!th style="padding: 0 10px; font-weight: bold"
     19Future plans
     20}}}
     21|----------------------------------
     22    {{{#!td style="padding: 0 10px; vertical-align: top;"
     23
     24/order
     25
     26    }}}
     27    {{{#!td style="padding: 0 10px; vertical-align: top;"
     28
     29Emailed to clients to enable them to pay for orders
     30  - presents details of the user's order
     31  - will find multiple unpaid order based on client ID and request payment for all if found
     32
     33    }}}
     34    {{{#!td style="padding: 0 10px; vertical-align: top;"
     35
     36Still required (approx. 10% of all payments are made through this endpoint.)
     37
     38    }}}
     39    {{{#!td style="padding: 0 10px; vertical-align: top;"
     40
     41Migrate to use the !FileMaker DataAPI
     42
     43    }}}
     44|----------------------------------
     45    {{{#!td style="padding: 0 10px; vertical-align: top;"
     46
     47/process
     48
     49    }}}
     50    {{{#!td style="padding: 0 10px; vertical-align: top;"
     51
     52Second step in the payment process. Presents an accordion with
     53 - Summary of the job details (exact details depends on the number of jobs being paid)
     54 - Card details form
     55 - Card billing address form
     56
     57    }}}
     58    {{{#!td style="padding: 0 10px; vertical-align: top;"
     59
     60Still required
     61
     62    }}}
     63    {{{#!td style="padding: 0 10px; vertical-align: top;"
     64
     65Migrate to use the !FileMaker DataAPI
     66
     67    }}}
     68|----------------------------------
     69    {{{#!td style="padding: 0 10px; vertical-align: top;"
     70
     71/3D
     72
     73    }}}
     74    {{{#!td style="padding: 0 10px; vertical-align: top;"
     75
     76Optional 3D secure step in payment process
     77
     78    }}}
     79    {{{#!td style="padding: 0 10px; vertical-align: top;"
     80
     81Still required
     82
     83    }}}
     84    {{{#!td style="padding: 0 10px; vertical-align: top;"
     85
     86Migrate to use the !FileMaker DataAPI
     87
     88    }}}
     89|----------------------------------
     90    {{{#!td style="padding: 0 10px; vertical-align: top;"
     91
     92/internal
     93
     94    }}}
     95    {{{#!td style="padding: 0 10px; vertical-align: top;"
     96
     97Used internally to take payments over the phone (money bag?).
     98
     99    }}}
     100    {{{#!td style="padding: 0 10px; vertical-align: top;"
     101
     102Unknown - If this is still used, then what are payments recorded as MOTO?
     103
     104    }}}
     105    {{{#!td style="padding: 0 10px; vertical-align: top;"
     106
     107Unknwon
     108
     109    }}}
     110|----------------------------------
     111    {{{#!td style="padding: 0 10px; vertical-align: top;"
     112
     113/particle
     114
     115    }}}
     116    {{{#!td style="padding: 0 10px; vertical-align: top;"
     117
     118Seems to have two functions
     119 - send a notification email if a smoke detector is activated (presume called by some IoT detector?)
     120 - creates an entry in both !FileMaker and a MySQL table each time a door status changes. (again presume IoT switch?)
     121
     122    }}}
     123    {{{#!td style="padding: 0 10px; vertical-align: top;"
     124
     125Unknown
     126
     127    }}}
     128    {{{#!td style="padding: 0 10px; vertical-align: top;"
     129
     130Unknown (though note that the current code is not PHP 7.x compatible)
     131
     132    }}}
     133|----------------------------------
     134    {{{#!td style="padding: 0 10px; vertical-align: top;"
     135
     136/postcode
     137
     138    }}}
     139    {{{#!td style="padding: 0 10px; vertical-align: top;"
     140
     141Interact with Postcode Anywhere
     142
     143    }}}
     144    {{{#!td style="padding: 0 10px; vertical-align: top;"
     145
     146Obsolete. Replaced with getAddress() called directly from within FM
     147
     148    }}}
     149    {{{#!td style="padding: 0 10px; vertical-align: top;"
     150
     151No further action
     152
     153    }}}
     154|----------------------------------
     155    {{{#!td style="padding: 0 10px; vertical-align: top;"
     156
     157/webform
     158
     159    }}}
     160    {{{#!td style="padding: 0 10px; vertical-align: top;"
     161
     162Receives orders from the website to add to !FileMaker
     163
     164    }}}
     165    {{{#!td style="padding: 0 10px; vertical-align: top;"
     166
     167Used constantly and a critical component in the business system.
     168
     169    }}}
     170    {{{#!td style="padding: 0 10px; vertical-align: top;"
     171
     172Migrate to use the !FileMaker DataAPI.
     173
     174Consider rebuilding into a more modern API endpoint. The current version was built in early 2011 intended to be a 'drop-in' replacement for direct integration with the !FileMaker XML done by !SilkStream to provide better error handling and feedback to the remote system. As a consequence of this the data structure and the method of communication is decidely 'unique' and would benefit from complete rework.
     175
     176'''Note''' however that this will require changes on the web-end as well, so it may be better to rebuild an identical endpoint with modern coding.
     177
     178    }}}
     179|----------------------------------
     180    {{{#!td style="padding: 0 10px; vertical-align: top;"
     181
     182/history
     183
     184    }}}
     185    {{{#!td style="padding: 0 10px; vertical-align: top;"
     186
     187Generates XML responses with details about a client including their details, orders and delivery addresses. The [wiki:history-docs original developer documentation] provides details of this functionality.
     188
     189    }}}
     190    {{{#!td style="padding: 0 10px; vertical-align: top;"
     191
     192Unknown. I don't believe this is used any longer as the current website holds its own user order history?
     193
     194    }}}
     195    {{{#!td style="padding: 0 10px; vertical-align: top;"
     196
     197Unknown. If the same (or similar) functionality is required then it will need to be rebuilt to use the !FileMaker DataAPI
     198    }}}
     199|----------------------------------
     200    {{{#!td style="padding: 0 10px; vertical-align: top;"
     201
     202/media
     203
     204    }}}
     205    {{{#!td style="padding: 0 10px; vertical-align: top;"
     206
     207Locates image files in the 'numbers' folders and converts them to thumbnails for web display. See the [wiki:history-docs original developer documentation] for the /history endpoint for further details
     208
     209    }}}
     210    {{{#!td style="padding: 0 10px; vertical-align: top;"
     211
     212As above
     213
     214    }}}
     215    {{{#!td style="padding: 0 10px; vertical-align: top;"
     216
     217As above
     218
     219    }}}
     220|----------------------------------
     221    {{{#!td style="padding: 0 10px; vertical-align: top;"
     222
     223/admin
     224
     225    }}}
     226    {{{#!td style="padding: 0 10px; vertical-align: top;"
     227
     228Two purposes here
     229 - used to deploy changes to the web code from version control
     230 - used to register the !DataGuard plugin
     231
     232    }}}
     233    {{{#!td style="padding: 0 10px; vertical-align: top;"
     234
     235I don't think this is required. Presuming that we're able to move to hosting all PHP code on Linux then Ansible would be used to replace the deployment functionality and I don't believe that the DataGuard plugin is used any longer?
     236
     237    }}}
     238    {{{#!td style="padding: 0 10px; vertical-align: top;"
     239
     240Obsolete?
     241
     242    }}}
     243|----------------------------------
     244    {{{#!td style="padding: 0 10px; vertical-align: top;"
     245
     246/webfleet
     247
     248    }}}
     249    {{{#!td style="padding: 0 10px; vertical-align: top;"
     250
     251Interacts with the !TomTom !WebFleet API. There is also an associated set of command line tools associated with !WebFleet.
     252
     253    }}}
     254    {{{#!td style="padding: 0 10px; vertical-align: top;"
     255
     256Obsolete?
     257
     258    }}}
     259    {{{#!td style="padding: 0 10px; vertical-align: top;"
     260
     261Obsolete?
     262
     263    }}}
     264}}}