Live data from Hacker News

Laravel 5 released

laravel-news.com

111–114 of 114 posts

Re: Laravel 5 released

#111
post #101

Earlier quoted context omitted.

That's a shitty explanation for dropping Whoops. The first time I remember the discussion of it being dropped got brought up was because of a bug in the framework relating to the assets, where Taylor didn't hesitate to blame Whoops and deleted comments on Github pointing out that the problem was actually in his own code. It would've been super easy to add some code that sets the HTTP code for Whoops's response if tha…

You can easily change the config to make the Blade tags work as they previously did. I'm unhappy about this change as well though. It's very reminiscent of some design decisions PHP has taken: 1. Create feature X. 2. Users don't understand feature X, and use it when they should be using feature Y (for safety.) 3. Update the API so that feature X does what feature Y did, and create feature Z that now does what feature…

Not being familiar with Laravell, having a look at[1], I see what you mean:

> In Laravel 4 Blade included the following two styles: {{ and {{{. > The double curly bracket was a raw echo and the triple curly bracket escaped. > > Now both the double and triple curly brackets escape the variable and a new {!! $var !!} is for raw.

I'd argue that having unescaped output be shorter/easier than escaped output was probably a design error in earlier versions -- but I'm not sure I like the "fix"... If it was a green-field design, I must admit I like the "danger!"-feel that unescaped output has in L5 though.

[1] https://laravel-news.com/2015/01/laravel-5/

Re: Laravel 5 released

#112
post #102

Earlier quoted context omitted.

CodeIgniter... isn't exactly a high bar to beat.

In my experience people who love Laravel are typically CI or WP refugees. I am yet to encounter a single person who has switched from Symfony2 or ZF2 to Laravel and liked what they saw.

I switched from mostly Symfony2 to mostly Laravel and like it.

I doubt there are a lot of people switching from WP though, since WP and Laravel solve two different types of problems.

Re: Laravel 5 released

#113

Earlier quoted context omitted.

Maybe it's a matter of taste? I have worked with Symfony2, Zend Framework, Yii, Kohana and Laravel and find Laravel the most intuitive to work with. I like that you can start using it for very rapid prototyping and refactor into more complicated structures as the application grows.

Totally agree. I think that Symfony2 is a pain in the ass. Laravel lets you have something working really fast. Then you can improve the code later on.

That's because Laravel is a website framework and Symfony2 is an application framework.

Re: Laravel 5 released

#114

Laravel represents what modern PHP can do and be. Clean, organised, fully object-oriented. Kudos to what Taylor Otwell has created both from a marketing perspective and technical standpoint.

Laravel is the shame of modern PHP - ZERO OOP, almost all methods are static, no DI, array-oriented programming everywhere, a lot of hardcoded "new" (so you can't mock and test).
Post reply on HN