Update 2: Static sites are becoming more and more popular. The trend is called microservices / JAMstack. There are even more choices on how you implement backend work on static sites these days than when the article was written. Cloud functions in particular are very useful. My agency, AM Code, can help you if you need it.
Update: Recently I’ve been using Webflow. It’s a little bit more technical than squarespace but not by much if you know a little html / css. With it you get a CMS feature that would make it a lot easier to implement a native solution like I write below. Be sure to see if that would solve your needs!
So you’re faced with a client who has chosen to use SquareSpace, maybe even before they were your client.
They probably had good enough reasons for it, they didn’t have any complex needs when they set their site up.
But now they have a project for you. They need to add some feature to their site that involves databases and programming.
You can’t write PHP or MySQL directly into SquareSpace, in case you didn’t know. So how do you proceed?
Because this is possible with Firebase, it’s removes the need to have PHP and MySQL — provided the feature you need to create is small enough, say adding a form to a single page in squarespace.
Once you’ve created the application the client wants in a .html file, you can copy / paste it into the SquareSpace page by adding a “Code Block” like so:
Now you have a nifty, database connected single page app hosted on SquareSpace. Neet huh? 🙂