|
|
|
|
|
by xomateix
4114 days ago
|
|
+1 Out of curiosity, just a quick question (disclaimer: it's been a while since I've been doing any PHP - I think it was 5.3)... Although the language had some OO capabilities, I wouldn't have defined PHP as an OO language but more of a procedural/imperative language. Has it changed lately? I mean, are there new libraries, frameworks and so that are more OO? Thanks :) |
|
It's also worth pointing out that since 5.3 the Laravel framework [2] has been created and in its latest iteration it draws a lot of inspiration from ASP.NET MVC and Rails (the former resonates with me coming from .NET land; though I've not much experience with the latter), making it a great framework for rapid prototyping. Its coding style encourages a lot of good practices and it's become very much the go-to PHP MVC framework, at least for me.
A good resource for reading up on 'modern' PHP is PHP the "Right" Way [3] - there's also a (very recently released) O'Reilly book on Modern PHP [4] written by the creator of a popular micro framework [5] - I've not had chance to read it yet (and I'm sure I'm not its target audience) but I have enough faith in the author to know it'll be a worthwhile resource.
Having said all of this, it is still PHP and you will still be working with some of the old quirks. I've just grown somewhat fond of them :)