TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Postage Cost Calculator (UK)

3 pointsby kfullertover 10 years ago

1 comment

kfullertover 10 years ago
Hi,<p>This is related to an Ask HN I posted (<a href="https://news.ycombinator.com/item?id=8464118" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=8464118</a>) - to summarise, I&#x27;m a primarily C# dev working on extending&#x2F;customising existing off-the-shelf CRM systems, but I want to expand myself and learn more diverse technologies.<p>I built this as I sell on eBay infrequently, and the Royal Mail price-finder (<a href="http://www.royalmail.com/price-finder" rel="nofollow">http:&#x2F;&#x2F;www.royalmail.com&#x2F;price-finder</a>) assumes you know off the top of your head whether what your sending is a small parcel, medium parcel, large letter etc. so this way you just enter the dimensions&#x2F;weight and it works out what the different services would cost (and automatically excludes services which aren&#x27;t available for the dimensions&#x2F;weight of your package)<p>I put this together over about a day to start to learn AngularJS (it seemed to have the lowest barrier to entry and my JavaScript skills in general are novice level) - the next step for me now I have something that _actually_ works is to learn how I should re-factor it to make it more maintainable and implement testing of it, so that when the prices update I can be sure I&#x27;ve not broken something.<p>If anyone has any feedback as to how&#x2F;where&#x2F;what I should be looking at doing with it to refactor it to be more maintainable&#x2F;testable that would be greatly appreciated.<p>Lastly, all the data it needs is currently stored in the controller (such as the points for different parcel sizes and postage costs) as I was hoping to make it available offline and potentially package it in something like PhoneGap and have it able to run even if there was no network available.
评论 #8469042 未加载