Closed neefrehman closed 2 months ago
Initial thoughts (in no particular order)
Stripping out the current html/CSS into a static friendly version of the site would be pretty simple in it's current state. I've been holding off using most of the more .NET specific features and setting up reusable components etc until there's a finished site design.
If we go for the option of using embedded forms rather than the API version the need for a whole lot of yet to be added back end functionality goes away.
The current hosting for the dev site is using Azure App Services which is 'serverless' (
Code wise personally I'm much more comfortable with C# than js/typescript but wouldn't mind having a reason to play with something new.
Dynamic content wise, the current solution was very much intended as a temporary thing until the design is finished.
Thanks neef. I don't know loads about web deployment tech, so some of this is a bit above my pay grade, but a couple things stand out:
The other thing is figuring out whether we can get Dreamhost to play nicely, because if not, we'll have to change things around anyway. Maybe I'll ask our new recruit Lewis to look at this
Done a bit more research on this and it looks like Dreamhost are running Apache servers and don't currently support .Net (core or framework) https://help.dreamhost.com/hc/en-us/articles/217141627-Supported-and-unsupported-technologies
Ref GoCardless. I haven't used them before, but based on past experience nothing about payment processing integration is simple, however their advertising makes it look! Last one I did took 2-3 weeks full time to get everything set up from scratch, not including testing.
Thanks both for your thoughts!
The current hosting for the dev site is using Azure App Services which is 'serverless' [...] and I've got a pipeline set up to auto deploy when anything is merged to main
Ok good to know @Fireflower2012! Nice that things seems on the simpler end in that case
Do we want to limit ourselves to static pages? For example, maybe we will change the calendar into something more dynamic. This feels like the biggest thing for me
Good callout @arthurHarding. Being honest I did use the least sophisticated end of the "static" spectrum to make my point, for simplicity's sake. There are a few ways to add dynamism with these kind of deployment tools. Going with the example of the calendar, we could:
But in any case, sounds like things right now aren't overly complicated, and we're not that bought in to .NET which is good for flexibility. So no need to make any decisions right away!
We've decided that we're gonna stick with what we've got for the dev site - git and azure
This is a follow-up form the conversation we had regarding hosting and deployment @FireFlower2012 @arthurharding. Having gotten acquainted a little bit with the codebase and current workflows, I know that we currently deploy a .NET application to Azure, that renders and serves the pages upon request. I've never worked with .NET before, so it was cool to take a peek into how it all comes together!
Looking again at the designs, and thinking about what the requirements of the site are, one thing that struck me is that there isn't much "dynamic" content, which would need rendering for each request. As a result, this might make the site a good candidate for static rendering, where we build the site once per deployment, and deploy its pages and resources as files to a CDN network. The big difference here is that there is no server to do rendering on the fly, and naturally a lot of other things are simpler as a result. A few services have cropped up in recent years to handle these kinds of deployments, like Netlify, Vercel or Cloudflare Pages. Below I give some pros and cons to using tools like these, and we can have a conversation about them in this issue :—)
Pros:
Cons:
So, I'd be curious to hear everyone's thoughts on the above. I don't really have a strong opinion about what would be best, as we should definitely prioritise what the team is most comfortable with, but as you can probably tell I've had positive experience working with static deployments. Please also feel free to let me know if I've misunderstood anything about the current state-of-play, as I may have over stated some pros or understated some cons.