Print Reseller Scheme
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Drupal

Discussion in 'Website Coding & Programming Forum:' started by bigdave, Aug 6, 2016.

  1. bigdave

    bigdave Moderator Staff Member

    Does anyone develop for Drupal? Is it something I can get a reasonable handle on in a weekend using Lynda.com? I only ask as I've been offered some regular overflow work for a local agency but they primarily use Drupal which is a framework I've not worked with before.
     
  2. Levi

    Levi Moderator Staff Member

    https://www.drupal.org/node/877140

    I'd say it wouldn't take you a long time if you're familiar with another framework. It seems like it's pretty modular like wordpress for example.
     
  3. bigdave

    bigdave Moderator Staff Member

    Cheers for that link it seems to condense alot of what's on Lynda, which is great becuase so far I've watched about an hours worth of Lynda tutorials and I'm only up to "drupal system requirements". Its really slow going but with the termanology being so diffeent from wordpress and magento I daren't skip a lesson incase it contains a useful phrase.
     
  4. Steve Purkiss

    Steve Purkiss New Member

    IMHO the best videos to watch as a beginner are the ones which were sponsored & uploaded to YouTube for free:
    https://www.youtube.com/playlist?list=PLtaXuX0nEZk9_p3OiVFV96FMQwPWklRiL

    As for setting up, it's super-easy to use something like DrupalVM: https://www.drupalvm.com/

    There's also hosting companies like https://pantheon.io/ who give you three development sites to use, you only have to pay if you want to link a live domain, no-one says you ever have to though...

    My experience is once you figure out it's all about the community & whatever you're trying to do someone's bound to have done it before it becomes a lot easier - I did the uphill struggle for many years trying to learn it by myself - get to a local user group, set one up, connect online, join drupal.org, and contribute - community needs contributions of all types, much more non-code than code too, from documentation to blogging, event running, etc.

    And finally, figure out exactly what is it you want to build first then work backwards, as said someone's done what you want to do before, break your requirements up & google the hell out of them. No-one's asked me for rocket science in the last 12 years of my Drupal experience, and even if they did, NASA use Drupal for their site so we're ok ;)

    Enjoy!

    oh - and use Drupal8, leave 7 far behind, especially as you're doing front-end stuff - twig rocks!
     
    bigdave likes this.
  5. bigdave

    bigdave Moderator Staff Member

    The work that I'll be dealing with is everything from maintaining / updating existing sites on Drupal 7 as well as working on developing new projects with Drupal 8.

    Working through the Lynda stuff as well as looking on drupal.org I'm starting to see the correlation with my knowledge of wordpress development with taxonomies & article types etc..

    I'm also starting to see what the guy from the agency meant when he said they'd switched to drupal because it allows more fine tuning than wp without the need for heavy modification.
     
  6. Steve Purkiss

    Steve Purkiss New Member

    I've not seen the stuff on Lynda - I find most value out of searching YouTube for 'drupalcamp' and 'drupalcon' as most of the sessions are on there so if there's something specific I need I can usually find a recent session on it (be careful on 8 as much changed so make sure you have the latest).

    The big change from 7 to 8, and the reason it took so long, is going from procedural to object orientation so they're quite different. In 7 there were many 'best practices' whereas in 8 there's a pretty much standard way of doing things which is more in line with modern day programming techniques - it's not totally there yet but a vast improvement on 7.

    For front-end stuff on 7 the issue is working out where stuff is being generated from - if you think of the hook system like a coat hook there's often many coats on a hook so you change something, wonder why it's not changing on the front-end, clear the cache, it still doesn't change, then you find someone's done some business logic in the them layer, etc. etc. whereas with 8 there's restrictions on what you can put in the theme. That's as far as I'll talk about front-end as I'm very much not into CSS, I do logic programming and to me the whole browser wars issues drives me nuts, I like my business logic to work across any device, so stick to back-end development, APIs, etc. For front-end be sure to watch MortenDK's videos, he spent many years working hard to change the face of Drupal theming as before it was very much created by devs for devs.

    With regards to architecture differences between WordPress, I think it's unfortunate they get lumped into the same 'CMS' category - WordPress started off as a blogging platform and due to their wish to provide eternal backwards compatibility they're kinda stuck with it, whereas Drupal dares to change every major version in order to make the most of innovation, so to me it's light years ahead. Drupal is a web app development framework which happens to have content management capabilities, it also can do a lot of other stuff too and the real power is the integration of these, whereas WordPress, along with its different ecosystem of paid modules as opposed to modular and free (although I realise many WP modules are free), you often end up with what someone called 'Frankenblogs'! Distributions are also key to Drupal, providing specific use-cases like https://www.getopensocial.com - however these distributions are often harder to extend so better where your use-case is mostly filled by the distribution than as a starting point. That said, there are ones like http://lightning.acquia.com/ and https://www.drupal.org/project/thunder which are more geared to a starting point for development.

    One thing that I had to get used to - and still am not really, is that a lot of the discussion goes on IRC (https://www.drupal.org/irc) - many UK contractors and freelancers hang around on #drupal-uk, so that's good to ask questions on when people are around, and there's specific ones for commerce, rules, etc. But by far the best is getting round tables IRL & working on stuff - I've been to many DrupalCamps and DrupalCons around the world and am always amazed at how awesome everyone is, and often you can get answers to your burning questions in seconds. There's also stackexchange which has a drupal channel - sadly the forums on drupal.org aren't officially supported any more however a few people are doing their best to answer questions posted.

    Givers gain, I've certainly learned a lot through helping out where I can - I still don't do as much as I'd like and am in awe of the amount of hours and effort people in the community put in to keep the largest open source project in terms of contributors going. Drupal enables anyone to make use of human's best invention the internet - I met an ex-prisoner at DrupalCon Chicago who was using the OpenAtrium distribution to help other ex-prisoners on their 12-step programme & saw DrupalCon was on so came down to see what else it could do. I believe having a platform like this will revolutionise the web - of course not everything has to be done in Drupal but not everyone who wants to use the web needs a customised F1 racing car of a website, many just want to get from A to B using a Ford Focus, etc. and that's where Drupal comes in.

    I'll stop ranting now... enjoy your travels & be sure to participate in the community & you'll get a lot more out of it - one quote I remember is 'Drupal is the best community to have a problem in'!
     
    Stationery Direct and bigdave like this.
  7. bigdave

    bigdave Moderator Staff Member

    Thanks for taking the time to write that Steve. Sounds like I've got a long way to go yet but will be sure to get involved in the community.
     
    Steve Purkiss likes this.
  8. Steve Purkiss

    Steve Purkiss New Member

    No problem, we're mostly a friendly bunch ;) The more you get involved the more response you get from any questions & the more you learn about how it all works. I'm amazed as to what I can build in a few minutes with Drupal, it's powerful stuff!

    Enjoy...
     

Share This Page