r/web_programming • • Jul 17 '16

Classical web programming

I'm looking for resources (books, sites, etc) to learn classical web programming, kind of like how it was done up until around 10 years ago, before everything started to be all about frameworks, single page apps, etc. When CSS and JS usage were fairly minimal. When a web site was an information resource rather than an application. When web sites had their own weird, cranky personalities and the Internet did not equal Google+Facebook+Instagram+Bootstrap. Everything looks the same now and it's boring.

I want to work with a traditional LAMP-style stack (where P=Python) as a webmaster, I guess that's what is called a full stack developer today, huh. This is in contrast to the MEAN-style stack, which I've done a lot of but I didn't like the single page app style of doing things.

The change from HTML 4 or HTML 5 signified a huge shift in what the web actually is, and HTML now feels more like a delivery mechanism for dynamically generated stuff or to hang your AngularJS (or whatever other framework) tags on, instead of a place to actually put your relatively static semantically marked up content. (X)HTML 4, is this even still a thing, is it still worth learning? Can HTML 5 be dialled back in the way it's used?

If it's not clear, I'm not looking for the "latest and greatest" shiny new thing ;-) But I'd like to take the best practices that we know today (e.g., security) and apply them to traditional web sites.

What are the "classic" resources that I should be aware of, books, forums and mailing lists that have experienced communities?

3 Upvotes

6 comments sorted by

2

u/steezefries Jul 17 '16

I think you're looking for server side rendering.

1

u/peatfreak Jul 17 '16

Oh wow, yes thank you. I looked it up and did a little reading around, and yes indeed this is a good summary of what I'm trying to achieve. Can you suggest any resources for learning about patterns of architecture and design for server side rendering?

1

u/steezefries Jul 17 '16

Look up some Flask tutorials maybe. Flask is a lightweight web framework for python. The tutorials will show you some of the patterns used and how server side rendering works.

1

u/peatfreak Jul 18 '16

Awesome. Thanks for your suggestions.

2

u/ShmooArmy Jul 21 '16

I don t get the point. What you describe have nothing to do with so called classic webdevelopment. You describe webdevelopment just in a way that is far away from best practices.

There is a good reason that the tools you mention are used today. The extensive use of frameworks and cms is just based on the fact that a lot of people (including bad webdeveloper) aren`t able to do certain things on there own or don t want to mess with repetetive stuff.

XHTML is basically just another syntax for describing the content, with the use of XML. Therefor, you just use the xml language instead of the html.

The P in LAMP stands generally for any server specific language, typically for PHP and originally for Pearl.

A fullstack developer is called that way because he can handle the server os (the L in LAMP), the webserver (the A), the database (the M), backend server language (the P) and also design and programm the frontend.

Your plan to use python without a framework force you to pass information directly to the server API. What is nether smart nor practically and also extremly error prone (if you want to develop websites and not a server side framework).

Also the mean-stack stands is not really the contrast to the lamp-stack it just describes the use of specfic languages and tools (MongoDB, Express, Angularjs, Node.js).

If you really intend to learn the "classic" web development just learn to handle plain PHP, HTML, JS and if you also want to become a full stack web developer learn to handle linux, webservers, backend frameworks and frontend frameworks.

1

u/cpc-Nattefrost Aug 03 '16

If you wanna go classic (archaic some may say and I couldnt disagree) go for cgi. All you need is a unix (linux, bsd, whatever) box, apache and any language you like really. (I've seen people do cgi scripting in lua, bash, ruby and of course perl).

While it works with small projects I agree with others : you'll be more sane using a proper framework (any language again).