Python: Flask – Generating a Static HTML Page

Whenever I need to quickly spin up a web application, Python’s Flask library is my go to tool. Recently, however, I found myself wanting to generate a static HTML page to upload to S3 and wondered if I could use it for that as well.
It’s actually not too tricky. If we’re in the scope of the app context then we have access to the template rendering that we’d normally use when serving the response to a web request.

Link: https://dzone.com/articles/python-flask-generating-a-static-html-page?utm_medium=feed&utm_source=feedpress.me&utm_campaign=Feed%3A+dzone%2Fwebdev

Python vs. Ruby: Which Is Best for Web Development?

Python and Ruby are among some of the most popular programming languages for developing websites, web-based apps, and web services. In many ways, the two languages have a lot in common. Visually they are quite similar, and both provide programmers with high-level, object-oriented coding, an interactive shell, standard libraries, and persistence support. However, Python and Ruby are worlds apart in their approach to solving problems because their syntax and philosophies vary greatly, primarily because of their respective histories.

Link: https://dzone.com/articles/python-vs-ruby-which-is-best-for-web-development?utm_medium=feed&utm_source=feedpress.me&utm_campaign=Feed%3A+dzone%2Fwebdev

Introduction to Anime.js

JavaScript animation has been around for a while. There is a wide choice of JavaScript animation libraries for you to try out. Among that group, Anime.js has been gaining some significant popularity. If you’re not familiar with it, I hope this article will get you started with this lightweight and flexible animation library.
This library works with any CSS Properties, individual CSS transforms, SVG, or any DOM attributes, and JavaScript Objects.

Link: https://dzone.com/articles/introduction-to-animejs?utm_medium=feed&utm_source=feedpress.me&utm_campaign=Feed%3A+dzone%2Fwebdev

TypeScript at Slack

An excellent subhead by Felix Rieseberg: How I Learned to Stop Worrying & Trust the Compiler.
I’d wager that some of the popularity of SCSS was due to that fact that any valid CSS was valid SCSS, so you could baby step into SCSS on an existing codebase fairly easily. The same is true with TypeScript:
Modern JavaScript is valid TypeScript, meaning that one can use TypeScript without changing a single line of code. This allowed us to use …

TypeScript at Slack is a post from CSS-Tricks

Link: https://slack.engineering/typescript-at-slack-a81307fa288d

Using npm as a Build Tool

The main purpose being: you’re using npm anyway, so using it directly to run scripts removes a dependency (i.e. gulp/grunt/whatever) and brings you a bit closer to the tools you are using directly. I could see this example `package.json` file from Graham Smith being highly referenced as people try this out for themselves.
Remember Damon Bauer covered this here on CSS-Tricks last year, with a whole bunch of examples of what is possible.
Direct Link to Article — Permalink…

Using npm as a Build Tool is a post from CSS-Tricks

Link: https://gablaxian.com/blog/using-npm-as-a-build-tool