News for hackers. Stuff that matters.
Re:Make front end shit again by saravieira on Sunday May 13, 2018 @04:11PM (#17060784)
Hey!

I made this dumb thing! Yes, the fact that it's made with vue and stuff is on porpuse, I wanted to make it with reasonml but didn't have any time so ended up with vue.

The point is that we complicate so many shit today that is not needed

Have fun and I will add some marquee tags!

Re:Make front end shit again by Theodores on Sunday May 13, 2018 @06:54PM (#17061463)
I think you need to look forwards and not back in time for getting back to having fun.

The reason I say this is that we now have 'css grid'. This means that you do not need frameworks, little scripts on the page, and 'div/span' markup, you don't even need ids and classes. You can directly style 'aside', 'main', 'article', 'form', headings, p tags, 'details/summary', 'nav' and other tags to get the desired effect.

If you have a three column layout with the column left and column right as 'aside' then the CSS does not need classes to identify the column names, 'article + aside' will refer to the right column perfectly fine.

This will also work responsively so you can do everything these days with no paddings, margins, floats, line-heights or anything else that is a bit silly.

The resultant code when freed of all this debris that should never have been in HTML is a quarter of the size. I say code, but is it really code when you have button text inside a span inside a span inside a button inside a div inside a div with a label inside another div and yet another div just so it works as the'designer' intended?

For me CSS grid + semantic minimal 'div free' markup is getting back to the fun. No longer do web pages require a team of a designer (that knows no code) plus a front end developer ( that knows nothing about 'real code') plus a backend developer (that knows nothing about design) plus a team manager to book inane meetings and to do scrum rituals as if it mattered.

We can also get rid of lorem ipsum and go 'content driven design' (a phrase I had to invent just now as nobody has had a use case for such a phrase in decades).

Happy times in web design are back on. Even more interesting is that with the likes of Rachel Andrews we also have a lot of women getting into doing web design properly and showing how its done.

Re:Make front end shit again by whack on Sunday May 13, 2018 @06:35PM (#17061385)
> The point is that we complicate so many shit today that is not needed

Isn't your site making the opposite point? That without all the "complicated shit that is not needed", websites would look as awful as they did in the 1990s. Any website-maker is of course free to make their site as "shit" as they want, but 99% of users are not going to visit it a 2nd time.

Re:Make front end shit again by wolco on Sunday May 13, 2018 @07:27PM (#17061592)
Sites that were pixel perfect photoshop exports looked better than the basic look we have now. Designers had more freedom to reproduce high res designs. Mobile forced us to get simplier and everyone uses a framework now. Designing feel more restricted and difficult.
Re:Make front end shit again by mr_toad on Sunday May 13, 2018 @09:45PM (#17062113)
They only ever looked pixel perfect in one browser on one OS in a 1200x800 window. For everyone else, they broke.
Re:Make front end shit again by FISHunderscore on Sunday May 13, 2018 @06:17PM (#17061324)
Add a button to convert many elements to marquee!

  javascript:a=(b,c)=>{d=document.createElement(c);d.classList=b.classList,d.id=b.id,d.style=b.style,d.innerHTML=b.innerHTML,d.name=b.name,d.src=b.src,d.href=b.href,b.parentElement.insertBefore(d,b),b.remove()};document.querySelectorAll("span,%20p,%20a,%20code,%20li,%20h1,%20h2,%20h3,%20h4,%20h5,%20h6,%20h7,%20label,%20button").forEach(b=>a(b,"marquee"));
Re:Make front end shit again by fwdpropaganda on Sunday May 13, 2018 @05:28PM (#17061142)
I'm surprised. I'm running uMatrix and block all js by default. Still, my mouse pointer got changed into a spaceship. How does this work?
Re:Make front end shit again by taesis on Sunday May 13, 2018 @05:39PM (#17061187)
Looks like you can set the cursor [1] property on some root element and it replaces the cursor with a custom image.

[1]: https://developer.mozilla.org/en-US/docs/Web/CSS/cursor

Re:Make front end shit again by hartator on Sunday May 13, 2018 @05:33PM (#17061160)
To the moon!

From memory, it’s just CSS. You have a ‘pointer: spaceship.ico’ probably on the body.

Re:Make front end shit again by dsr_ on Sunday May 13, 2018 @06:23PM (#17061347)
cursor: url (path to spaceship.cur) or something like that.
Re:Make front end shit again by exodust on Sunday May 13, 2018 @05:04PM (#17061039)
Why did you add jquery to a list containing "blink" on a page with CRT monitors and animated GIFs? Let me guess, you have a negative opinion about jquery, that all anyone needs is vue.js
Re:Make front end shit again by derefr on Sunday May 13, 2018 @05:14PM (#17061078)
I think the suggestion is that building a page with jQuery is now seemingly as “forgotten” a technique as building a page with plain HTML, despite being both a relatively-recent and still-valid approach to modern design.

(Saying that nobody uses plain Javascript to build pages these days wouldn’t be as notable, and so not as funny. jQuery is just standing in for “plain Javascript” here, because it sort of was the only way to write plain Javascript that worked in all browsers, until browsers standardized on their JS APIs some eight years back.)

Re:Make front end shit again by wolco on Sunday May 13, 2018 @07:46PM (#17061674)
Many I'm in the minority but if I need one small item I'll write pure javascript if I need a little more I'll use jquery, if I need an spa I'll use react or vue if I need an site/app I'll use the ionic or quasar framework.

Use what you need.

Re:Make front end shit again by exodust on Sunday May 13, 2018 @05:42PM (#17061194)
I think you're being too forgiving of a lousy joke.
Re:Make front end shit again by russdpale on Sunday May 13, 2018 @05:14PM (#17061080)
well with javascript itself maturing, many are starting to believe jquery is no longer needed. Plus, it was the first real framework back in the day. When I think old internet, I think pre-jquery, but I guess I am getting old. We still use jquery at work...
Re:Make front end shit again by exodust on Sunday May 13, 2018 @05:32PM (#17061157)
A lot of people still use jquery at work. Regardless of improvements in javascript for DOM manipulation, Jquery is not just about that.
Re:Make front end shit again by russdpale on Monday May 14, 2018 @12:23AM (#17062665)
Thanks, that makes me feel a lot better!
Re:Make front end shit again by saravieira on Monday May 14, 2018 @12:59PM (#17067140)
Oh no! I love jQuery! I miss it that's the point.

At work I use react and can't use jQuery anymore and I miss it man.

Re:Make front end shit again by recursive on Sunday May 13, 2018 @05:14PM (#17061079)
jquery is a technology that has mostly outlived its usefulness, much like the others on the list.
Re:Make front end shit again by exodust on Sunday May 13, 2018 @05:27PM (#17061139)
It's not a "technology" it's a library, and still very useful, found on millions of sites old and new. Has a vast ecosystem of free plugins with extensive documented support and very diverse browser support.

Also he put "HTML" on the list, you're saying that has outlived its usefulness?

Re:Make front end shit again by recursive on Monday May 14, 2018 @12:37PM (#17066900)
I thought libraries could be technologies. If that's wrong, then I used the wrong word.

I probably characterized the list wrong anyway, as you've pointed out, since HTML decidedly has not outlived its usefulness. Perhaps it's a list of web things prominently used 15 years ago.

I would normally use "technologies" here, but it seems we have a difference of definition.

Re:Make front end shit again by exodust on Monday May 14, 2018 @02:03PM (#17067839)
Ok, but jquery didn't exist 15 years ago, and really didn't get popular until after 2008 IMHO. Doesn't matter, I get your point.
Re:Make front end shit again by saravieira on Monday May 14, 2018 @01:00PM (#17067150)
I love jQuery and I don't believe it has outlived anything.

About the html, I live in a bubble of react and vue and everything is templates and jsx that's why HTML is there

Re:Make front end shit again by exodust on Monday May 14, 2018 @02:10PM (#17067905)
Cool. Jquery has helped me a lot over the years in my job. Jquery plugins have saved my ass countless times. I would only use them sparingly, such as slideshow carousels, which are too difficult to whip one up when client needs it 5 min ago.

I love having an API into the jquery plugin and getting things done quickly and efficiently, and giving credit to the developer who kindly gave it away for free.

This is why jquery doesn't belong on a list with "blink" tag which everyone hates because it's a flawed tag that should be forgotten, much like over-use of animated gifs.

Anyway.. good luck breaking free of the bubble!

Re:Make front end shit again by icebraining on Sunday May 13, 2018 @06:33PM (#17061378)
*she