Monday, 21 April 2014

Nowadays, the choice of content management systems (CMS) is so great that involuntarily lost. Moreover, the quality of the system does not depend on whether it is paid or not, and the decision for a long time then you bind the selected CMS.
Bring to your attention the English translation of the paper web developer Mark Jenkins, discover MODX after many years of development in different systems.
Goes first translation of the article, and then - some comments on the text.





I just finished my second draft platform MODX, and I think it's time to express their thoughts . I got the impression that the web- industry MODX mostly has no fame , partly so , to educate , and I am writing this article .What is MODX?MODX - a content management system open source . It is based on PHP and MYSQL, so it works on almost any server. As in WordPress there are two versions : MODX Revolution ( as wordpress.org, version to download and install on your server ) and MODX Cloud ( like wordpress.com).MODX - unassuming : it does not matter , where are the templates as they are organized or where the content is located . It is a flexible system that allows you to work as you like .Where can I use MODX?Selecting a content management system (CMS) is quite wide. I used to use WordPress, Perch, Expression Engine and Kirby, as well as Shopify and Magento for online stores. I use WordPress and Perch on a regular basis and both systems have proven their reliability and ease of use .This begs the question : " Why do I have to delve into the MODX?»I think that would be fair , if I say that I'm pretty familiar with WordPress, because done in this system almost everything: blogs , 5- page site , multi- regional sites with hundreds of pages . Developing great websites on WordPress , I have encountered many difficulties , such as permalinks structure and taxonomy may be limited. Although in recent years, CMS has improved significantly , but still felt that it was not the appropriate tool for the job with the vast and complex sites.It is here MODX appears in all its glory. While WordPress collects structure ( user-defined types of posts , taxonomy , themes ) MODX offers an empty shell ready to adjust to whatever your needs .Is the ease with which MODX works with templates , impressive. No need to create templates with the given file name or place them in a folder , and the syntax MODX provides cleanliness and accessibility code.I turn to WordPress. It will be difficult to retrain ?MODX easy to master .First , MODX uses different terminology :

    
Resources - web page ( resources can also be documents, links , etc.).
    
templates
    
Template variables - the equivalent of custom fields in WordPress
    
Chunks - repeated on different pages HTML- markup (eg cap, basement, side panels , etc.)
    
Snippets - dynamic pieces of PHP code.

Secondly , MODX uses its tag syntax . At first , I thought , why bother at all MODX developers to create their syntax , but try to practice , it became clear . It allows you to keep the template code clean and clear ( at least better than those horrible inconsistent functions WordPress).Compatible with GitMy team has no difficulty with the latest draft . We used this . Gitignore file to exclude all but the folders assets and core.The database does not store the file paths , so you can easily move the database during development.Are there any disadvantages in MODX?As I noted in this article , explore MODX easy. Takes some time getting used to the terminology and methods of implementation of these things.Documentation is good enough, though , looking for answers to some questions you have to try . Chances to find the answer on the problem in WordPress, probably several times higher as number of smaller community MODX .Nevertheless , I found the community on Twitter, which has proven very useful . Sending a few questions group # MODX, every time I get at least one answer , which has guided me in the right direction .MODX installation process more complicated than WordPress. For example, to install the system locally , I cloned our repository , and then copy the file over MODX, customized configuration files , run the installation corrected some file permissions and restart the unit . Compared with WordPress, lifting and launching MODX little viteevaty .conclusionWhile I was still new to MODX and has a lot to learn in the end , I realize that I found solidly reliable CMS, offers the flexibility that I need .I have no doubt I can recommend it for business with a great web site to hundreds of pages. And already looking forward to diving into the next project ... MODXComments from the translator

    
The author identifies two versions of MODX: Revolution and Modxcloud, while the official separation occurs on Revolution and Evolution.
    
Version MODX Revolution is recommended for use by all users, including beginners, is a modern , reliable system . Completely new database API based xPDO provides an effective and easy way to read , create and edit all MODX objects. With one simple query, you can manipulate the data MODX several tables.
    
MODX Evolution version is also quite reliable and stable , continuously updated , but is now deprecated , and is suitable for sites that are already working on it or for those web hosts where limited memory 8M or 16M, because Revolution requires a minimum for 32M.
    
Regarding Modxcloud, this additional service from the team MODX - virtual hosting based on already built the latest version of MODX Revolution. Hosting is designed for serious projects with a heavy load on the server , although you can choose a free accommodation option ( very good for getting experience with MODX). Host your site on MODXcloud, the update process happens in the future by clicking , you can say security issue here is the site of competition.
    
When the author speaks of good documentation , we are , of course, talking about the English version .
    
Nevertheless, the Russian-speaking sites MODX system is now quite a lot, so that developers will not be alone .
    
The author describes the difficulties MODX installation on a local server , but it is actually much simpler: a server running PHP and cgi not plagued with issues of access and the installation process takes 3-5 minutes.
    
In general , the developers recommend the use of advanced MODX distribution installation (advanced instead of traditional), which is an order increases the security of your system : you can install the kernel in a folder that is not available from the web, and back-end folder manager and connectors rename as you like .

No comments:

Post a Comment