SlideShare a Scribd company logo
1 of 16
presents



             Introduction to Multisites
                  A Beginners Guide
                 Afraaz Ali– Senior Lead
                 afraaz@appnovation.com




Afraaz Ali                           V     Saturday June 2, 2012
AGENDA


                    Introduction

                    What is multisite?

                    Why do we use it

                    How do we set it up?

                    Demo

                    Pros

                    Cons

                    Resources



Afraaz Ali   V      Saturday June 2, 2012
Who am I?


             •    Developing with Drupal for the last 5 years


             •    Previously worked with CakePHP and CodeIgniter


             •    Last six months has been mobile development using

                  SproutCore


Afraaz Ali                     V           Saturday June 2, 2012
What we use




Afraaz Ali       V         Saturday June 2, 2012
Some of Our Clients




Afraaz Ali           V             Saturday June 2, 2012
What is Multisite?



             Multiple sites running off one code base.

             Things you’ll need:


                  A server (local server will do. With apache2)

                  A text editor

                  Drupal (6.x, 7.x)


                  Drush (optional)




Afraaz Ali    V             Saturday June 2, 2012
Afraaz Ali   V   Saturday June 2, 2012
Database Configuration




                    One database, prefixed tables

             More for hosting accounts with limited amount of databases


                          site1_users        site2_users




Afraaz Ali                               V           Saturday June 2, 2012
Database Configuration



             Multiple databases

             Separate databases for each site

             •    Organized and more manageable

             •    Tougher to separate databases out if a site needs to be moved out
                  of the multisite setup


             Separate database for ONLY the shared tables

             •    For installs that do not exist in the default schema

             •    For accessing several databases from the same code base at the
                  same time.

             •    More management, harder to move databases around if needed.



Afraaz Ali                                        V            Saturday June 2, 2012
Afraaz Ali   V   Saturday June 2, 2012
Why Multisite?




                   Code Management


                   Cost Effective


                   Streamlines Development




Afraaz Ali     V              Saturday June 2, 2012
How do we set it up?



             Things we needed

             •    A server. I’m using my localhost

             •    A text editor

             •    Drupal install (7.14)


             Only a few steps away from a multisite setup

             •    Setting up your VirtualHost file

             •    Install the first site

             •    Install the second site

             •    Site specific modules/themes (optional)

             •    Site aliases (optional)

             •    Sharing database tables (optional)



Afraaz Ali                                     V             Saturday June 2, 2012
PROS




             •    Code updates are made only on a single code base




             •    Sharing of tables across sites.




             •    Platform development. Develop once, deploy “n” times




Afraaz Ali                                    V         Saturday June 2, 2012
CONS



             •    Content can sometimes be tough to share across sites. We
                  tend to have a “central” content server to get around this
                  issue.

             •    Takes more time to setup the servers.

             •    Can get stressful on a single server architecture if you have
                  lots of sites.

             •    Updating core and contributed modules means running
                  update.php for each site. Enter Drush!




Afraaz Ali                                    V            Saturday June 2, 2012
Resources




                   http://drupal.org/documentation/install/multi-site

                          http://groups.drupal.org/multisite

             The default/default.settings.php file (Very well documented)
                             http://github.com/afraazali




Afraaz Ali                                 V           Saturday June 2, 2012
Thank You!
                Questions and Comments?
                Your Full Name – Your title
                youremail@appnovation.com




Afraaz Ali                           V        Saturday June 2, 2012

More Related Content

Viewers also liked

St differencesbetweenadvertisingand pr
St differencesbetweenadvertisingand prSt differencesbetweenadvertisingand pr
St differencesbetweenadvertisingand pr
Steve Turner
 
Drupal Multisite Setup
Drupal Multisite SetupDrupal Multisite Setup
Drupal Multisite Setup
ipsitamishra
 

Viewers also liked (7)

VIAGGIO NEL VENETO DELLE QUALITA’ - Presentazione di Gabriella Chiellino, eAm...
VIAGGIO NEL VENETO DELLE QUALITA’ - Presentazione di Gabriella Chiellino, eAm...VIAGGIO NEL VENETO DELLE QUALITA’ - Presentazione di Gabriella Chiellino, eAm...
VIAGGIO NEL VENETO DELLE QUALITA’ - Presentazione di Gabriella Chiellino, eAm...
 
Sram
SramSram
Sram
 
Incentivizing smallholder farmers in adopting new innovation of aflsafe for i...
Incentivizing smallholder farmers in adopting new innovation of aflsafe for i...Incentivizing smallholder farmers in adopting new innovation of aflsafe for i...
Incentivizing smallholder farmers in adopting new innovation of aflsafe for i...
 
St differencesbetweenadvertisingand pr
St differencesbetweenadvertisingand prSt differencesbetweenadvertisingand pr
St differencesbetweenadvertisingand pr
 
2014 WordCamp Austin: Do's and Don'ts of WordPress Multisite
2014 WordCamp Austin: Do's and Don'ts of WordPress Multisite2014 WordCamp Austin: Do's and Don'ts of WordPress Multisite
2014 WordCamp Austin: Do's and Don'ts of WordPress Multisite
 
Drupal Multi-Site Setup
Drupal Multi-Site SetupDrupal Multi-Site Setup
Drupal Multi-Site Setup
 
Drupal Multisite Setup
Drupal Multisite SetupDrupal Multisite Setup
Drupal Multisite Setup
 

Similar to The Basics of Multisiting

SD PHP Zend Framework
SD PHP Zend FrameworkSD PHP Zend Framework
SD PHP Zend Framework
philipjting
 
Zend Framework 2, What's new, Confoo 2011
Zend Framework 2, What's new, Confoo 2011Zend Framework 2, What's new, Confoo 2011
Zend Framework 2, What's new, Confoo 2011
Bachkoutou Toutou
 
Community day 2013 applied architectures
Community day 2013   applied architecturesCommunity day 2013   applied architectures
Community day 2013 applied architectures
Panagiotis Kefalidis
 
20120722 word press
20120722 word press20120722 word press
20120722 word press
Seungmin Sun
 
One drupal to rule them all - Drupalcamp Caceres
One drupal to rule them all - Drupalcamp CaceresOne drupal to rule them all - Drupalcamp Caceres
One drupal to rule them all - Drupalcamp Caceres
hernanibf
 
Unit Test for ZF SlideShare Component
Unit Test for ZF SlideShare ComponentUnit Test for ZF SlideShare Component
Unit Test for ZF SlideShare Component
Diego Delon
 
Karwin bill zf-db-zend_con-20071009
Karwin bill zf-db-zend_con-20071009Karwin bill zf-db-zend_con-20071009
Karwin bill zf-db-zend_con-20071009
robinvnxxx
 

Similar to The Basics of Multisiting (20)

Require js training
Require js trainingRequire js training
Require js training
 
Zend
ZendZend
Zend
 
Hello World with EDB Postgres
Hello World with EDB PostgresHello World with EDB Postgres
Hello World with EDB Postgres
 
Drupal 8
Drupal 8Drupal 8
Drupal 8
 
Drupal 8
Drupal 8Drupal 8
Drupal 8
 
SD PHP Zend Framework
SD PHP Zend FrameworkSD PHP Zend Framework
SD PHP Zend Framework
 
Make Local WordPress Development Simple
Make Local WordPress Development SimpleMake Local WordPress Development Simple
Make Local WordPress Development Simple
 
Zend Framework 2, What's new, Confoo 2011
Zend Framework 2, What's new, Confoo 2011Zend Framework 2, What's new, Confoo 2011
Zend Framework 2, What's new, Confoo 2011
 
Zend Framwork presentation
Zend Framwork presentationZend Framwork presentation
Zend Framwork presentation
 
Java EE 7 Soup to Nuts at JavaOne 2014
Java EE 7 Soup to Nuts at JavaOne 2014Java EE 7 Soup to Nuts at JavaOne 2014
Java EE 7 Soup to Nuts at JavaOne 2014
 
Zend Framwork configurations
Zend Framwork configurationsZend Framwork configurations
Zend Framwork configurations
 
Deploying PHP apps on the cloud
Deploying PHP apps on the cloudDeploying PHP apps on the cloud
Deploying PHP apps on the cloud
 
Community day 2013 applied architectures
Community day 2013   applied architecturesCommunity day 2013   applied architectures
Community day 2013 applied architectures
 
20120722 word press
20120722 word press20120722 word press
20120722 word press
 
One drupal to rule them all - Drupalcamp Caceres
One drupal to rule them all - Drupalcamp CaceresOne drupal to rule them all - Drupalcamp Caceres
One drupal to rule them all - Drupalcamp Caceres
 
Laravel Forge: Hello World to Hello Production
Laravel Forge: Hello World to Hello ProductionLaravel Forge: Hello World to Hello Production
Laravel Forge: Hello World to Hello Production
 
Unit Test for ZF SlideShare Component
Unit Test for ZF SlideShare ComponentUnit Test for ZF SlideShare Component
Unit Test for ZF SlideShare Component
 
Server Day 2009: Spring dm Server by Alef Arendsen
Server Day 2009: Spring dm Server by Alef ArendsenServer Day 2009: Spring dm Server by Alef Arendsen
Server Day 2009: Spring dm Server by Alef Arendsen
 
Karwin bill zf-db-zend_con-20071009
Karwin bill zf-db-zend_con-20071009Karwin bill zf-db-zend_con-20071009
Karwin bill zf-db-zend_con-20071009
 
QEWD.js: Have your Node.js Cake and Eat It Too
QEWD.js: Have your Node.js Cake and Eat It TooQEWD.js: Have your Node.js Cake and Eat It Too
QEWD.js: Have your Node.js Cake and Eat It Too
 

More from Appnovation Technologies

More from Appnovation Technologies (20)

Using Open Technologies to Enable Digital Transformation in the Enterprise
Using Open Technologies to Enable Digital Transformation in the EnterpriseUsing Open Technologies to Enable Digital Transformation in the Enterprise
Using Open Technologies to Enable Digital Transformation in the Enterprise
 
O2E Brands Case Study: Managing Technical Debt as part of a proactive IT heal...
O2E Brands Case Study: Managing Technical Debt as part of a proactive IT heal...O2E Brands Case Study: Managing Technical Debt as part of a proactive IT heal...
O2E Brands Case Study: Managing Technical Debt as part of a proactive IT heal...
 
Hurry Up and Wait! Leveraging Open Source to Fuel Sutter’s HIT Innovation Ple...
Hurry Up and Wait! Leveraging Open Source to Fuel Sutter’s HIT Innovation Ple...Hurry Up and Wait! Leveraging Open Source to Fuel Sutter’s HIT Innovation Ple...
Hurry Up and Wait! Leveraging Open Source to Fuel Sutter’s HIT Innovation Ple...
 
Creating Business Agility and Connectivity using Open Technologies
Creating Business Agility and Connectivity using Open TechnologiesCreating Business Agility and Connectivity using Open Technologies
Creating Business Agility and Connectivity using Open Technologies
 
Agile Sourcing for Open Source Web Development
Agile Sourcing for Open Source Web DevelopmentAgile Sourcing for Open Source Web Development
Agile Sourcing for Open Source Web Development
 
OS Accelerate London - 09/16/15
OS Accelerate London - 09/16/15OS Accelerate London - 09/16/15
OS Accelerate London - 09/16/15
 
OS Accelerate NYC - Media & Entertainment 06/11/15
OS Accelerate NYC - Media & Entertainment 06/11/15OS Accelerate NYC - Media & Entertainment 06/11/15
OS Accelerate NYC - Media & Entertainment 06/11/15
 
osCaddie Drupal/Alfresco Integration Technical Update
osCaddie Drupal/Alfresco Integration Technical UpdateosCaddie Drupal/Alfresco Integration Technical Update
osCaddie Drupal/Alfresco Integration Technical Update
 
Enabling Open Source for the Enterprise Breakfast Event in NYC - June 17, 2014
Enabling Open Source for the Enterprise Breakfast Event in NYC - June 17, 2014Enabling Open Source for the Enterprise Breakfast Event in NYC - June 17, 2014
Enabling Open Source for the Enterprise Breakfast Event in NYC - June 17, 2014
 
You've Decided to Use HTML5. Now What?
You've Decided to Use HTML5. Now What?You've Decided to Use HTML5. Now What?
You've Decided to Use HTML5. Now What?
 
The Power of HTML5: 15 reasons your business should be using HTML5 for web an...
The Power of HTML5: 15 reasons your business should be using HTML5 for web an...The Power of HTML5: 15 reasons your business should be using HTML5 for web an...
The Power of HTML5: 15 reasons your business should be using HTML5 for web an...
 
Drupal + HTML5 + CSS3 + JS = Rich Internet Application
Drupal + HTML5 + CSS3 + JS = Rich Internet ApplicationDrupal + HTML5 + CSS3 + JS = Rich Internet Application
Drupal + HTML5 + CSS3 + JS = Rich Internet Application
 
Lifecycle of a Drupal Project
Lifecycle of a Drupal ProjectLifecycle of a Drupal Project
Lifecycle of a Drupal Project
 
Drupal and HTML5: Playing Well Together
Drupal and HTML5: Playing Well TogetherDrupal and HTML5: Playing Well Together
Drupal and HTML5: Playing Well Together
 
Appnovation Intro Deck
Appnovation Intro DeckAppnovation Intro Deck
Appnovation Intro Deck
 
Sprout core for governments
Sprout core for governmentsSprout core for governments
Sprout core for governments
 
Sprout core drupal solution
Sprout core drupal solutionSprout core drupal solution
Sprout core drupal solution
 
Sprout core for publishers
Sprout core for publishersSprout core for publishers
Sprout core for publishers
 
Appnovation One Sheet
Appnovation One SheetAppnovation One Sheet
Appnovation One Sheet
 
Alfresco drupal web solution
Alfresco drupal web solutionAlfresco drupal web solution
Alfresco drupal web solution
 

Recently uploaded

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 

Recently uploaded (20)

Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 

The Basics of Multisiting

  • 1. presents Introduction to Multisites A Beginners Guide Afraaz Ali– Senior Lead afraaz@appnovation.com Afraaz Ali V Saturday June 2, 2012
  • 2. AGENDA Introduction What is multisite? Why do we use it How do we set it up? Demo Pros Cons Resources Afraaz Ali V Saturday June 2, 2012
  • 3. Who am I? •  Developing with Drupal for the last 5 years •  Previously worked with CakePHP and CodeIgniter •  Last six months has been mobile development using SproutCore Afraaz Ali V Saturday June 2, 2012
  • 4. What we use Afraaz Ali V Saturday June 2, 2012
  • 5. Some of Our Clients Afraaz Ali V Saturday June 2, 2012
  • 6. What is Multisite? Multiple sites running off one code base. Things you’ll need: A server (local server will do. With apache2) A text editor Drupal (6.x, 7.x) Drush (optional) Afraaz Ali V Saturday June 2, 2012
  • 7. Afraaz Ali V Saturday June 2, 2012
  • 8. Database Configuration One database, prefixed tables More for hosting accounts with limited amount of databases site1_users site2_users Afraaz Ali V Saturday June 2, 2012
  • 9. Database Configuration Multiple databases Separate databases for each site •  Organized and more manageable •  Tougher to separate databases out if a site needs to be moved out of the multisite setup Separate database for ONLY the shared tables •  For installs that do not exist in the default schema •  For accessing several databases from the same code base at the same time. •  More management, harder to move databases around if needed. Afraaz Ali V Saturday June 2, 2012
  • 10. Afraaz Ali V Saturday June 2, 2012
  • 11. Why Multisite? Code Management Cost Effective Streamlines Development Afraaz Ali V Saturday June 2, 2012
  • 12. How do we set it up? Things we needed •  A server. I’m using my localhost •  A text editor •  Drupal install (7.14) Only a few steps away from a multisite setup •  Setting up your VirtualHost file •  Install the first site •  Install the second site •  Site specific modules/themes (optional) •  Site aliases (optional) •  Sharing database tables (optional) Afraaz Ali V Saturday June 2, 2012
  • 13. PROS •  Code updates are made only on a single code base •  Sharing of tables across sites. •  Platform development. Develop once, deploy “n” times Afraaz Ali V Saturday June 2, 2012
  • 14. CONS •  Content can sometimes be tough to share across sites. We tend to have a “central” content server to get around this issue. •  Takes more time to setup the servers. •  Can get stressful on a single server architecture if you have lots of sites. •  Updating core and contributed modules means running update.php for each site. Enter Drush! Afraaz Ali V Saturday June 2, 2012
  • 15. Resources http://drupal.org/documentation/install/multi-site http://groups.drupal.org/multisite The default/default.settings.php file (Very well documented) http://github.com/afraazali Afraaz Ali V Saturday June 2, 2012
  • 16. Thank You! Questions and Comments? Your Full Name – Your title youremail@appnovation.com Afraaz Ali V Saturday June 2, 2012