I am a bit shocked by this, what is the percentage of the MODX userbase that use the manager with javascript turned off? (I think its 0, since it just doesn't work). Based on these facts, at what point does AngularJS destroy this experience, also you should note that users want a webapp to feel like a desktop app, hence why folks don't mind having apps fully JS enabled.
AngularJS is what HTML would have been, had it been designed for building web-apps.
It is actually funny you mention that. You can probably deduce that I'm not a huge fan of Bootstrap, but I do really like FuelUX.
http://exacttarget.github.io/fuelux/
So much that I started messing around with a Bootstrap to Sass translator.
https://github.com/thomas-mcdonald/bootstrap-sass#bootstrap-for-sass
Quote from: easylancer at Nov 24, 2013, 03:58 AM
I have been using both LESS and Sass for years and must say I haven't come across this with LESS. Yet again the never use LESS again statement is a bit over the top. So if the community decides we want LESS to be used instead of Sass, we are likely to get a no from you since you are in-charge of MODX frontend dev tools. In my experience this is not inline with community driven open source project. As lossendae stated, some folks are more familiar with LESS, find it easier to setup on all OS and generally get on with the syntax because it is more CSS like.
Try compiling this using LESS. Was bombing on the gradient syntax for me the other day, which is an issue I've run into before with LESS.
https://gist.github.com/jpdevries/790c666f605591db40d2
I think I need to clarify that I'm striving to put more creative freedom into developing for the Manager, not take it away. Just because I'll never prefer to use LESS again doesn't mean the community can't. Again, Yomonger has an option to use LESS.
I'm guessing that if a front end css framework is chosen, it should be in accord with the underlying javascript technology. In the case of AngularJS, using an heavy (jQuery) script based framework would not be well advised.
Quote from: lossendae at Nov 24, 2013, 04:19 AM
I'm guessing that if a front end css framework is chosen, it should be in accord with the underlying javascript technology. In the case of AngularJS, using an heavy (jQuery) script based framework would not be well advised.
That is a good point, and part of the reason why this is a complicated discussion.
Disclaimer: Many of these things being discussed are still very up in the air and open for discussion. Please don't think me voicing my opinion on one thing or another is any indication of an official decision.
I have the hope that the requirements for developing the Manager are relatively lightweight. I'd consider something like AngularJS to be lightweight, as it is optional to include jQuery and will include its own lighter utility if needed. I think that is a big plus because we may be able to do things like only include jQuery for no-touch devices that utilize more advanced features like drag-n-drop.
Will jQuery be included or required in 3.0 manager? TBD.
I think it's good these decisions are being made, but I think it should be made in a private discussion and then put to the community at a later date, discussions like these can give off a false positive, especially when coming from someone on the MODX core team.
I appreciate all that you are doing JP and you are indeed heading in the right direction.
I just compiled this without any issues at all, not sure what your setup is and why it failed for you.