Quote from: vik0xs at Dec 16, 2015, 03:13 PM
I think, I know where this comes from: PHP developers fear javascript if it is more than just a little jQuery page tweaking. ... But in the end you must decide wheter the modx manager is a modern web application or just a thing based on a simple document retrieval system called HTML.
Vik, I have to say that your post comes off as (more than) a little condescending. This is a 20 page thread that I don’t think you bothered to read through. We’ve been discussing the merits of why MODx has not been adopted like it really should have considering the power it brings to the table, and what can be done moving forward. That discussion lead to the realization that the manager is bloated, hard to maintain and build upon, and difficult to customize (not to mention the accessibility issues). The goal is to move away from being tied to a centralized technology that binds everything together, because MODx is just too big and too complicated to even consider a one page app. Your suggestion basically adds insanity to the original sin.
The truth is, we are all trying to group-think the correct way forward, and some of the brightest minds out there agree that the best way is to become less dependent on javascript, not completely dependent on it. There are more ways to look at it then just from the user’s point of view. Maintainability, scaleability, readability, extendability, usability and modularization. Tying everything into a one page app destroys five out of six of those tenets in my opinion. That doesn’t mean that sections of the manager can’t become a one-page app inside of the whole, but to think that the entire ecosystem of MODx could be contained within a single page load is not very realistic to put it nicely.
I do agree with you, though, that data should become more restful through API’s, allowing more avenues of consumption (not just HTML, not just PHP, not just Javascript, but any technology that can access the web).