Let us include a few samples as a separate component and link that to the Team Twitter application as a part and load that part only when the samples module is opened.
1. We have provided the set of samples in the
samples.zip
file. Create the directoryC:/teamtwitter/source/class/teamtwitter/samples
and extractsamples.zip
under thesamples
directory.2. One class,
teamtwitter.Samples
, has been written to display all the samples that have been developed during the course of the Team Twitter application development. That class is available in the file978-1-849513-70-8_10_01.txt
underChapter 10
. You can copy that code file intoteamtwitter
asC:/teamtwitter/source/class/teamtwitter/Samples.js
.3. As mentioned in the configuration section, let us configure two parts for the Team Twitter application; one for the main Team Twitter application and another one for samples. The updated
config.json
is available as a file978-1-849513-70-8_10_02.txt
."my-parts-config...