Planet Drupal

Blog posts for display on Planet Drupal.

Updating the Search API to D8 – Part 3: Creating your own service

Thu, 2014-07-24 14:28 -- drunken monkey

Even though there was somewhat of a delay since my last post in this series, it seems no-one else has really covered any of the advanced use cases of Drupal 8 in tutorials yet. So, here is the next installment in my series. I initially wanted to cover creating a new plugin type, but since that already requires creating a new servive, I thought I'd cover that smaller part first and then move on to plugin types in the next post.
I realize that now already a lot more people have started on their Drupal 8 modules, but perhaps this will make this series all the more useful.

Using Dreditor on other Drupal sites

Fri, 2013-08-02 10:01 -- drunken monkey

Most people who regularly use the Drupal.org issue queues will probably (or hopefully) be familiar with Dreditor, Daniel Kudwien's incredibly useful user script which streamlines the UI, helps you to easily review patches and also contains autocompletion for HTML typed in textareas on the site.
Since that last feature would also be very useful for any other site where you can enter (possibly filtered) HTML, I went and "ported" the autocomplete part of his script to also work with other Drupal sites. See the full post to get it.

Updating the Search API to D8 – Part 2: Configuration and schema

Tue, 2013-07-30 20:48 -- drunken monkey

In Part 1 of this series, I explained how to create a basic configuration entity in Drupal 8. But the task wasn't completely finished: you should also always specify the schema for your configuration entities (as well as for other configuration). So in this (slightly shorter) tutorial part, I will cover the general new Configuration API as well as configuration schemas.

Updating the Search API to D8 – Part 1: Creating an entity type

Sat, 2013-07-27 23:56 -- drunken monkey

The 8.x version of Drupal has entered Alpha stage and people everywhere are telling you to port your modules now. However, proper documentation is scarce and existing tutorials or examples only explain the simplest steps. Bad for modules like the Search API, which use things like entity types and plugins, and aren't as easy to port.
Still, I decided to venture into the unknown and start porting now. It was about as bad as I'd feared and I'm still far, far from finished, but I nevertheless wanted to share the first advanced pieces of updating wisdom I've found. Hopefully it will help others get started more smoothly than I did.

Search API Location overhauled

Fri, 2013-07-26 16:31 -- drunken monkey

One of the most sought-after features for the Search API has now finally been completely integrated. After Mattias Michaux implemented proximity searches almost two years ago, I was recently sponsored to polish his code and finally integrate it properly with all related modules, especially Solr search. So now, location support for the Search API is finally the just-enable feature it should be, with the Search API Location module and its new Beta 1 release.

Search API Solr search is stable!

Mon, 2013-06-10 18:55 -- drunken monkey

After being production-ready for a long while and having accumulated several thousand users, the Search API Solr Search project has now finally got a stable release. Included is the promise and hope that the configuration files and inner workings of the module are now insofar stable, as that future minor version upgrades won't require any re-indexing anymore.
If you are using an older version (especially pre-RC4), upgrade now and benefit from a range of new features and bug fixes!

Creating helpful documentation

Sun, 2013-06-09 12:00 -- drunken monkey

Good documentation helps both a module's maintainers and its users, and is quintessential for the success of at least more complex modules. That's why you, as a module maintainer, should not put this (admittedly rather unpopular) task off any further but write some helpful documentation rather sooner than later.

On a related note, I just set a good example by finally expanding the handbook documentation for the Search API, and adding some for the Solr search module as well. Go check it out!

Subscribe to RSS - Planet Drupal