Skip to main content
Advanced Search
Search Terms
Content Type

Exact Matches
Tag Searches
Date Options
Updated after
Updated before
Created after
Created before

Search Results

355 total results found

AJAX request considerations

Interface Design Page loading and AJAX considerations

What's this "AJAX" you speak of? For non-developers, AJAX stands for "Asynchronous JavaScript and XML", and basically means a way of updating a webpage, e.g. in response to a user clicking something, without having to reload the entire page as was common in t...

SQL connection pools

Infrastructure (AWS) RDS

Connection pools take up connections even if they're not being used Your database server is going to have some maximum number of connections it can handle at one time (depending on the hardware configuration, and also the SQL engine version). If you allocate ...

Database Privileges

Infrastructure (AWS) RDS

Strictly speaking, Amazon RDS does not give you full root privileges on your database server (so they can maintain it properly). This has a few effects you might not expect. Adding stored procedures and functions The default configurations won't let you add ...

Upgrading an RDS database

Infrastructure (AWS) RDS

Minor version upgrades You can do these easily in the RDS console (be aware they will cause some downtime). Major version upgrades For some reason, the RDS console doesn't actually allow you to perform major version upgrades - a flag required to do so is mi...

Excessively high webserver session counts

Infrastructure (AWS) EC2 (Elastic Compute Cloud)

Check the User-Agent header for incoming requests Depending on your load balancer, it will periodically send its own requests to your webservers, to check they are still able to serve requests (i.e. the load balancer needs to know which of your webservers it ...

Frontend Architecture

Code Standards: Frontend Frontend Class Structure

The main way Deserted Chateau's frontend works is documented here. Page Loading Most dynamic information is loaded onto pages via jQuery AJAX requests, except for some pages where this approach causes a janky loading appearance. At the moment, the user profi...

Gallery Variables: DOM nodes

Code Standards: Frontend Artwork Galleries

Element ID standards Gallery elements all conform to the following element ID standard: ${prefix}gallery-image-${elementName} Prefix: a prefix defined for a given gallery. The default gallery has an empty string prefix; other galleries have prefixes to al...

January 15

Development Updates, pre-launch 2024

Hi everyone, hope you're well. Had a pretty rough two weeks, but I got a decent amount done, nonetheless. Updates below! Documentation server I’ve added more documentation about potential pitfalls when upgrading LAMP stack webservers (various oddities in PHP...

Preventing Hotlinking

Infrastructure (Non-AWS) BunnyCDN

To prevent other sites hotlinking to content (and eating up bandwidth), we can specify a list of allowed referrers in our CDN configuration, meaning that any request not coming from those referrer domains will get a 403 Forbidden error. On BunnyCDN, go to you...

WebSockets protocol with CloudFront

Infrastructure (AWS) CloudFront

While CloudFront natively supports websockets, there is one major pitfall you can end up running into: You can't use a custom port for the WebSocket connection If you're running some server that has say, Apache serving normal HTTP/HTTPS requests and a Node.j...

localstorage-slim

Third-party libraries Frontend libraries

Homepage https://github.com/digitalfortress-tech/localstorage-slim What is it? A lightweight library for making browser storage a little bit less tedious. Why did we choose it? It's extremely small and low in size, doesn't have any particular requirements...

PHP

Tech stack Languages

Homepage https://www.php.net/ What is it? A scripting language used for back-end code (it stands for PHP Hypertext Processor... yep, it's a recursive acronym). Why did we choose it? It's ancient, reliable, and works well, plus as another ancient entity I'...

HTML, CSS & JavaScript

Tech stack Languages

Homepage https://www.w3.org/standards/history/html52/ https://www.w3.org/TR/CSS/#css https://ecma-international.org/publications-and-standards/standards/ecma-262/ What is it? The three "core" languages of website design and implementation. HTML is a marku...

WAF pricing: rules and rule groups

Infrastructure (AWS) WAF

The free managed rule groups still incur a charge Be aware that, although the AWS managed rule groups that are listed as "free" don't incur any specific extra charges, they do still incur the standard $1/month fee for each rule attached to your WAF ACL. If y...

January 30

Development Updates, pre-launch 2024

Hi all, hope you're doing well ^^ updates below! HTML / JS / CSS improvements, continued Fixed fadeins and fadeouts on profile pages not always working correctly. Also been doing some interface improvements, e.g. allowing enter key to be used for form submis...

Introduction to client-side caching

Efficiency & Performance Client-side caching

Differences vs. server-side caching Client-side caching is not secure, no matter what you do. Do not use client-side caching for any sensitive data, or for data that needs to be kept secret. Storage limits on client-side caching are a lot smaller (most mod...

Overview & Libraries

Interface Design Designing interactive, responsive inter...

Overview I am no expert in interface design, but I do know the basics (and thankfully, there are helpful tools and libraries out there these days to help make these tasks easier than they used to be). The aim of this chapter is to explain some of the most im...

Space efficiency: Tooltips

Interface Design Designing interactive, responsive inter...

Space efficiency: Modals

Interface Design Designing interactive, responsive inter...

Feedback

Interface Design Designing interactive, responsive inter...

Feedback is when something reacts to the user, giving them some indication that an action occurred. In the context of user interfaces and websites, this usually means styling effects that help a user to understand how to navigate the interface. Common example...