News for hackers. Stuff that matters.
Re:Amazon.com Homepage (1999) by jrauser on Monday January 24, 2022 @06:50PM (#30065860)
In 1999, front end templates were written in an internally developed macro language named catsubst and served by a C (maybe C++?) application named Obidos. Later (starting in 2003-ish), front end code was written in Perl (Mason) and served by another application named Gurupa. The transition to Gurupa was very long and arduous. I've no idea how the site works now.
Re:Amazon.com Homepage (1999) by PaulDavisThe1st on Monday January 24, 2022 @07:38PM (#30066301)
Calling it an "internally developed macro language" is stretching it a little bit. It was an extremely simple blob of C++ code that scanned text looking for one of a very small number of known placeholders, and filled them in with the relevant value (session ID, user name, user email etc.) I suppose that over the years between 1996, the capabilities of catsubst may have been expanded somewhat, but certainly when it started there was no formal concept of it being a macro language. In fact, at the very beginning, we experimented with just using m4 (which is a formal macro language) but it wasn't quite right for the job.
Re:Amazon.com Homepage (1999) by jrauser on Monday January 24, 2022 @10:39PM (#30067656)
Fair enough. I maybe should have put language in scare quotes. :)
Re:Amazon.com Homepage (1999) by joeframbach on Monday January 24, 2022 @07:27PM (#30066209)
The transition from Gurupa to Java (Spring, Horizonte) was long and arduous. If you see a page with /b/ in the url, that's Gurupa.