Questions tagged [drupal]

Drupal is an open source CMS framework written in PHP. Its flexible framework structure allows developers to easily attach customized addons.

Drupal is a highly configurable open source Content Management System (CMS), and Web application framework. Questions here can often be answered in a programmatic manner, or through the use of modules and configurations.

The latest version with official releases is Drupal 7 (released on January 5, 2011). Drupal 6 (released on February 13, 2008) is still largely used; Drupal 8 is currently under development, and it is loosely planned for its first official release around 2016. For more details about it, refer to Drupal 8 feature freeze: December 1st, 2012.

Drupal questions can also be asked on #drupal on the FreeNode IRC network, or on the drupal.org support forums.

Drupal Answers is a dedicated Stack Exchange site for Drupal. You are invited to use it for any questions specific to Drupal which are outside the scope of this StackExchange site. Another site is StackOverflow, with questions using tags such as Drupal-6, Drupal-7, Drupal-8 or just Drupal.

Resources

15 questions
57
votes
17 answers

What Part of Your Project Should be in Source Code Control?

A fellow developer has started work on a new Drupal project, and the sysadmin has suggested that they should only put the sites/default subdirectory in source control, because it "will make updates easily scriptable." Setting aside that somewhat…
muffinista
  • 301
  • 3
  • 7
23
votes
9 answers

Should I build my own CMS or rely on a pre-built one?

Related: As a beginning programmer, should I favor building my own libraries over using 3rd-party libraries? As an intermediate to advanced level PHP web-developer and a young one at that (15yrs.), should I build an entirely new CMS for my website…
Alex Bennett
  • 349
  • 1
  • 2
  • 6
9
votes
2 answers

How to structure git repositories for project?

I'm working on a content synchronisation module for Drupal. There is a server module, which sits on ona website and exposes content via a web service. There is a also a client module, which sits on a different site and fetches and imports the…
littledynamo
  • 193
  • 1
  • 4
7
votes
5 answers

php CMS from scratch vs open source

Problem: We have to develop a CMS for our sites. The sites are kind of different, but they have common parts. We need to use our external user system and permissions, the menus are different for each of the sites, the forms are posting to a 3rd…
rungurean
  • 83
  • 4
7
votes
4 answers

Can I demand code quality on a project I've gotten

I have been given a Drupal project from an external web agency and have been trying to becomer wiser on both Drupal and their approach of making a site. With time I've learnt a bit morer about Drupal, even though I've come to notice it really isn't…
Robin Castlin
  • 1,199
  • 1
  • 8
  • 11
4
votes
2 answers

How deep should we dive into testing different layers, i.e. Drupal's db_query?

We use Drupal 7 as our base CMS tool. For one specific product, something like an ERP, we've created sort of a non-drupal layer, to keep our specific business code in. It would be something like this: ------------- | Business | -> This would be our…
Daniel Ribeiro
  • 610
  • 6
  • 11
3
votes
3 answers

Why do Wordpress & Drupal serialize the DB data?

I've recently went through manually editing some tables on a Wordpress website. I've also had some experience with database internationalization so I know that serializing is not the best (IMO) option to apply multiple languages. So why is it…
Asaf
  • 375
  • 2
  • 10
3
votes
8 answers

How can I move a team from C# ASP.NET development to PHP development using Drupal?

I have a team of skilled C# developers with vast experience in creating ASP.NET MVC applications. We will soon be starting a new big web site project based on the Drupal platform. My developers do not have any experience in Drupal or PHP and I want…
Diana
  • 39
  • 1
  • 2
1
vote
1 answer

Questions and Concerns About Using Java/Tomcat and Apache

I am having to use Java due to needing one backend library. Is it still considered good practice to set up Apache as the front-facing server and have Tomcat behind it? I am spending a lot of time configuring mod_jk. Also, what do people usually use…
Genadinik
  • 509
  • 1
  • 3
  • 11
0
votes
2 answers

Explaining Drupal to a Programmer

(Apologies in advance for the vague and miasmic question) Is there a book, or other resource, there that can explain using Drupal, The System, to a web app oriented programmer? I've read through the Apress Pro Drupal Development book and it was a…
Alana Storm
  • 301
  • 1
  • 7
0
votes
2 answers

CSS Methodologies for a Few Classes

We've been using BEM for several Drupal CMS projects quite successfully. This means we've been following a frontend-first approach where frontend developers specify the HTML, which is then implemented backend-side. In Drupal 8 where we have Twig…
dude
  • 61
  • 6
0
votes
1 answer

Can I execute a query in a catch block of try-catch?

I want to confirm the right approach of using try-catch exception handler. I have written a query in a try block, and if any exception is thrown, it will execute a query in a catch block. Is this the right way? try { …
0
votes
3 answers

Is it okay to just add a page or two PHP page to add some functionality to a Drupal site?

I'm not familiar with Drupal, really. I can dig around the admin interface and navigate the directories and find the files that I need to just fine as well. What I'm really not familiar with is adding modules or extending modules. The site…
Nathan Lutterman
  • 359
  • 1
  • 4
  • 10
-1
votes
1 answer

How to prevent website from hanging on because external web service is unavailable?

A Drupal website is using external Rest API service. The problem is that in a rare occasion when the Rest API service loses database or crashes for whatever reason, that causes the Drupal website to slow down. Drupal uses many API endpoints…
Đuro Mandinić
  • 216
  • 1
  • 7
-1
votes
2 answers

Could I learn more about programming from deconstructing drupal rather than continuing with ZF?

When I was deciding how to go about learning to design PHP web applications, it made sense to sort of shoot toward the middle and go with Zend Framework so that I could be closer to the lower level, but I would be able to get down to business fairly…
user25791