#Designing a virtual disk
The basic task is to design the classes and methods needed to model a virtual disk that will contain files.
##Method This kata is incremental, that is, every 10 minute a new requirement will be announced, so developers have to implement it (usually a new method to code) and rethink the classes' structure.
This kata is intended to be done with pair programming, and at the end a discussion will be opened.
You can use any programming language with object oriented programming.
##Requirement 1
- User can store files.
- We are not going to move/save any real file; just store file's name and size.
A base class for this virtual disk could be:
class Storage
{
public Directory rootDirectory();
}
- The Directory should allow to add a file and delete a file.
- A File will be created with a name (a string) and size (an int).
##Requirement 2 (and following) ...will be announced during the kata sesion ;-)
I have a question concerning some PHP code you wrote. Can you please contact me at louiskousoulos@gmail.com