Model in Opendelight

The *model* refers to the business logic part of the application. This consists of application classes and script includes. All files of the model are stored in `/model` directory. An *Application Class* refers to any PHP class that contains the business logic of the application and is a part of the model. Application classes can be created and managed directly through the Opendelight IDE. However, you can also edit these classes in your favourite code editor. These classes are located in the `/model/class` directory. #### NOTE 1. The filename of an Application Class should be exactly the same as the class name but should have the extension as `.cls.php`. There should be no white space in the class name or in the corresponding filename. 2. Do not create the name of Application Class equal to the Opendelight library class which always starts with `Delight_` 3. There is no need to include Application Class files as

To continue reading "Model in Opendelight", login now.

This page has been protected for subscriber only and it is free to subscribe.