Where is the "ViewClass" class definition? Assuming you typed in wrong you extending the View will not work, because the file containing your definition is not being included in the file it uses (ScriptView class).
In the ScriptView class definition file you need to include the View class definition file.
As you will use namespace you should use the autoloading feature that will do the work to include these files for you using the namespace as masks to the directories. >
For example:
Namespace MyFramework \ Base \ Controller;
When you use the class that is in this namespace, in the Controller example, PHP will provide the name of that class to which you want access and you will point to the physical file that will be included:
MyFramework / Base / Controller.php - (These extension definitions and extra directories can be defined in your autoload.)
Here you find the function link that allows you to register the autoload and example of how to implement your own autoload.
In addition to the fact that you do not need to include your files manually you have a performance gain by not including unused classes, ie loading these classes will be on demand.