tag:blogger.com,1999:blog-36547168.post2210380520058514361..comments2023-11-25T11:00:42.257+01:00Comments on Invisible to the eye: Missing the point (OOP in scripting languages)Giorgiohttp://www.blogger.com/profile/03558287012747987157noreply@blogger.comBlogger9125tag:blogger.com,1999:blog-36547168.post-89802820758856078862010-08-20T14:17:56.884+02:002010-08-20T14:17:56.884+02:00Wil Moore III: hint: view helpersWil Moore III: hint: view helpersAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-36547168.post-54265186813481933462010-07-31T18:19:26.226+02:002010-07-31T18:19:26.226+02:00"and don't try to use ZF (<2.0) with n..."and don't try to use ZF (<2.0) with namespaces :)"<br /><br />@Anonymous:<br /><br />I am using ZF < 2.0 with PHP 5.3.2 and using namespaces. I'm not sure what you are doing exactly but I'm guessing it's wrong.Wil Moore IIInoreply@blogger.comtag:blogger.com,1999:blog-36547168.post-59251859002427647922010-07-30T11:40:29.569+02:002010-07-30T11:40:29.569+02:00Since all modern programming languages are Turing-...Since all modern programming languages are Turing-complete, functionality is equivalent from PHP to assembler. A simpler representation is what higher-level languages provide...Giorgiohttps://www.blogger.com/profile/12689416577856305650noreply@blogger.comtag:blogger.com,1999:blog-36547168.post-73848948611139334042010-07-30T10:10:47.752+02:002010-07-30T10:10:47.752+02:00Not all PHP frameworks are object-structured. (Btw...Not all PHP frameworks are object-structured. (Btw, "object-oriented" programming is for languages that are *based* on objects.) As example, Drupal is a procedural 'framework'. For polymorphism it uses function hooks, which are a dumbed down observer pattern, really. It's quite a large codebase. Given, they jump through a lot of hoops to get there, but it's questionable that it would be any more lucid if it was object-structured. This is strictly a notational decision, not a functionality or complexity limit. It might come as shock to some, but you can utilize OOP concepts in procedural languages and code too. Representation != functionality.marionoreply@blogger.comtag:blogger.com,1999:blog-36547168.post-91346084722042365812010-07-28T21:04:42.051+02:002010-07-28T21:04:42.051+02:00I don't worry about posts like that too much. ...I don't worry about posts like that too much. I find that experience tends to teach why OOP is so useful. It's only a matter of time before that AHA! moment occurs.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-36547168.post-33086825162263061092010-07-28T20:27:47.897+02:002010-07-28T20:27:47.897+02:00Markus: "frameworks like Zend"... ~10% o...Markus: "frameworks like Zend"... ~10% of ZF is OOP! ...and don't try to use ZF (<2.0) with namespaces :)Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-36547168.post-64208998091079258812010-07-28T19:49:10.800+02:002010-07-28T19:49:10.800+02:00Unfortunately dynamic pages built by submerging ta...Unfortunately dynamic pages built by submerging tags in HTML are not so versatile anymore for modern web applications, so we have to help PHP evolve or it will disappear. :)Giorgiohttps://www.blogger.com/profile/12689416577856305650noreply@blogger.comtag:blogger.com,1999:blog-36547168.post-67533924764815227742010-07-28T18:31:16.781+02:002010-07-28T18:31:16.781+02:00The thing is, people who started using php "i...The thing is, people who started using php "in the old days" are used to see php as a quick-and-dirty scripting language like bash. They just dont know frameworks like Zend or Doctrine that makes php to a real programming language nor they implemented a big application in php. So, no surprise they dont understand why OOP or Namespace exist.Markusnoreply@blogger.comtag:blogger.com,1999:blog-36547168.post-57489684573162697162010-07-28T16:48:18.551+02:002010-07-28T16:48:18.551+02:00Another good reason to use OOP in PHP is for autol...Another good reason to use OOP in PHP is for autoloading. In other words, you can load only the part of application that is needed for that individual request, rather than having a butt-load of includes just-in-case-you-need-it.Kevinhttps://www.blogger.com/profile/07571462240359841533noreply@blogger.com