I come from a .net background so the empty classes (models) that I'm seeing in Lithium is unsettling.
In .net, I don't have a property unless I do something like:
public class MyClass()
public property myProp as string
end class
and then I set or get the property like so:
dim aClass as myClass
aClass.myProp = "some string"
dim myString as String = aClass.myProp
What I'm seeing in Lithium are dynamic objects a la javascript.
I can declare an arbitrary object and add properties as I go.
Now, I'm not saying this is a bad thing, I just want to know:
- If this is normal for PHP or normal for Lithium, and
- If I add properties (so I can get code completion in eclipse), will it hurt the ORM features of Lithium?