If you're a user of the Solarium tool for querying Solr database already and have been wondering how to work with faceting, you should take a look at this new post from Jeroen van Dijk. He covers using Solarium to do multi-select faceting in a Solr query.Solarium is a library I often use at Enrise for querying Solr. For one of the projects I work on, AutoTrack.nl a second hand car site, I was having issues on advanced faceting with Solr which I could easily solve using Solarium. [...] Faceting is a...
On the Symfony blog there's a quick post noting that the videos for this year's Symfony Live London (2012) event have been posted on their YouTube channel.Last month, we were pleased to publish all the videos from this year's edition of Symfony Live conferences in Paris and in San Francisco. During the first week following their publication, more than 10,000 views were recorded, that's amazing! And today, we've just added 5 more hours of talks.There's seven videos in the playlist including talks from...
On NetTuts.com there's a recent post that tries to explain the "whens" and "whys" of design patterns - when using them is a good idea and why you might want to implement them as a part of your application.There are plenty of articles that explain what design patterns are, and how to implement them; the web doesn't need yet another one of those articles! Instead, in this article, we will more discuss the when and why, rather than the which and how. I'll present different situations and use-cases for...
For those out there using the CakePHP framework to create your applications, you might be interested in these quick tips from Juan Basso on the Zumba Engineering Blog for both the architecture and actual code to optimize the performance of the app.Our site and system has a lot of throughput and it make us use more instances and try to reduce the load in every part. It makes the company happy (save money) and also make the customer happy (faster load). On this article I will go over few things in terms of...
Recent releases from the Packagist:evert/phpdoc-md (0.0.5, 0.0.4, 0.0.3, 0.0.2)
More and more people rely on the Internet rather than broadcast television for coverage of events like the election, but it still feels like we're in an awkward transition period. Here are the links for live election coverage that I've managed to find.
Please leave a comment if you have anything to add. Thanks!
NPR Big Board
It's a bit ugly, but I love this bold summary. Would make a great backdrop for a party.
NYT Big Board
A much prettier summary. Would also make a good backdrop.
NYT Live Map
The PHPBenelux conference has officially announced their tutorials (and speakers for them) for this year's event (happening January 25th and 26th in Antwerp, Belgium):Today we are proud to present you the first speakers for PHPBenelux Conference 2013. We start by announcing our tutorial speakers and in the coming weeks we will start publishing our speakers. The people in the community once again gave us the very hard task to select the tutorials from many quality submissions, and this is what we came up...
Adam Culp has posted a three part series to his blog with some guidance about how to create "clean code" in your application development:Whether we're experienced developers or newcomers, we've all seen code that could/should have been done better. Many times it's even code we ourselves wrote and revisited later for one reason or another. I, for one, have seen my share of code written by a "past me" and wondered what on earth I was thinking when I wrote that. Of course there has also been times when I...
If you're considering using Zend Server in your development, you might find this new post from Matthew Weier O'Phinney interesting. It talks about a handy feature of the tool and how it can help with the performance of a Zend Framework 2-based application.
Zend Server has a very cool Page Caching feature. Basically, you can provide URLs or URL regular expressions, and tell Zend Server to provide full-page caching of those pages. This can provide a tremendous performance boost, without needing to change...
The Sunshine PHP Conference has announced their opening keynote speaker for this year's conference (in Miami, Florida February 8th and 9th) - Rasmus Lerdorf, creator of the PHP language.SunshinePHP Developer Conference is proud to announce the opening keynote speaker Rasmus Lerdorf. In February 2013 when it is cold in most places around the world, it is still sunny and beautiful in Florida. So come down to Miami for a few days and enjoy sun, community, and learn all in one great conference.Tickets for...
Recent releases from the Packagist:mjohnson/decoda-cakephp (5.0.0)
inori/banklink (v0.1.2, v0.1.1)
propel/propel-bundle (1.1.5, 1.1.4)...
So it seems my old eclipse templates won't work anymore in Aptana Studio 3.... Read More
Latest PECL Releases:
Zend Server has a very cool Page Caching feature. Basically, you can provide URLs
or URL regular expressions, and tell Zend Server to provide
full-page caching of those pages. This can provide a tremendous
performance boost, without needing to change anything in your
application structure; simply enable it for a set of pages, and sit
back and relax.
However, this feature is not entirely straight-forward when
using a framework that provides its own routing, such as ZF2. The
reason is because it assumes...
Carl Vuorinen has a recent post to his site showing you how to unit test your Zend Framework (v1) controllers with the help of database fixtures to provide the test with valid data.So I started thinking that there must be a way to use fixtures for the database the same way as when testing models with PHPUnit Database extension (PHPUnit_Extensions_Database_TestCase). But since PHP does not have multiple inheritance, we can't extend both Zend_Test_PHPUnit_ControllerTestCase and...
On the Fortrabbit blog there's a screencast posted showing you how to use Composer using its "create-project" functionality.Learn here about one way (out of many) to install the famous Symfony2 (a popular PHP framework to build web projects. Also the base for some CMS systems, like the new Drupal8) on the fabulous fortrabbit PHP hosting platform. See the ultra cool text editor Sublime Text 2, the fortrabbit web GUI, gorgeous Git version and PHP Composer in action.The tutorial also shows you how to...
In his latest post Wojciech Sznapka wonders if Symfony2 is actually MVC or if it's just the "C" and "V" in the equation with the "M" (Model) layer being left wide open.The question is: where is Model layer in Symfony2? My answer is: there's ain't one and it's good.. Symfony2 isn't hardly bounded with Model layer, as it could have been seen in first version. We can see many Active Record model implementations in modern web frameworks such as Ruby on Rails, Django and symfony 1. I'm not saying those...
On the QaFoo site they've shared a tool they use for doing code reviews in a new post to their blog. The tool, just called review, lets you run several different metrics on the code including the PHP "mess detector", PDepend and PHPCPD (copy & paste detector).We, at Qafoo, do Code Reviews quite often together with our customers. This often focusses on dicussing metrics, browsing the associated code and discussing solutions for the issues found. We started using a bunch of shell scripts for that, like...
Recent releases from the Packagist:valorin/debver (1.2)
brianium/paratest (v0.1.4, v0.1.3)
alexbilbie/mongoqb (1.0.1, 1.0)
erebot/dependency-injection (v1.0.3, v1.0.2)