VascoD Posted November 15, 2020 Share Posted November 15, 2020 hello, is it possible to have a database connection into Squarespace site? I'm thinking of using a standard SS template for 80% of my website but also require some custom code to connect to a database. Is that possible? regards, Vasco Mihajlo 1 Link to comment
mess_cal Posted November 16, 2020 Share Posted November 16, 2020 Since Squarespace doesn't have a customizable backend, you won't be able to write code to connect to a database the way that you might traditionally do so for a web application. If you need to read data from a database, the best option would be to expose the data via a HTTP REST API and then use Javascript's XMLHttpRequest in Squarespaces code injection to fetch the data and display it in the page. You can see the (better) answers to a similar previous question here Mihajlo and VascoD 1 1 Link to comment
TimyHids Posted June 1, 2021 Share Posted June 1, 2021 (edited) Yes, it is possible. Many medical centers are now using similar databases. It works as cloud storage and is used for stocking the case management of the patients. From the beginning, I thought that this is not necessary, but I didn't think a lot about its advantages. First of all, it increases the security of the information about the patients. Only doctors with special passwords will be able to access the information in the database. Also, digital record-keeping decreases paperwork, so medical centers won lose space for storing those papers. ________________________________ https://www.iinsight.biz/ Edited June 4, 2021 by TimyHids Link to comment
Beyondspace Posted June 1, 2021 Share Posted June 1, 2021 On 11/16/2020 at 5:48 AM, VascoD said: hello, is it possible to have a database connection into Squarespace site? I'm thinking of using a standard SS template for 80% of my website but also require some custom code to connect to a database. Is that possible? regards, Vasco You need to do access your database off-site, or if the data is not too complex, access the collection data in json format may good enough View JSON Data — Squarespace Developers Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio pluginIf you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you Link to comment
therisejourney Posted April 13 Share Posted April 13 Did this ever come to fruition? Would love to see how it came out! Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment