Answer the question
In order to leave comments, you need to log in
Drupal 8 or MODX Revo 2 - which engine to choose first for learning and for an existing corporate website without a CMS?
Good evening, dear forum users!
Short introduction:
Well, what can I say?! January 2016, and for 6 years I have not learned how to make websites on engines ((Creating turnkey websites was a part-time job for me in the evenings, weekends, etc., mostly my acquaintances who needed cheap and fast, there was no time to study engines - I sculpted as best I could, studying everything along the way.During this time I made about 15 sites, half of which are no longer there for various reasons.At the moment, I rate my skills as a web programmer on a 5-point scale approximately like this : HTML5 (4), CSS3 (4), JavaScript (3), Jquery (4-), PHP (3), MySQL (3)... I think if building websites was the main job during these 6 years , then you could safely add 1 point to each skill))
Design, layout, functionality (PHP + JS / Jquery), filling + content editing, "screwing" the plugins found in the net and ready-made solutions such as a feedback form, slider, JS pagination, photo galleries, etc. - I did everything myself using HTML -editor + Denwer. At the same time, I read books, searched the net for information ... in general, judge my current situation by the examples of sites:
ob_start(); // включаем буферизацию 2 (это уже 2-я очередь буфуризации! Первая началась в index.php
$onlyads=1; // логическая переменная для выбора со страниц index.html только объявлений
foreach($br as $temp) {
$filename = 'pages/'.$temp.'/'.$teh.'/index.html';
if (file_exists($filename)) include_once('./'.$filename);
}
$tempcont=ob_get_clean(); // записываем 2-ю очередь буфера в переменную $tempcont и закрываем сразу буфер 2
// все отсортированные элементы по очереди вставляем в блок #advContainer
$.each(sortElements, function(idx, itm) { sortCont.append(itm); });
// очень важно! После сортировки перезаписать переменную (если хотим её использовать для удобства дальше),
// хранящую объект Jquery с блоками-объявлениями, т.к. сейчас он хранит блоки ДО сортировки.
var advertParents = $(".advert", sortCont).closest('div');
// удаляем все элементы из блока #advContainer, кроме блоков-объявлений
sortCont.children().not(advertParents).remove();
// теперь нужно каждые 3 блока-объявления обренуть в <div class="row half"/>
for(var i = 0, len = advertParents.length; i < len; i += 3)
advertParents.slice(i, i + 3).wrapAll('<div class="row half"/>');
// пока юзаем такой костыль, т.к. без него первая тройка объявлений из-за skeljs отображалась не корректно
sortCont.prepend('<div class="row half hidden"/>');
// влючаем/отключаем Постраничную навигацию в зависимости от пер-й advertsPages
pagination(!advertsPages);
Answer the question
In order to leave comments, you need to log in
In general, any engine can be attached to your corporate website, but the fact that it will turn out many times faster on MODX is a fact.
And so ... both engines live and develop, and have an active community, there is enough documentation and lessons on the net. In my opinion, the most logical option is to use both CMS for different sites and understand for yourself what is more convenient and faster for you to work on.
As for the documentation for Drupal 8, there is not much of it yet, because this version was released not so long ago. And plus some modules are still in development, but all this will be decided in a couple of months.
talas1234 : Well, to be honest, I chose this option so far:
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question