Tagged “webdev”
-
TIL Content sectioning html webdev browser
Content sectioning or landmarks, like sidebar, content, footer. You know, like better names.
-
TIL php-fpm php webdev servers
PHP runs as a separated service when using PHP-FPM. By using this PHP version as language interpreter, requests are processed through a TCP/IP socket; so that the Nginx web server only handles the HTTP requests and PHP-FPM interprets the PHP code. The fact of having two separate services is key for increasing efficiency.
-
TIL Considering Device Obsolescence with web development webdev browsers
I'm incredibly guilty of pushing to build for the latest tech. For good reason too - you can write less code, use more native functions, and things are just more likely to work.
-
TIL the @layer feature in CSS webdev css
With '@layer', the entry file can pre-define layers, and their order, ahead of time.
-
TIL Deceptive design patterns (dark patterns) ux browser webdev
Deceptive design patterns (also known as dark patterns) are tricks used in websites and apps that make you do things that you didn't mean to, like buying or signing up for something.
-
TIL how CORs work security vulnerability webdev
We kinda need images to work regardless of what site they're on. I should be able to steal a image from your website and host it somewhere else. Same with JS code (Like CDNs!) But we also don't want the problem above where I can test your cookies to see if you're logged into your bank account.
-
TIL a Accessible way to solve Read More accessibility links webdev html
Screenreaders help sight-impaired visitors have a better experience. The most annoying thing on a news website is to hear this: Read more — link, read more — link, read more — link. There's two ways to solve it.
-
TIL how to open up your webcam with html webdev input webcam
This is done with the 'capture' attribute which can take two values.
-
TIL different ways to paginate API calls restapi webdev
When exposing large data sets through APIs, it needs to provide a mechanism to paginate the list of resources. That way, instead of 365,000 tweets shared... maybe you're sharing segments of 1,000 tweets. Smaller payload, faster delivery, less angry person.
-
TIL about Micro-frontends frameworks javascript webdev
Micro frontends are a new pattern where web application UIs (front ends) are composed from semi-independent fragments that can be built by different teams using different technologies.
-
TIL of a reference to quote the price of a website freelancing webdev
Look, you can live in a generic rental with popcorn ceilings, odor-catching rugs, paper-thin walls and the cheapest appliances. Or you can live in a nice apartment with 10ft ceilings, hardwood floors, soundproof walls and modern appliances.
-
TIL that it's not a pop-up, be more precise pop-up ux webdev
Teach others to stop using pop-up. It means like 10+ different things.
-
TIL LocalForage, a small js library for caching javascript webdev cache api mdn library
An easy to use library to help with web storage. Switches between localStorage/sessionStorage, and also IndexedDB automagically. 178,000 repos can't be wrong.
-
TIL column-count css codepen html webdev
Using the column-count property you can break an element's content into a specified number of columns.
-
TIL column gap for newspaper look css codepen responsive webdev mdn
Use `column-count` and `column-gap` to give it that sweet newspaper look.
-
TIL removing ELSE statements to write clearer code javascript webdev
Programs are meant to be read by humans and only incidentally for computers to execute. Donald Knuth
-
TIL browsers explicity prevent sharing of cached third-party resources webdev privacy
The original idea was that you would load resources from a CDN. Doesn't work anymore
-
TIL about adding Styling to scrollbars css webdev codepen scrollbar
You can decorate your scrollbars with CSS
See all tags.