Welcome Guest!
In order to take advantage of all the great features that Waterloo Region Connected has to offer, including participating in the lively discussions below, you're going to have to register. The good news is that it'll take less than a minute and you can get started enjoying Waterloo Region's best online community right away.
or Create an Account




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
City of Kitchener Website
#1
Kitchener re-imagines online customer service with citizen-centered design
Reply


#2
Looks like they finally punted Laserfiche, at least as the external-facing technology. You can now get proper links to documents. For example:
https://eagenda.ca:5001/IIP/kitchener/me...details/89
Reply
#3
(03-01-2021, 02:01 PM)tomh009 Wrote: Looks like they finally punted Laserfiche, at least as the external-facing technology. You can now get proper links to documents. For example:
https://eagenda.ca:5001/IIP/kitchener/me...details/89

What’s with the “:5001”? It’s not that hard to run a server on the normal port.

http on port 80 just sits there not responding; https on 443 gives a brief message about the domain belonging to some company and then redirects to their homepage.

Lame.
Reply
#4
As long as it works better than the old one, I don't really care what port it's on. I can't think of any downsides besides five extra characters in the URL.
Reply
#5
(03-01-2021, 09:33 PM)tomh009 Wrote: As long as it works better than the old one, I don't really care what port it's on. I can't think of any downsides besides five extra characters in the URL.

Let me put it this way. When I hire an electrician, I expect the boxes for the light switches and outlets to be installed at right angles to the floor; and all the screws holding on the cover plates aligned in the same direction. It’s really just a matter of workmanship. Putting up a production service for the public on a non-default port is sloppy work.

Of course, the old site was nothing but sloppy work, so if this is an actual good system with a few weird deployment issues, it’s still an improvement.

To continue the analogy, the old site could electrocute you. The new one just has outlets installed at weird angles.
Reply
#6
(03-02-2021, 01:08 AM)ijmorlan Wrote:
(03-01-2021, 09:33 PM)tomh009 Wrote: As long as it works better than the old one, I don't really care what port it's on. I can't think of any downsides besides five extra characters in the URL.

To continue the analogy, the old site could electrocute you. The new one just has outlets installed at weird angles.

Depends on whether one is trying to have human-understandable URLs or not. Also could be trouble with firewalls.
Reply
#7
Port 5001 is a bit odd. A Flask development server defaults to 5000, but if that wasn't available it would make sense to use 5001. Normally, though, when you deploy the app, you would use a WSGI server which would default to HTTP ports. The main reason not to use the HTTP ports is if you are serving several apps from the same domain and then you'd normally route the requests through another server like nginx, which could redirect all requests to a particular subdomain or directory to a particular service on an internal port. I really hope this isn't being served on a development server...
Reply


#8
(03-02-2021, 04:34 AM)plam Wrote:
(03-02-2021, 01:08 AM)ijmorlan Wrote: To continue the analogy, the old site could electrocute you. The new one just has outlets installed at weird angles.

Depends on whether one is trying to have human-understandable URLs or not. Also could be trouble with firewalls.

Human-understandable URLs are correct practice, so there is no “if” for professional web developers.

Trouble with firewalls could be a reason for almost anything in development, but definitely not to use a weird port in production.

Seriously, while I’ll admit the site won’t electrocute anybody as it is, you don’t hear these sorts of BS excuses from electricians for why they couldn’t ground that outlet; they just suck it up and do the job properly.
Reply
« Next Oldest | Next Newest »



Forum Jump:


Users browsing this thread: 1 Guest(s)

About Waterloo Region Connected

Launched in August 2014, Waterloo Region Connected is an online community that brings together all the things that make Waterloo Region great. Waterloo Region Connected provides user-driven content fueled by a lively discussion forum covering topics like urban development, transportation projects, heritage issues, businesses and other issues of interest to those in Kitchener, Waterloo, Cambridge and the four Townships - North Dumfries, Wellesley, Wilmot, and Woolwich.

              User Links