bobdebower's avatar

How to create configuration tool/ service that create XML files? HELP!

I have to create configuration tool/ service that create XML files based on external link information. The XML files are created using an XML schema format.

  • The service must be able to tell a front-end in a simple way which fields and values ​​are possible.

  • If the fields (schema) Of the XML changes, this should automatically result in a modified front-end.

This is my first professional Laravel project, i am very new with programming to. I really don't know where to start. i have done some basic projects. Can someone help me out? I need to know where to start and the best tool to use.

0 likes
5 replies
Sinnbeck's avatar

Start by writing a test. Create some dummy data (endpoint) and manually create an XML file that matches the data in the dummy. Tell the test that the dummy data when run though some method should match the XML file

Then start working on reading that dummy data and transforming it to match the XML

Now find out how to create an XML file.

And learn how to add lines to it

1 like
Sinnbeck's avatar

The important part is to break it up into alot of small sub tasks instead of one big task

1 like
bobdebower's avatar

Yes it is, i saw your comment using simple xml. i will try to look in too it. I just a problem dealing with this part: "'The service must be able to tell a front-end in a simple way which fields and values ​​are possible." i want to know how to do that with a externe XML file.

Please or to participate in this conversation.