Scratch-Client-4 / client

🖥 The SC4 desktop client. Devlopement currently halted while we work on our mobile client : https://github.com/Scratch-Client-4/mobile
GNU General Public License v3.0
11 stars 1 forks source link

Make a frontend stack plan #1

Closed micahlt closed 4 years ago

micahlt commented 4 years ago

We need to decide what frontend stack we're using. Are we going to use vanilla languages or are we going to use frameworks like Bootstrap or React?

micahlt commented 4 years ago

After discussion, looks like we'll be using Sass and ES6+ JavaScript, and maybe some jQuery. We'll use Parcel.js to bundle the application. @Scratch-Client-4/frontend make sure you're familiar with these technologies!

moeenio commented 4 years ago

Well, I guess this is obsolete now we're using Vue.

micahlt commented 4 years ago

@locness3 True. Someone want to summarize the stack here so we can close this again?

moeenio commented 4 years ago

There's still one thing not sure : do we keep with SCSS or do we switch to LESS? See discussion in #5

micahlt commented 4 years ago

@locness3 Hmm... okay, leaving this open for further discussion.

moeenio commented 4 years ago

@Scratch-Client-4/frontend Do we keep with SCSS or do we switch to LESS ?

VelocityDesign commented 4 years ago

@locness3 I know neither, but if you could point me to a nice course for SCSS (Besides Codecademy) then I would vote SCSS. I already know SCSS, but only a little bit.

ethanhanderson commented 4 years ago

@locness3 just from skimming the less homepage it seems extremely similar but somehow less appealing than SCSS. I'll vote for SCSS but LESS is still fine with me

VFDan commented 4 years ago

I'd prefer Stylus, but any of those preprocessors are fine with me

ethanhanderson commented 4 years ago

I believe preprocessors like LESS and Stylus are all branches off Sass. So if we wanted to use the most common and developed preprocessor, we'd be best suited with Sass

moeenio commented 4 years ago

I prefer LESS tho, because it's not trying to reinvent the wheel (like SASS does with the SASS (not SCSS) syntax or their namespace system), it's more of a CSS expansion. And it is simpler IMO.

moeenio commented 4 years ago

I already know SCSS, but only a little bit.

Well @ConvexPolygon, won't be hard switching to LESS if needed.

VFDan commented 4 years ago

@Hexsphere Actually, Stylus is a bit different; it is simpler, as you don't need semicolons or brackets; Pythonic CSS, if you will

micahlt commented 4 years ago

@VFDan bruh I can't deal with that

moeenio commented 4 years ago

hmm

bryn-trys commented 4 years ago

There is only so much I can learn in a short amount of time. I think our best option should be the most flexible.

ethanhanderson commented 4 years ago

@VFDan I haven't mentioned SCSS because that flavor of Sass does allow for brackets and semicolons. Stylus is very similar to SASS, not SCSS.

ethanhanderson commented 4 years ago

So far all I've seen are opinions on which preprocessor is better. I hopefully can shed some light on this discussion.

If we're going for a preprocessor that builds on and is very similar to CSS, then LESS is a perfect choice.

If we're trying to use a preprocessor that has it's own styling patterns and provides more features, we'll want to use Sass. While I'm on this topic, I think SCSS is best suited for trying to be as close to the CSS syntax as possible.

Finally, and I'm not sure what case to make for Stylus except it's good for people who want some Less or Sass/Scss features without using them as far as I can tell.

moeenio commented 4 years ago

I think most people here are more familiar with basic CSS, so we should go with LESS IMO.

bryn-trys commented 4 years ago

@locness3 Yes, I agree.

micahlt commented 4 years ago

@Scratch-Client-4/frontend I'm good with LESS if you guys are. Decision?

VelocityDesign commented 4 years ago

Less I guess. I need a place to learn LESS tho.

VFDan commented 4 years ago

@micahlt I guess that's fine; I'm good with any CSS preproccessor

bryn-trys commented 4 years ago

As long as it is in the CSS realm, I can probably learn it.

moeenio commented 4 years ago

Well, I think we'll go with LESS then. Anyone OK?

ghost commented 4 years ago

@ConvexPolygon try w3schools, they should have a LESS tutorial

moeenio commented 4 years ago

They don't. The best way to learn it is its documentation, https://lesscss.org

bryn-trys commented 4 years ago

@locness3 okay, is that free?

moeenio commented 4 years ago

?

bryn-trys commented 4 years ago

Oh sorry, I misread. I thought it was a link to a code learning site. I don’t have a credit card so I didn’t want to pay money.

moeenio commented 4 years ago

Ok, that's fine. Yeah, I never spent money for learning coding too :)

micahlt commented 4 years ago

All right, marking this as closed. We're using Vue and Less. :+1: This does mean that the current version of the client will need to be restyled with Less.

moeenio commented 4 years ago

Will work on this :P