Ultimate Frustration

I think I’ve reached the end of the road with calendars and Drupal 8.

None of the plugins I had found worked, so I came up with the brilliant idea of making a copy of my handwritten calendar on TRC and trying it out.  Well, in concept, it was a great idea.  I tried to implement it this afternoon, and it went horribly awry.  Drupal 8 doesn’t let you connect to external databases the same way Drupal 7 does.  None of my MySQL commands will work, nothing will connect.  Drupal 8 wants me to include the DB into its core configuration, which is fine and dandy and all that.  It just means I’d need to rewrite a ton of code in my calendar…. I’ll need to make all the SQL calls use the friggen Drupal API.  I’m not sure I’m ready to get that deep into this.  The Calendar code scares me in places… its a hodge-podge of over 10 years of recompiled insanity.  The final product works and looks amazing, but the back-end is a pretty scary place.

I guess for now, its back to the drawing board for the new Bradford Website calendar.  I have no idea what to do.

This has also put the brakes on my TRC Drupal 8 upgrade project for the indefinite future.  If it was just the calendar, it would be one thing.  However, TRC has multiple locations that use an external DB.  The calendar, directory, webcams, several rss feeds, and i’m sure more I can’t even think of right now.  Re-coding all those scripts to use the Drupal 8 API is going to take me a lifetime.

I hate to say it, but I’m probably going to end up putting off the TRC upgrade until they actually stop supporting 7.  We’ll see….