Closed scd closed 6 years ago
+10
Hey @scd @brendanheywood,
I am just throwing some ideas here.
For @scd 's thought:
each card should have css, javascript, events and data requirements.
This sounds like component, which supported by both Angular and react, just react.js doesn't really allow dev to modular css for component, and angular 2 make modular css easier
Just curious, does theCrag use LESS or SCSS to precompile the css?
Less, each component has it's own less file, sorta semi adopted something halfway between OOCSS and BEM . If we can re-use some css in any app then thats ok, but I'm pragmatic around whether this is really worth it. I'm not super keen on rendering the web GUI via js, this generally ends up being bloated and slow. Doing it server side has appeal generally but I think would be too epic to retrofit into our current architecture.
fyi I'm leaning toward using https://www.nativescript.org/ for the app and the intention is to get a prototype working with that as a proof of concept
:+1: for using Less and OOCSS :D If we carefully craft the css and make it portable with multiple viewport, then I think many of the css can be reused.
I just view the introduction, but the goal nativescript tried to achieve is quite interesting. If that really work, it will save lots of development time to maintain applications in two platforms.
Cheers
Leo Liang
Closing this, we are well down this track already
I have been thinking that it maybe worthwhile considering a ground up approach to our templating scheme, putting in place everything we have learned over the years. While this may not be a big revelation as we have been doing a lot of things in a piecemeal sense. I would like to put it all together using our own design standards, with the luxuary of defining our ideal system and working toward this. I am pretty sure that this is all stuff @brendanheywood has been working toward anyway, and it is just taking me a long time to get a handle of it.
The motivating factor for this is that maybe we can do this for our app work, javascript & css might be portable between the website and app.
At the moment I am just logging this issue as a discussion point, but could easily get very excited about it if it looks like.
Here is a quick brain dump
Interestingly most of the site is either a card or a list.
This is not meant to be a detailed specification, but rather just initiating discussion before we embark on code for the app.