Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Difficulty setting up apache, php and joomla
Date: Sun, 26 Mar 2017 17:53:19
Message-Id: 2151998.p1CLfkaZ10@dell_xps
In Reply to: Re: [gentoo-user] Difficulty setting up apache, php and joomla by Peter Humphrey
1 On Sunday 26 Mar 2017 17:20:09 Peter Humphrey wrote:
2 > On Sunday 26 Mar 2017 09:45:09 Michael Orlitzky wrote:
3 > > On 03/26/2017 04:28 AM, Peter Humphrey wrote:
4 > > > Pelican looks interesting; I may follow it up. I didn't say this before
5 > > > (one thing at a time, eh?) but I need to build a site that another
6 > > > choirman can take over from me at some time. That seems to rule out
7 > > > anything that smacks of script writing, because as far as I know,
8 > > > nobody else has the slightest interest in computers, never mind
9 > > > programming.
10 > > >
11 > > > I notice that no-one has mentioned WordPress. I had a look at it, but
12 > > > was
13 > > > scared off by the Gentoo devs' waving around of garlic and crosses.
14 > >
15 > > Choosing a CMS is a textbook example of "pick your poison." We usually
16 > > go with either Wordpress or Drupal.
17 > >
18 > > The design of Drupal is much better, technically. Every feature is part
19 > > of a "module" that you can turn off. The API is well-documented, and
20 > > it's easy to write new modules. A "content type" in Drupal is a thin
21 > > abstraction over a database table, and you can build pretty much
22 > > anything you want by creating the right content type and then creating a
23 > > "view" to display it how you want.
24 > >
25 > > The end result can be nicer for end users; for example, you can give
26 > > them a button to create a new employee, or a newsletter, or a blog
27 > > entry... and each one of those content types will have separate fields
28 > > and a separate UI. The trade-off is that nothing works out-of-the-box in
29 > > Drupal, and it will take you two weeks to get all of that set up.
30 > >
31 > > With Wordpress, you get a nice, clean, easy-to-use site in about five
32 > > minutes. If that site will work for you -- i.e. if all you need is
33 > > pages, menu items, a contact form, and whatever else you can get from
34 > > pre-existing plugins -- do that!
35 > >
36 > > Wordpress is made for non-technical users but I don't mean that in a bad
37 > > way. I've been doing Wordpress updates on some sites for over five
38 > > years, and it's never crashed and made me stop what I was doing to fix
39 > > it. Plugin updates are similarly easy, but I can echo what Mick said:
40 > > you need to pay attention to the update notifications, and they come
41 > > frequently.
42 > >
43 > > All CMSes have terrible security records, so the fact that Wordpress
44 > > gets hacked all the time shouldn't lead you to believe that another CMS
45 > > would fare any better. You can make any CMS a lot more secure in two
46 > >
47 > > simple ways:
48 > > 1. Always update ASAP.
49 > > 2. Don't make your website writable by the anonymous web user.
50 > >
51 > > The second one means that you will have to update over SSH, at least as
52 > > long as you maintain the site, but severely limits the damage that a
53 > > hacker can do with a tiny exploit.
54 >
55 > Interesting. Another contributor, another opinion. :-)
56 >
57 > I already have books on WordPress and Joomla, and I've just ordered one on
58 > Drupal. Then I can take my time experimenting and comparing.
59 >
60 > Thanks again to all. I'm certainly learning today.
61
62 Michael O. is spot on. Drupal 8 is more of a framework for developing
63 websites. Wordpress is less of a development workhorse, but will give you an
64 acceptable website relatively effortlessly. This is one of the reasons many
65 people use it for blog sites.
66
67 Two quick points on the ease of maintenance between CMS':
68
69 Some ISPs offer a GUI-fied update facility for Wordpress, whereby you click a
70 button and the latest core installation and modules are updated for you. I
71 have also seen this with Drupal, but less frequently and the version offered
72 by the ISP may not be the latest one. So with Drupal, updates have always
73 been a manual exercise for me. Drush, a CLI tool, simplifies Drupal
74 maintenance for those who are not limited to point & click computer
75 operations.
76
77 Depending on your website development needs you may need more than one site.
78 A production site and a development site is a typical minimum requirement.
79 More active sites have prod/pre-prod/dev/testing versions. This means you
80 will be exporting database content and importing it from one site to another.
81 Unlike Drupal where exporting and importing database dumps is a straight
82 forward activity, with Wordpress you will need to change some of the database
83 content manually before you import it. This is because Wordpress uses
84 serialised PHP arrays and hard-codes URLs in the database cells and its
85 upgrade.php scripts do not deal auto-magically with database migration. There
86 are 3rd party scripts and plugins to deal with this, but it is an additional
87 step and a manual exercise:
88
89 https://interconnectit.com/blog/2009/10/07/migrating-a-wordpresswpmubuddypress-website/
90
91 If you only have one production version on a single domain/webroot this
92 problem does not apply, but I raise it here because you mentioned you may be
93 foisting the responsibility for this website on someone else, less technically
94 competent than yourself.
95
96 This may be getting rather [OT] for this mailing list, so I'm happy to share
97 lessons learned or answer specific questions off site.
98 --
99 Regards,
100 Mick

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] Difficulty setting up apache, php and joomla "J. Roeleveld" <joost@××××××××.org>