Refactor of PlanetXamarin #733
Comments
yes, yes, and yes, would love to have the website be an Azure Static Web App to be honest leveraging Blazor. |
I think it is time for it to be "Planet .NET" as well |
@Cheesebaron I own planetdotnet.dev |
What about the domain planetof.net ? :D |
@jamesmontemagno |
@Cheesebaron how do you feel about moving forward on this and then changing it to be Planet .NET and then we have category filters as well we define? |
@jamesmontemagno sounds good to me. What would these categories be? Categories for different parts of .NET authors write about? |
I think categories could be nice.... like if someone is only interested in ASP.NET Core for example.... We could keep it simple though....
.NET MAUI would fit under Mobile & Desktop.... thoughts? Else I would do:
|
@jamesmontemagno Something like:
|
How would these be matched? From tags authors put on their posts, or some fixed data we know about the author? |
Hmmm good question..... Maybe we do some special stuff on the website that has tags and then it creates special feeds for tags that people have... Hmmmm I say make it easy to start and just do a single feed lol. |
@jamesmontemagno |
can we get @mabroukmahdhi and @Cheesebaron to contribute the functions here. @jongalloway and I will be working to convert this to planet .net over the next month or two and getting things ready. if you have the code then it will help us out ;) |
I created a new repo for the functions backend: https://github.com/planetxamarin/aggregator-functions will be easier to deploy |
Also a new repo for the front-end https://github.com/planetxamarin/planet-dotnet |
@jamesmontemagno |
We need to copy the source in order to delete it from my repo. |
There's a bit of setup needed for my function in terms of storage. Right now I use Blob Storage of the periodically generated feeds, but shouldn't be hard to setup with CI and some secrets. I'll prepare a PR 👍 |
Sounds good! we can deploy a new site and backend and test it and then i can swap over teh DNS stuff. I can setup secrets for deployment as well :) |
PlanetXamarin is due for a refactor and I have some ideas which would make the experience of adding authors and creating feeds much better, without having to re-deploy the site every single time.
The overall idea is to use something like Azure Functions or it could even be a GitHub Action on a timer. This timed mechanism should grab the latest authors and crawl their sites to generate and publish the feed for PlanetXamarin into some public URL.
This would be much nicer as the feeds would then stay up to date automatically and always ready to be consumed. Today the feed is generated on-demand when someone hits the
/feed
endpoint and can take a while, sometimes timing out depending on browser settings.The latest authors would just live in a GitHub repository like always, but just be in a serializable format to easily process by both the web site, but also the function that generates the feeds.
So the source of truth will always be in the repository and not compiled into the deployed web application. Both for the feed and the list of authors.
I've been prototyping this previously with Azure Functions + Azure Blob Storage and have these feeds running right now:
https://planetxamarinfeedstorage.blob.core.windows.net/feeds/feed.mixed.rss
https://planetxamarinfeedstorage.blob.core.windows.net/feeds/feed.en.rss
https://planetxamarinfeedstorage.blob.core.windows.net/feeds/feed.es.rss
And also added a mechanism to transform the classes we have that are baked into the web app into json files.
So this way we could more or less have the website be static for most content and we would rarely need to touch the code and re-deploy, but just serve the feeds from some kind of storage mechanism.
The text was updated successfully, but these errors were encountered: