Live data from Hacker News

WordPress 3.5 “Elvin” Released

wordpress.org

41–50 of 69 posts

Re: WordPress 3.5 “Elvin” Released

#41
post #29
post #12

Earlier quoted context omitted.

Yup, WordPress follows all bad practices of a typical PHP project: mixed PHP and HTML all over the place, lots of global functions instead of classes and direct calls to the MySQL functions instead of PDO so you can't use another database like Postgres. Pity it's so widely used, and there's little competition...

So you're basically saying that following bad practices is inconsequential since - among the thousands of CMSes, WordPress is the most widely adopted, despite an abundant availability of alternatives that claim to be simpler, more powerful and prettier. Interesting thought.

Worse is better.

http://www.jwz.org/doc/worse-is-better.html

Re: WordPress 3.5 “Elvin” Released

#42

WordPress could really change their bad reputation by dropping support for PHP 5.2 in the next release, and requiring 5.3. This would allow future WordPress developers to namespace their code, and out allow simple closures withint your code. As of PHP 5.5, there is no support for a straight mySQL connection. There is no real downside in WordPress adopting the PDO standard.

Somehow I doubt that we'll decide to drop support for 65.5% of our users (roughly 26 million websites).

http://wordpress.org/about/stats/

Re: WordPress 3.5 “Elvin” Released

#44
post #5

There is a more technical list, including the details on the improvements for developers here: http://codex.wordpress.org/Version_3.5 The biggest thing I wish WordPress would add is a better built in system for real templates, using a something along the lines of Twig ( http://twig.sensiolabs.org/ ). That mixed PHP code and HTML in your standard WordPress template disgusts me every time I see it. I know there are som…

As someone closely following (and contributing to) the progress of Wordpress over the last few years, I continue to believe they are heading in the right direction given their constraints.

Re: WordPress 3.5 “Elvin” Released

#45

WordPress could really change their bad reputation by dropping support for PHP 5.2 in the next release, and requiring 5.3. This would allow future WordPress developers to namespace their code, and out allow simple closures withint your code. As of PHP 5.5, there is no support for a straight mySQL connection. There is no real downside in WordPress adopting the PDO standard.

Wordpress has adopted the PDO standard. It will be in WP 3.6. http://core.trac.wordpress.org/ticket/21663

Re: WordPress 3.5 “Elvin” Released

#46
post #13
post #5

There is a more technical list, including the details on the improvements for developers here: http://codex.wordpress.org/Version_3.5 The biggest thing I wish WordPress would add is a better built in system for real templates, using a something along the lines of Twig ( http://twig.sensiolabs.org/ ). That mixed PHP code and HTML in your standard WordPress template disgusts me every time I see it. I know there are som…

>> Twig ( http://twig.sensiolabs.org/ ). The syntax is very Django/Jinja alike. They took good inspiration. Meanwhile, why the Wordpress team didn't switch to a template engine and orm after all those years is a true mystery to me.

Is it just me who doesn't see the point of using a templating engine with a language like PHP?

As long as you use the MVC paradigm or at-least sperate views from business and data store logic it seems like PHP works fine to do the templating its self.

Yes I can see the argument that non coders have to learn PHP, but is PHP really much harder to learn then the template language?

Also templating add's performance overhead.

What you essentially end up with is a "hypertext preprocessor preprocessor"

Re: WordPress 3.5 “Elvin” Released

#47
post #12

Earlier quoted context omitted.

Yup, WordPress follows all bad practices of a typical PHP project: mixed PHP and HTML all over the place, lots of global functions instead of classes and direct calls to the MySQL functions instead of PDO so you can't use another database like Postgres. Pity it's so widely used, and there's little competition...

Saying there's little competition is a huge stretch. WordPress is the dominant force by a large margin. But from small static site generators, hosted platforms, other open source alternatives, to enterprise-ready solutions there are a lot of competitors hitting nearly every segment of the market. http://trends.builtwith.com/cms provides some good trends of the big players, but I wouldn't put too much stock in it. Tha…

> there are a lot of great products out there that are built much better than WordPress and I wish one of them were the dominant player.

Honest question: Can you name one?

I'm seriously looking for a WordPress alternative, but I haven't found one that is truly BETTER.

Re: WordPress 3.5 “Elvin” Released

#48
The media changes are a welcome addition, but I can't help but feel Wordpress is still lacking in the media department quite a lot. One feature I've been hoping for in terms of media management is folders to organise media instead of paginating pages of all images being displayed which usually involves duplicates being displayed. I love Wordpress, but it would be great to be able to upload specific images for example of dogs into a folder called, "Dogs" and then being able to browse and manage media in said folder.

It's great to see Wordpress is taking steps in the right direction with every release. Another wishlist feature would be the integration of the Advanced Custom Fields plugin straight into the core which allows you to add custom meta boxes and fields to posts in a tasteful and aesthetically pleasing way. I'm excited about the future of Wordpress, it's my bread and butter and I don't see it being beat any time soon.

Re: WordPress 3.5 “Elvin” Released

#49
post #5

There is a more technical list, including the details on the improvements for developers here: http://codex.wordpress.org/Version_3.5 The biggest thing I wish WordPress would add is a better built in system for real templates, using a something along the lines of Twig ( http://twig.sensiolabs.org/ ). That mixed PHP code and HTML in your standard WordPress template disgusts me every time I see it. I know there are som…

I like the fact I can mix PHP and HTML together. Pseudo templating languages like Twig are nice, but implementing something like Twig or even Smarty would be pretty damaging to the Wordpress community considering it's always been PHP/HTML since the beginning and to be honest, there's hardly any advantage other than cleaner code. I'd rather the Wordpress developers spend their time removing legacy code and changing some of the procedural spaghetti into nice object oriented code and adding in cool new API hooks.

Re: WordPress 3.5 “Elvin” Released

#50

I wish they'd put some serious resources into dealing with comment spam. I realize it'll always be an issue, but they could at least: 1) not make comments enabled out of box with no anti-spam measures (moderating isn't anti-spam in my opinion: technical solutions should come before man-power) 2) not make me rely on third-party plugins to combat it

Akismet does a great job dealing with comment spam. Activate it and input your API key and you're done. Even other applications like PHPbb and "insert PHP content management system here" have problems with spam, it's not as easy as you think to detect and deal with spam.
Post reply on HN