A program that creates PDF documents on the basis of xml files and information in a JSON webservice

Employer
WebStars
WebStars
Description

A program that creates PDF documents based on XML files and information from webservice JSON.

We are looking for a programmer with knowledge of PHP, XML processing classes / functions (eg Simple XML), and JSON-based REST services for the project.

The project consists in creating a class that:

1. At the entrance, he will receive a unique document identifier and session identifier

2. On the basis of the document ID, it will read the XML document (example document

available here: http://docs.vanillamedia.pl/1.exemplary_doc_en.xml)

3. Reading additional information from the service (an example is here: http: docs.vanillamedia.pl/ws/getAllSteps.php? Id = test_id & session_id = test_sid)

4. Replacing the value of the <gap> entity in the XML file with the values ​​obtained in point 3

5. Based on the formatting specified by the tags in the XML file (described below) - generating the target PDF document (the library can be used for this purpose: https://tcpdf.org/)

6. Saving the document in a directory (defined by the class constant) under a unique name (PHP: uniqid function with the parameter: more_entropy = true can be used)

7. Saving the name of the document in the BD through a dedicated service (for a given document ID and session ID) - we will provide a link.

8. Returned at the output of the link to download the document.

For example, the generated document is here: http://docs.vanillamedia.pl/exemplary_doc_en.pdf

Description of XML file tags in the picture: https://drive.google.com/file/d/1Fj-_tqquOcjOGHBmIZWii72dmBcjoTA3/view?usp=sharing

Published
on 2021-08-31

Offers sent (9)

no avatar
0 deals
on 2021-09-05
API
backend
cms
+ 9 more
Budget
1000.00 PLN
Copyright
-
Expires in
30 days