Application configuration

Now that all the tests are passing there is still some application configuration that must be taken care of before the application can be used.

In the service factory, we must set a base URL for the fetch service to use when the application is running. This can be done many different ways and which way exactly is up to you. The simplest but least flexible way is to just hard-code a string value as the base URL used to construct the service. However, you could get as fancy as having a dynamic class that sets the value based on the applications, running environment. Again this decision is left to you.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.147.47.97