Create an account

Very important

  • To access the important data of the forums, you must be active in each forum and especially in the leaks and database leaks section, send data and after sending the data and activity, data and important content will be opened and visible for you.
  • You will only see chat messages from people who are at or below your level.
  • More than 500,000 database leaks and millions of account leaks are waiting for you, so access and view with more activity.
  • Many important data are inactive and inaccessible for you, so open them with activity. (This will be done automatically)


Thread Rating:
  • 230 Vote(s) - 3.65 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Drupal deployment of content modern techniques

#1
I would like to know if there are moderns techniques for deployment content in drupal 7.

I know there is a module named [deployment][1], but it seems kinda unestable.

I've also know that with features you can export content using node-export, but i would like to limit features to settings, content types, etc...

My site right know it's on a development server, it has panels, webforms, and tons and tons of different dependency modules. And as far i can think i guess that the only way to export the content it's going to be with backup and migrate.

There is a better way to do this?

Thanks.

[1]:

[To see links please register here]

Reply

#2
If you want to do it **once** use normal deploying methods. Transfer files, copy database and change your settings.php file as also as other files you may have edit (robots.txt, .htaccess etc) except if you have the same server configuration for each site.

If you want to do it on **rare times**, eg once per year use [backup & migrate][1] and its complementary modules.

Finally if you want to deploy between different environments of the site **on a regular basis** (eg when there are security updates) use [Drush][2] and drush aliases. See [Using drush to synchronize and deploy sites][3] for more details.


[1]:

[To see links please register here]

[2]:

[To see links please register here]

[3]:

[To see links please register here]

Reply

#3
About deployment in Drupal, you need to clearly differentiate between:

1. **Code**: Drupal core, contrib modules, your own modules, patches, themes, translations.
2. **Content**: everything that is stored inside nodes, content types and entities. Always in the DB.
3. **Configuration** *(here comes the problems...)* : everything not included in 1) or 2):

- site global variables
- definition of content types, bundles and entities
- definition of fields
- views
- panels
- forms
- blocks
- menus
- vocabularies
- permissions
- rules
- ...

All this configuration information is now dispersed in the database in D7, and it is really a nightmare to manage, deploy and maintain it. Until the arrival of D8 (that will provide a new configuration Management System precisely to solve this problem), you will need to use modules like Features and Strongarm to fight with this. The process is not simple and require to split precisely the functionality of your site, looking for *self-contained* parts of code & configuration that represents user-cases. If not, you will find a lot of problems with dependencies between features.

Deploying code and content is much easier. Use Drush make and, if needed, installation profiles and Features. For content, an easy solution is Backup & Migrate module.

You can find a recent and extensive comparative of Deployment modules in Drupal 7 here:

[To see links please register here]

Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)

©0Day  2016 - 2023 | All Rights Reserved.  Made with    for the community. Connected through