Drupal 8 = $wow. Have used Drupal 6 and 7 and am building a test events bookings site in Drupal 8 beta because I am accustomed to models views controllers way of doing things from Angular and Rails plus the added advantages of HTML5 and CSS3 are obvious. Creating modules seems easier to me, I never got the hang of hook_something_alter.
1. Tutorials I've run into problems with tutorials about creating D8 modules. While all essentially say the same thing, none actually work, all tuts give YAML syntax errors. Where can I get tutorials that actually work and don't shut down the site? Even the latest ones on Lynda.com seem out of date.
2. Forms Forms in Drupal can be very long 10-20 fields and difficult to reformat and no way I can find to reference the form instance id to enable breaking the form into small field sets. How can a form be broken into several sections/pages to lead the person completing the details through a couple of fields at a time?
3. Are there any example tuts for sending payment to a bank without using ecommerce modules?
Thank you for any assistance, it's much appreciated. Arel
You aren't going to find any solid tutorials for awhile. Drupal 8 is still in beta, with a lot of outstanding issues, so things can and most likely will change. For now the best bet is to look at the modules that ship with D8, as well as contrib modules that are out there already, including the ever helpful examples module:
https://www.drupal.org/project/examples
Another great resource is to just keep an eye on Planet Drupal:
Outside of that, not much more help. Just dive into the code and see what's going on. A good IDE comes in handy for this (personally I use PHPStorm, which is really nice with D8 given the Symfony support, but Netbeans is also a great choice). I say once summer hits, you'll start seeing a lot more. Even the first D8 book is scheduled to hit the virtual shelves then:
https://www.packtpub.com/web-development/drupal-8-module-development
Jamie Holly http://hollyit.net
On 1/17/2015 7:12 PM, Roger wrote:
Drupal 8 = $wow. Have used Drupal 6 and 7 and am building a test events bookings site in Drupal 8 beta because I am accustomed to models views controllers way of doing things from Angular and Rails plus the added advantages of HTML5 and CSS3 are obvious. Creating modules seems easier to me, I never got the hang of hook_something_alter.
- Tutorials
I've run into problems with tutorials about creating D8 modules. While all essentially say the same thing, none actually work, all tuts give YAML syntax errors. Where can I get tutorials that actually work and don't shut down the site? Even the latest ones on Lynda.com seem out of date.
- Forms
Forms in Drupal can be very long 10-20 fields and difficult to reformat and no way I can find to reference the form instance id to enable breaking the form into small field sets. How can a form be broken into several sections/pages to lead the person completing the details through a couple of fields at a time?
- Are there any example tuts for sending payment to a bank without
using ecommerce modules?
Thank you for any assistance, it's much appreciated. Arel
Hey Rodger,
Coming from your background I have no doubt your digging D8. I'm sure your familiar with Symfony http://symfony.com/ and Twig http://twig.sensiolabs.org/ is pretty big for us front-end guys.
Still, it ain't there yet.
1. D8 tutorials and docs for module developers are pretty sparse. It has been a moving target and your best bet is probably to dive into porting a contrib module (see #2) you find useful. Much of this is still relevant:http://drupalwatchdog.com/volume-4/issue-1/upgrading-your-modules and there are always the Drupal docs https://www.drupal.org/developing/modules/8.
2. This sounds like a classic use of Webform https://www.drupal.org/project/webform, there is a D8 port underway.
3. A simple PayPal or Amazon affiliate link? Aside from that, I can't imagine trying to build an ecommerce system with D8 in its current state.
I have a similar background and share your excitement about D8, but am still starting new projects with D7 and advising clients to do the same. At least until there is a real upgrade path -- and progress on that front isn't spectacular.