Live data from Hacker News

Laravel 5 released

laravel-news.com

101–110 of 114 posts

Re: Laravel 5 released

#101

Earlier quoted context omitted.

FUD. The "architecture" change is the bootstrap repository, which has a new folder structure. I know, scary stuff! Folders! The "architecture" has some enhancements to middleware and fleshing out events/commands to a "command bus". Basically, you get more sugar on top of the (mostly) same architecture. Whoops caused a lot of headaches behind the scenes, and did stupid things like convert ALL http error responses to 5…

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 X did.

4. Old users using feature X incorrectly are now protected, while users who correctly used feature X must now convert to feature Z.

Re: Laravel 5 released

#102

Earlier quoted context omitted.

I am going to have to completely disagree with you. I have been using it for several years now and I have nothing but good things to say about it. The ORM is basic yes, but that's the purpose of it. If you want a bigger one do what you do with Symfony and use Doctrine or something more robust.

I just tried to two days ago and did a complete project with it. Auth, CRUD, file management, etc. It's an instant love for me. Docs is mostly ok, Google provides instant answers. I'm happy to ditch CodeIgniter for this.

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

Re: Laravel 5 released

#103
post #64

Earlier quoted context omitted.

Extending the IoC container?? A ControllerFactory?? You never do anything like that in Symfony. The thing I appreciate most about Symfony2 is how it enforces good design patterns.

One might argue that the SOLID principles applied in Symphony and inherited by Laravel are in fact anti-patterns which only serve to add massive cognitive overhead. They've wrecked countless Java projects over the years and are now going to do PHP the same favor. There's even less reason for a scripting language with a GIL to be saddled with this level of complexity, than there is for Java.

> They've wrecked countless Java projects over the years and are now going to do PHP the same favor.

Oooh do enlighten. I made an argument when Symfony2 first came out that PHP isn't Java, and now I've been brainwashed to think the Symfony community is right.

Very refreshing to here an alternative point of view :)

Re: Laravel 5 released

#104
post #22
post #15

Earlier quoted context omitted.

No, they also suffer from the pattern misuse pattern and are also slow as hell.

It would benefit the whole community if you documented your complaints (and suggestions for improvements) in a blog post we can all read & comment on.

Though the Symfony2 community hasn't been open to criticism and suggestions for improvement.

And eventually, when they've taken some of the original criticisms on-board (at v2.6) [0], they themselves get shot down by parts of the community for spoiling the architecture.

0: http://symfony.com/doc/current/best_practices/index.html

Re: Laravel 5 released

#105
post #99

Earlier quoted context omitted.

As a Core developer of CakePHP, I'll tell you that the community at large loves major releases more than they like stability. Something about using the newest toy really gets a lot of people going. We actually have had quite a few developers tell us our framework is dead, despite ongoing development on a new major release and monthly minor/patch releases for the current stable line for 3+ years. I can't comment on La…

The vocal community is likely in the realm of 5-10% of the actual active userbase. You should cater to most of your users, not just the bored ones. Your framework is dead because you've continued to prove that you don't understand what PHP 5.3+ is and means. I say that as someone who has been forced to use CakePHP for ~10 years. You've always lagged far behind in the concepts that other frameworks have down pat.

5.4+ Version, which is currently being actively developed (RC2 around the corner): https://github.com/cakephp/cakephp/tree/3.0

And a general list of changes between the current stable and our upcoming release: https://github.com/cakephp/cakephp/wiki/3.0-Roadmap

Re: Laravel 5 released

#106
post #55
post #50

Earlier quoted context omitted.

> Laravel represents what modern PHP can do and be. Clean, organised, fully object-oriented. In a JavaEE circa 2003-5 way. Not exactly what modern programming is about...

We got it the first time https://news.ycombinator.com/item?id=8997114

Different subthread, answering to another person.

Besides, it's not like https://news.ycombinator.com/item?id=8656965 is some gem of a comment that hasn't been written 200 other times on HN for example.

Re: Laravel 5 released

#107
post #88

Deal-breakers for me with Laravel: - Blade templating language. I don't need yet another templating syntax to learn, especially one that isn't analogous to others I know and are common among other frameworks. - I really can't imagine going back to an active record based ORM. I've learned too many hard performance lessons from Doctrine1 and rails at this point. - Facade/proxy pattern based classes. I think as they are…

Those don't have to be deal-breakers. - You don't have to use Blade. Use Twig or Smarty or whatever you want - You don't have to use Eloquent. Use raw queries or Doctrine or whatever you want - You don't have to use Facades - use the IOC container to get whatever you want Its so easy to plug-and-play with composer, and there are so many other features to laravel.

what the point of it then? just use Silex,it's better,faster and simpler.

Re: Laravel 5 released

#108
post #102

Earlier quoted context omitted.

I just tried to two days ago and did a complete project with it. Auth, CRUD, file management, etc. It's an instant love for me. Docs is mostly ok, Google provides instant answers. I'm happy to ditch CodeIgniter for this.

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.

Re: Laravel 5 released

#110

Earlier quoted context omitted.

FUD. The "architecture" change is the bootstrap repository, which has a new folder structure. I know, scary stuff! Folders! The "architecture" has some enhancements to middleware and fleshing out events/commands to a "command bus". Basically, you get more sugar on top of the (mostly) same architecture. Whoops caused a lot of headaches behind the scenes, and did stupid things like convert ALL http error responses to 5…

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…

https://plus.google.com/events/ctgh4ss551t10kg4fktqood9t3o, about 12:30 in on why removed Whoops.
Post reply on HN