![]() ![]() It is stable and works well with the latest beta RC release. This is why I created the Simple XML Sitemap. Google loves sitemaps, but the Drupal 8 version of the xml sitemap module is broken. The real problem has been the lack of an xml sitemap generator. In terms of SEO, the metatag module is far from functional (do not bother to download the dev version, it is just some test code displaying a phone number field), but this is not tragic, the metatag module's impact on SEO has been declining a lot anyway. For big projects, captcha seems to be a good choice, however currently it has some major issues. See How to use the Drupal 8 honeypot module efficiently. In terms of spam prevention, for smaller to medium projects, I recommend the dev version of the Honeypot module. Drupal 7 has a ton of modules for these purposes while Drupal 8. While Drupal 8 comes with a well balanced selection of core modules, there is a couple of functionalities which will be added on top in most of your projects. The state of Drupal 8 SEO and spam prevention modules Overriding a base theme is really simple by adding specifically named templates, including and excluding(!) certain base theme libraries. libraries.yml file provides a lot of flexibility more or less deprecating the D7 libraries module. Adding CSS and JS files and combining them to libraries in the. ![]() TWIG for the markup, YAML for the config files, it all fits rather well together.įor most projects you will be creating a sub theme on top of the included 'classy' theme or another contrib base theme. Creating sub themes in Drupal is a treat. You will probably find that there is no real choice in templates and that creating a custom theme is a must. The krumo() function (or better yet your debugger) is a working alternative. Heads up regarding the devel module: it installs fine, however dpm() runs out of memory and leads to a WSOD, regardless of the amount of memory set. This system makes the heavy Drupal technology appear fast on an interpreted language like PHP. Setting cache tags for cached module data is very easy and efficient. This move brings many advantages including data portability, an actual relation between the module and its data (no more abandoned variables after module deletion) and many more.įinally Caching has become smart! Cached content is able to invalidate itself depending on several circumstances, including content changes. ![]() Variables as means to store quick data have been replaced by the much more sophisticated configuration system. Those module class files is where the real action takes place! It will include all the hook functions which will hopefully only call Drupal and custom class methods anyway. module file feels almost like a thing from the past left there to accommodate some developers and site builders resisting change. I cannot overstate how fulfilling it is to code Drupal modules and at the same time be able to (mostly) follow PHP best practices. The small number of contributed modules will force you to create your own, even for small changes on the site. The gray area where a module has its settings saved in the database but is still disabled, is gone. On a side note, going through the list of modules, you may be negatively surprised by the fact that it is impossible to disable modules - this has been done by design, check out this page. A feature for which you had to install ocupload in the past. The built in WYSIWYG even lets you upload files directly into it. With its translation capabilities, ckeditor and views in core, creating a simple portfolio or blog website with Drupal 8 may be even quicker than using its predecessor. On top of that, apart from all the OOP technologies we love, there have been some new drupalisms introduced and not documented yet - this combined with the lack of contributed module solutions makes D8 development much more time consuming for paid projects in comparison to D7.įirst however, it may be necessary to upgrade the server, as D8 introduces relatively high PHP and SQL requirements. The community has to play some catching up first and port modules, themes and write documentation. I would wait a few months before creating bigger D8 projects for my clients. Which projects qualify for Drupal 8 today? I have to admit, I am no exception - the embracement of many PHP technologies and (finally!) the jump to the OOP paradigm makes me want to stop writing right now and code some more. With only a few critical issues left in the Drupal 8 queue and D8 being surprisingly usable, many developers already use it in small projects to play with the technology and to challenge themselves. Some of the information presented below may not be current anymore. Please note the article's publishing date. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |