The actual problem that I posted this question for still remains unresolved. Cannot see how PHP's different approach fits together with OOP. All those languages would throw a compile-time error straight away saying something like Type X does not contain a member named Y. I have used C++, VB, C#, Java among several other languages and haven't seen that behavior anywhere else. $post->NonExistingMember = SomeValue runs okay this would not even compile in most other languages that I know). Plus some of the comments I posted were due to my ignorance about PHP's (strange IMO) approach about member access I just found out that PHP does not complain about non-existing class members and instead generates them on the fly (e.g. To the people who answered my question, thanks a lot. Is there a tool/extension that could examine my database and create models with properties for their columns?.Will these just be public variables or standard properties with getter/setter (excuse me for my.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |