8 ms·
Drupal 8.0.0 released
- samuell 11y agoDrupal lead, Dries, also wrote a read-worthy post on the release: http://buytaert.net/drupal-8-0-0-released http://buytaert.net/drupal-8-0-0-released
- audessuscest 11y agoVery interesting incoming developpement : https://www.drupal.org/project/big_pipe https://www.drupal.org/project/big_pipe
- rlander 11y agoKudos for the reboot. I haven't touched Drupal in maybe 7 years, but I gather it must be orders of magnitude easier now to develop a site with modern software engineering tools than it was then. However, this reasoning feels wrong: If we were to ignore these market forces, Drupal would be caught flat-footed and quickly become irrelevant. Wordpress is still the same big ball of mud it was 10 years ago and it powers 1/4 of the internet.
- zdw 11y ago> Wordpress is still the same big ball of mud it was 10 years ago and it powers 1/4 of the internet. This is mainly because a front end developer can vomit into a PHP file and Wordpress will gladly display it.
- 0x4a42 11y ago> This is mainly because a front end developer can vomit into a PHP file and Wordpress will gladly display it. This made me laugh, but it's, alas, very true. In WP's ecosystem, the code you find in plugins, themes and WP itself will just makes your eyes bleed.
- Scoundreller 11y agoWhile in Drupal, you'll get a white-screen-of-death that can be hard to back out of...
- Albright 11y agoNot if you don't have the stupid PHP filter installed (it was ripped out of core for the Drupal 8 release, praise be to the heavens; for those unfamiliar, it was basically <textarea> plus eval()) and you're using decent version control.
- snowwrestler 11y agoI can tell you from experience that WSOD is plenty achievable in Wordpress too.
- huskyr 11y agoVery true indeed. I've done maintenance on a few WordPress sites and every time i opened up a new theme or plugin i thought "this can't possible be as worse as the last one." Boy, was i wrong.
- fungi 11y agoit's moving further up the chain. it is not hard to find a graphic designer who fancy themselves as wp experts because they can copy pasta css, install a module or two and ftp it to $3/mo shared hosting. but honestly that is what many clients want, make it look pretty and don't bore me with your "best practice" and "you need to apply 12months worth of critical security patch's" mumbo jumbo.
- donutdan4114 11y agoI would argue that Drupal's target is much different than Wordpress'. Yes, Drupal has a tiny bit of focus on small sites, but Drupal can't contend with Wordpress, not even close. Wordpress is much faster to setup and get a nice looking site up and running. Where WP falls short is in the enterprise market, and this is where Drupal's ideal customer is. Drupal powers Tesla, Whitehouse.gov, Weather.com, Economist, NY.gov, and other major sites. So for Drupal to remain relevant to these types of clients it has had to play catchup. D7 changed a lot from it's initial release, and a lot of contrib modules helped make it a decent enterprise-level solution. But D8 is a whole new beast that really sets the bar pretty high. You can literally build anything in Drupal, and with it's new focus on having "headless" RESTful services, it can be used to power your entire content strategy (pushing content to apps, other sites, etc).
- zdw 11y ago> Wordpress is much faster to setup and get a nice looking site up and running. I would argue that this is faster than most Wordpress setups: drush dl drupal drush si drupal ... drush en "name of theme" Wordpress is easier to set up only for the "I still use tools from a decade or two ago" crowd.
- donutdan4114 11y agoI mean, I don't just mean setting up a bare site. Between setting up content types, fields, putting in content, downloading additionally needed modules (which got better in D8 with Views/Twig/CKEditor in core), and how much custom theming has to go into a Drupal site, I feel like WP is generally much faster to deal with and has more beautiful themes/widgets that you can just plug n' play. However, I'm not an expert in WP dev. But I wouldn't recommend Drupal to a very small business that needs a basic site. For that I would recommend WP, squarespace, wix, or equivalent. I would only recommend Drupal if someone needed some enhanced functionality, in which case, Drupal is a great platform.
- butterfi 11y agoThat's presuming they can have command line access and the tools/know how to install drush. I suspect a lot of WP installs start with a single click button on a graphic UI.
- jackbravo 11y agoThe creator of ghost (the blogging platform) was a wordpress developer. He doesn't think that wordpress hasn't changed: > http://john.onolan.org/project-ghost/ http://john.onolan.org/project-ghost/
- isoos 11y agoIs it possible to create a multiple-level (nested) multisite setup with Drupal? I am looking for to have a separate site for: example.com/, example.com/a, example.com/b, example.com/a/123, example.com/a/234? If not drupal, is there an alternative (wordpress plugin?) to achieve the same?
- donutdan4114 11y agoYes, possible. https://www.drupal.org/node/2297419 https://www.drupal.org/node/2297419
- isoos 11y agoYes, I have seen that, but it is not clear to me whether that allows multiple levels and/or nested multisites.
- jackbravo 11y agoThis is probably easier to maintain (code wise) using different root folders, but configuring the http output folder within apache or nginx configuration.
- ksenzee 11y agoYes. Drupal itself is moving away from multisite and toward this kind of setup. Disk space is cheap now. Unless you're talking about literally thousands of sites, and you have the Drupal expertise on your team to manage that kind of setup, use separate root folders.
- deleted 11y ago[deleted]
- jh3 11y agoproject_root/sites/example.com project_root/sites/example.com.a project_root/sites/example.com.b project_root/sites/example.com.a.123 project_root/sites/example.com.a.234 Create these directories. Add a settings.php file to each. Add stuff to sites.php if needed. example.com.a and example.com.b should definitely work. Not too sure about the other two because I haven't created a site in a multi-site setup that is 2 subdirs deep, but it is easy enough to try. You may also need to symlink the subdirectories (e.g. a) in project_root. See "Subdirectory multi-site" here: https://www.drupal.org/documentation/install/multi-site https://www.drupal.org/documentation/install/multi-site
- unixhero 11y agoDrupal 6 was an exciting time for them. I wonder if they manage to rewrite all those plugins for the Drupal 8 release. I certainly hope so. It's been in the making a long long time. I guess I will have to give this a spin.
- donutdan4114 11y agoPretty much everything under the hood has been rewritten. It is a very different CMS than D6/7 was. Whether or not all those changes are for the better, is up to you to decide.
- freshyill 11y agoI work with Drupal 7, and I don't love it. I'm very much looking forward to Drupal 8. The powerful built-in support for building restful looks great.
- donutdan4114 11y agoI've migrated two simple modules to Drupal 8, and created one specifically for D8. I can tell you that D8 is a much better setup on the programming side. D8 is finally following modern programming paradigms, such as dependency injection, twig templating, OOP that makes sense, composer support, PSR-4, PHP7 support, and more. Can't wait to start building much larger sites with D8 and when there's more contributed content for it.
- thibaut_barrere 11y agoTo people using Drupal in production: can you share what you consider to be the sweet spot for using Drupal? Also, are you mostly using existing components, or leaning more toward custom development?
- ksenzee 11y agoI mostly use existing components, because they're there and (usually) of high quality and integrate well together. But on a project of any size you'll need custom development. If your project is so small you don't need any custom development, you might have been happier with a simpler CMS in the first place. I've always liked the description of Drupal as a content management framework.
- thibaut_barrere 11y agoThanks for your input, appreciated! A bit of custom isn't a problem (I'm used to do everything custom usually!), but it's good to know there are truly useful existing components which can play well together.
- ksenzee 11y agoYes indeed. There are so many existing useful components that there's a whole section of the Programmer's Guide to Drupal [0] called "Common Drupal Programming Mistakes: Programming Too Much." Almost all the Drupal code I write is either integration or patches to existing projects. http://shop.oreilly.com/product/0636920027799.do http://shop.oreilly.com/product/0636920027799.do
- donutdan4114 11y agoI've worked on many Drupal sites, and I would say the sweet spot is a client who is going to budget $10k+. Basically, under $10k budget means you should be looking at simpler, pre-baked solutions, like Wordpress, Squarespace, Shopify, Wix, static HTML, etc.. I've worked on Drupal projects from $25-250k+, and it can handle pretty much everything (sometimes requiring a lot of TLC tho). There are so many contributed modules that can help build things out, but I always need some type of customizations requiring (usually a few) custom modules per project. It all depends... I did one project that had dozens of crazy features that we broke out into 70+ custom modules... But yea, I would say the sweet spot is a customer who needs a pretty large site with a lot of functionality. My 2 cents anyway.
- Albright 11y agoDeveloper of Pathologic [1] here. Code-wise, D8 is really a whole new paradigm for the system, so if you've given Drupal a look in the past and rolled your eyes at the PHP 4-ness of it all, I really encourage you to give it another look with fresh eyes in the future. In terms of user-facing features, I think the greatly improved support for multilingual sites is the most exciting new feature (especially as just this week I've been encountering headaches related to i18n implementation on a D7 site… argh). 1: https://www.drupal.org/project/pathologic https://www.drupal.org/project/pathologic
- JohnTHaller 11y agoAs the operator of one of the larger Drupal-powered sites, I'm looking forward to playing with some of the news features and functionality (first on my personal site). Granted, I still dread making the transition from D7 to D8 for my production site with 200k registered users, 53k nodes, and 3m unique monthly visitors.
- anon6_ 11y agoCare to link your site? Do you have any blog posts on how you manage to scale with drupal? Have you considered alternative solutions?
- eurokc98 11y agoMost likely this site: http://portableapps.com/ http://portableapps.com/ which is running D7 <meta name="Generator" content="Drupal 7 (http://drupal.org)" http://drupal.org)" />, mentioned on his HN handle. His blog also running D7 with 2 posts on Drupal, nothing on scale that I noticed quickly. http://johnhaller.com/development http://johnhaller.com/development
- JohnTHaller 11y agoThat's it. And I run Drupal on my personal site as well as you noted. I have a handful of other Drupal sites and a couple WordPress sites I help with, too. I'll probably upgrade my personal site first and my internal test sites running on local server instances to play with.
- ohthehugemanate 11y agoThere are a lot of great posts and case studies about weather.com, which is a solid example of drupal in a high performance environment. Performance has been a specialty for me in my own drupal career. Drupal 8 is a whole new ballgame, though. Cache tags are built in from the ground up, and the page render/caching engine is built to mimic a reverse proxy. Rasmus Lerdorf (creator of the PHP language) benchmarked a pre release of drupal 8 at >2500 page views per second with 20 concurrents.
- SwellJoe 11y agoI have very mixed feelings about Drupal. On one hand, it does have a lot of functionality available in third party modules; but the quality and completeness of them varies wildly, and most require custom code in order to be useful. Another issue is maintenance. I don't think I've ever met a well-maintained contrib module; even ones that seem to be actively maintained aren't what I would call "well" maintained...reported bugs don't get fixed, patches don't get accepted or commented on (I have a half dozen bugfix patches spread across three or four projects, including one for something in core, that have gotten no response, some for months). While Drupal doesn't suffer from the crass commercialization that has befallen much of the WordPress ecosystem, it seems only companies paying for development get any sort of response. I don't have a problem with developers prioritizing paying customers (I do it with my own Open Source software, as well); but, when someone sends a patch that fixes a bug, at least comment on why you don't want to integrate it or give some guidance on what would make it acceptable for integration. I am beginning to feel like submitting a ticket to the Drupal issue tracker, even with a patch to fix the problem I'm reporting, is a waste of my time. If it were one project or module, this wouldn't be such a big deal; individuals get busy. But, I can't think of any Drupal module or project that I've ever had a good experience reporting issues on. And, if I didn't know that development is still ongoing, and that many new sites are being developed with Drupal, I would assume this extraordinarily poor level of interaction in the tracker was indicative of the impending death of the project. There is also an academic love of complexity and abstraction in Drupal, almost to the point of absurdity, at times. Every new release introduces vast swaths of new terminology (often used in ways slightly unlike the rest of the industry use the term). Entities, nodes, rules, entity bundles, content types, views, entity references, delta, features, fields, hook, machine name, taxonomy, etc. About half of these do not mean what I would have guessed or are used in subtly different ways from what I would have guessed. And, it's impossible for a casual Drupal developer to stay on top of this stuff; it moves so rapidly, and is so poorly documented, one has to read code. And, there's a lot of code. Somehow, despite all the abstraction, most modules include huge swaths of code, and aren't particularly re-usable. Even very simple functionality seems to require pages of code. It's often more of a pain in the ass to make the re-usable components work in some way that the developers didn't think of than it is to implement from scratch. Partly this is my own shallow knowledge of Drupal, but I see experts building out entirely new modules to address very similar use cases to other modules they've made, so I'm not alone. Somehow, despite WordPress' much uglier code base, I'm generally able to implement stuff more rapidly than in Drupal; and many things that seem really locked down and hard to change in Drupal seem easy in WordPress. The upgrade path is literally disastrous for non-core modules. One literally can't get from point A (a Drupal 6 site) to point B (a Drupal 7 site) without writing a lot of migration code, unless you're only using the most basic of core functionality. I'm months into a migration from D6 to D7. The new(-ish) Migrate module requires writing code, sometimes significant amounts of it, and is extremely poorly documented (and uses a bunch of its own jargon in confusing ways; the number of contexts in which the word "migration" is used for different purposes makes my head explode), and in-place upgrades don't exist for a large number of modules, including pretty important ones (like Project Issue, the module used by Drupal.org for its own issue tracker...it has no working upgrade path, at all). I see the benefits that Drupal 8 brings. And, having worked with Drupal 7 for a few months now during this migration, I see that the direction is a positive one. But, I find myself being angry a lot whenever I work with it, because there's so much forward momentum (everything changes! all the time!) but nobody seems to give a shit about bugs, major usability problems, or providing a reasonable upgrade path. Really basic stuff that ought to go without saying, really doesn't in Drupal. So, it's a real love/hate relationship. Which is true of every CMS I've ever used (and I've used a lot). I have decided to stick with Drupal through at least one more iteration and will launch our Drupal 7 site in a few days (if I'm lucky), but I don't know if I'll ever migrate to Drupal 8.
- cdnsteve 11y agoI'm skeptical about investing anymore time into Drupal after using 7 extensively for the past few years. Any work I've done was mainly custom module development, soap, rest apis, aws integrations, ecommerce, etc. Pretty app heavy stuff. It's not well suited for these tasks but it can do them if you get creative. This, of course, has great overhead and complexity. I'm going to look closely at other options. It seems at this level that Drupal has been outgrown and that once you hit that point, for me, it feels like pressing the reset button and starting over. I'm bummed it has a growth ceiling. I also feel strongly that the productivity level is deceiving. You race out of the gate with clicky this and module that, to later find working with a custom data model to be extremely painful or that you can only do things via interface and not in code. Unit testing, at least in 7 is non existent. Short term gains and long term pains. It does not feel like it was ever designed with developer speed and procutivity in focus. So while I'm curious to hear of the new release I also just feel you can't teach an old dog new tricks. Part of this is the.community it has built for itself. Time will tell. I have a feeling D8 is between a rock and a hard place. At some point a framework is just way better. Tool for the job I guess.
- mercer 11y agoI agree. While there are probably a bunch of use-cases where Drupal is a good solution, I find that it doesn't hit any 'sweet spot' that I care about. For very simple sites I'm inclined to use a static site generator. For relatively simple sites that need a CMS, I use Wordpress (much as I dislike it). The clients are often familiar with it, and it is pretty easy to set things up. And if I'm going the Wordpress route, I might as well take advantage of the high amount of plugins and the complete (and often cheap) themes that target specific industries. For anything more complicated, I used to be in the Drupal camp, but now I opt for a framework approach. Rails, Express, or something like that. With every single site I've built in Drupal I always ran into the problem that the time spent on 'clicky this and module that' eventually outgrew the initial speed advantage, and I would have been better off doing these things in code in a environment optimized for this approach ('true' frameworks). I think it's analogous to how many of my clients insist on using Wordpress and paying more for that instead of a static site. They would've been better off with a static site that I update for a small fee, or perhaps even a small lesson in FTP-ing and editing a file, but they wanted the 'option' of logging in and changing stuff. But many of them never do. Similarly, the choice of Drupal sometimes seems to be primarily project managers who want the 'option' of making complex changes through the admin interface, just so they have the option. Never mind that the complexity tends to be high enough that you need a programmer anyways to pull it off, so you might as well just go the framework way.
- rybosome 11y agoOne of the most challenging projects I've worked on was building a Drupal 7 site. I was fresh out of college and had absolutely no Drupal experience. In retrospect, I am confident that there were likely easier ways to do many of the things which I wanted, but at the time everything felt like an uphill battle. The biggest challenge was the UI; I had to build something against mocks from photoshop, meaning it had to be pixel-perfect and identical to what the client had agreed to. Most contrib modules didn't have a way to easily customize the output (as far as I could tell), so I either had to modify the code of the module to produce exactly what I needed or just write the functionality myself (typically choosing the latter). Had I been working with a Drupal guru there may have been a way to avoid this, but who knows? It seems other commenters have mentioned needing to customize the modules themselves. This was a very poor experience for me. D8 looks like a large improvement, but I was so thoroughly burned by the lack of clarity and community support that I doubt I will touch Drupal again.
- Albright 11y agoAside from the inexperience issue (D7 and later really do give you the power to override theming on just about anything), you should never promise a client that a web design will replicate a mock-up with pixel perfection. It's impossible; there's just too much that's out of your control. A web design mock-up is more of a guideline that can be followed pretty closely, but never perfectly replicated.
- stevejburge 11y agoIf you're interested in ramping up quickly with Drupal 8, there's a completely free Drupal 8 class available on YouTube: https://www.youtube.com/playlist?list=PLtaXuX0nEZk9MKY_ClWcPkGtOEGyLTyCO https://www.youtube.com/playlist?list=PLtaXuX0nEZk9MKY_ClWcP... There's over 60 videos. It's sponsored by http://Acquia.com http://Acquia.com (the biggest fish in the Drupal pond) and created by http://OSTraining.com http://OSTraining.com, who are one of the top sources for Drupal videos.
- x5n1 11y agoFrom what I can see, very little UI differences between D7 and D8, most D7 and D6 developers should be right at home with D8.
- Albright 11y agoActually, D8 adds a few (optional) modules which add some nice UI flourishes to simplify things for administrators and content editors. The stock administration menu module has been greatly improved and made more user-friendly out of the box, and there's many places where you can now do in-place editing of content. Also, everything is responsive out-of-the-box, including the content editing forms. Also, Overlay is gone. (Sorry about that showing up in D7. Some of us tried to stop it, but…)
- ekaln 11y agoPartially true. Yes, there's definitely very few UI changes between D7 and D8 ... so sitebuilders should feel right at home. However, everything has changed in the codebase, so developers have a lot of learning to do.
- spdionis 11y agoI like that people are constructively discussing about Drupal without bashing PHP. I'm pretty surprised about it. Good luck to the Drupal project. Being a symfony developer myself I know that it's a great framework and Drupal surely benefited a lot from the integration.