Yesterday, 10:42 AM
(Yesterday, 09:08 AM)marksman Wrote: @calcio, do you think all vendors of laravel follow PSR-1 and 2 standards? I don't think so.
You can follow PSR standards on CI depends on your structure, you don't have to touch system folder a lot. The point here is you know what is happening in your code and you have a freewill. I both use laravel and ci the only thing I hate about laravel is their stability they call their releases a stable release then a week later they will patch it for just a minimal changes. I hate dirty repo and I hate rebasing. Thats why.
@marksman, The Laravel core I think so bur external libraries I don't think so. But I disagree about follow PSR standards on CI.The manual is very clear about it. For example, you must follow this class News_model extends CI_Model. I Can't use NewsModel. If you use it in Controller they not normalize de URL except if you configure and create routes.
Other point is. Usually in CI you can't use many other features like namespaces, other designers patterns and etc. How to use Traits In CI? It's complicate. Is isn't?
I use CI yet unfortunately or not, but use other FW too. Bur my point is focused in fast development and organizations. Use CI like I said by default you do everything manually.
PHP is Life!!! See My Portfolio