Live data from Hacker News

Web Origami, for making websites where you can understand how they’re made

weborigami.org

51–60 of 77 posts

Re: Web Origami, for making websites where you can understand how they’re made

#51
post #19

And still supporting HTTP. I don't know about this, anyone can suggest a reason to use HTTP nowadays?

* To serve content that can be accessed on networks using captive portals * To serve content on localhost while developing * To serve content on devices where setting up letsencrypt or other SSL is either too much of a hassle or not important * To stand up a quick HTTP server on hacked servers Maybe others can come up with more examples

Serve content that is reversed proxied by something that terminates SSL - cloudflare, cloud gateways, Nginx etc, ingress controllers ...

Re: Web Origami, for making websites where you can understand how they’re made

#52
post #49

> The Origami language syntax is relatively simple and intended for people who have some experience working with HTML and CSS. Knowledge of JavaScript isn’t required, although if you do know JavaScript you can do a lot with Origami. So you need to learn HTML and CSS so you can use Origami to... avoid building a site with HTML and CSS?

It isn't at all about not building with HTML/CSS. It's a language that makes building with HTML/CSS and other web standards easier.

Re: Web Origami, for making websites where you can understand how they’re made

#53

Earlier quoted context omitted.

I do that. Duplicating the header, menu, and footer manually on every page is a pain in the ass. Not to mention the lack of minification.

Not sure I follow, do you not use templates and scripts to generate the static pages? I was a web developer 25 years ago and for the majority of projects we only made static sites, all templated and minified. My skills are somewhat "of that time". Recently I was asked to build a site to demonstrate some new software. It consisted of over 10k pages that once built would rarely, if ever be updated. I just scripted and…

[deleted]

Re: Web Origami, for making websites where you can understand how they’re made

#55
post #36
post #8

My interest in this is piqued. I’m really happy to see people doing things to simplify personal standalone website authorship making it expressive and flexible without a bulky content management system or jumping through hoops for some front-end toolchain. I know when I’m developing things I’m often as or more concerned with satisfying multiple use cases or functionality extensibility, but having a nice focused tool…

Whats wrong with just using HTML, Js and CSS for personal projects?

Nothing, if they’re simple enough to do that. Not all of them are. I’m a commercial artist and designer, so things like layout are important and need to be updatable on multiple pages because individual pieces often have their own pages. Updating 15 nav headers in a gallery on your site to save a couple of hours setting up something better suited to the task is just terrible architectural planning. At the same time, I don’t need an embedded rich text formatter and CDN support and azure integration and blah blah blah. Use the right tool for the job, and my job often calls for something ostensibly like this, which fits a neat niche.

Re: Web Origami, for making websites where you can understand how they’re made

#56

Earlier quoted context omitted.

I do that. Duplicating the header, menu, and footer manually on every page is a pain in the ass. Not to mention the lack of minification.

Not sure I follow, do you not use templates and scripts to generate the static pages? I was a web developer 25 years ago and for the majority of projects we only made static sites, all templated and minified. My skills are somewhat "of that time". Recently I was asked to build a site to demonstrate some new software. It consisted of over 10k pages that once built would rarely, if ever be updated. I just scripted and…

What the grandparent comment was referring to was eschewing static site generators in favor of entirely handmade html and css. The person you’re responding to was arguing in favor of static site generators for the reasons they listed. I was advocating for a simpler breed of SSGs than we have now for simple tasks, and this project seems to fit that niche. Most SSGs these days are only trivial if you’ve got current web developer knowledge at your finger tips.

Re: Web Origami, for making websites where you can understand how they’re made

#57
post #46

Earlier quoted context omitted.

I do that. Duplicating the header, menu, and footer manually on every page is a pain in the ass. Not to mention the lack of minification.

I think this issue better addressed in HTML spec. Basic functionality to include html snippets files in other HTML files should be standard. What am I missing?

Well, the HTML spec is missing that, has been for decades despite people asking for it, and to my knowledge has never even made it to a roadmap.

Re: Web Origami, for making websites where you can understand how they’re made

#58
post #42

Earlier quoted context omitted.

Because some people care about low-bandwith users. Or about not being wasteful as a principle.

Doesn't compression make any minification gains negligible?

Depends on what you’re serving up. Blog? Yes. Video game? No.

Re: Web Origami, for making websites where you can understand how they’re made

#59
post #36

Earlier quoted context omitted.

Whats wrong with just using HTML, Js and CSS for personal projects?

Nothing, if they’re simple enough to do that. Not all of them are. I’m a commercial artist and designer, so things like layout are important and need to be updatable on multiple pages because individual pieces often have their own pages. Updating 15 nav headers in a gallery on your site to save a couple of hours setting up something better suited to the task is just terrible architectural planning. At the same time,…

Yea my point was that people love to overcomplicate their stuff. Having a whole infrastructure for a personal project that isnt even started yet is insane.

Re: Web Origami, for making websites where you can understand how they’re made

#60
post #47
post #46

Earlier quoted context omitted.

I think this issue better addressed in HTML spec. Basic functionality to include html snippets files in other HTML files should be standard. What am I missing?

How would that work? Now one request for a page becomes N requests for every bit of HTML the client needs to render?

You could cache the intermediate bits. Hell you could do this right now (somewhat) by doing script src=menubar.js and the script containing document.write calls. Not great for performance.
Post reply on HN