-
Notifications
You must be signed in to change notification settings - Fork 263
Steps for Creating an Application Based on an Existing Sample
gstaas edited this page Oct 22, 2014
·
2 revisions
Here are some suggested steps for creating an application from an existing ATF application. The rest of this section follows some of these steps in developing the new application.
- Pick the sample that most closely matches your new application's features. Look at the sample descriptions at ATF Code Samples and the Technology Sample Matrix to help you pick the most suitable sample.
- Copy the sample project and the
Samples.sln
file. Open the solution and eliminate the projects you don't need. Make any other changes you need, such as fixing up references to the\Framework
projects. - Determine which components you want to use. Add or remove components to or from the MEF
TypeCatalog
inProgram.cs
. For information on MEF, see MEF with ATF. - Remove code you don't need by removing files from the solution or code in files. You can also do this later.
- Add code from other samples that you want for your application. You can also do this later.
- If you are going to use a DOM for your application data, edit the schema file, if there is one. Consider what types of data your application needs and change the schema to incorporate these types. For DOM information, see DOM in a Nutshell and the ATF Programmer's Guide: Document Object Model (DOM) downloadable from ATF Documentation.
- Build the application, making needed changes until it builds.
- Try to run the application, fixing problems until it runs.
- Add code from other samples. Remove code you don't need.
- Repeat steps 7 to 9 until the application builds and runs again.
- Test whatever features the application currently has and get these working.
- Add the application's unique features, using the appropriate ATF classes and components, starting with the most important features. For a guide on where to look for which ATF classes and components to use, see ATF Structure and ATF Functional Areas in particular.
- The best way to add some features may entail creating components of your own. Look at the samples' examples of components, such as those described in ATF Samples Components. You may want to copy some of these components and adapt them to your application. Connect other code into your new component, as needed.
- Make the added features work.
- Continue development and debugging in steps 12 to 14 until all the application's features work.
Creating an Application from an ATF Sample
- Steps for Creating an Application Based on an Existing Sample: Suggested steps for building on an existing sample.
- Choose ATF Sample to Base Application On: Pick a sample that most closely matches your new application's features.
- Copy ATF Sample and Run It: Copy the indicated folders and files in ATF to start your application development.
- Start Customizing Your Application Software: Begin the process of transforming the sample into your application.
- Define Your Application's New Data Model: Define the types in your application's data in a file and create a schema.
- Modify Your Application's Existing Software: Modify the sample's existing code to work for your application.
- Add New Code and Parts to Your Application: Add the application's unique features, using the appropriate ATF classes and components.
- Build, Run, and Debug Your Application: With all code changed and features added, finish development.
- Home
- Getting Started
- Features & Benefits
- Requirements & Dependencies
- Gallery
- Technology & Samples
- Adoption
- News
- Release Notes
- ATF Community
- Searching Documentation
- Using Documentation
- Videos
- Tutorials
- How To
- Programmer's Guide
- Reference
- Code Samples
- Documentation Files
© 2014-2015, Sony Computer Entertainment America LLC