14
votes
Accepted
How can I discover a local network appliance and connect to its built-in webserver?
In theory, mDNS can be used for zero-configuration networking:
The appliance connects normally to the available network and receives an IP address via DHCP.
The appliance listens to mDNS broadcasts ...
10
votes
How can I discover a local network appliance and connect to its built-in webserver?
There are protocols / combinations of protocols designed for this very scenario. They broadly fall under the category of zero configuration networking aka zeroconf. Some popular implementations are ...
3
votes
Accepted
How encrypting website data works
As user amon said in comments, HTTPS is the standard way to encrypt passwords (and everything else) in transit between the browser and the server. There's only very rarely a good reason to use ...
3
votes
Should the web client (web browser) be counted as a tier in n-tier architecture?
The challenge in answering this question is that we are dealing with terms, in this case "tier", that have imprecise meanings and different people use the term differently.
For example, a common view ...
3
votes
How do I avoid increased memory consumption by browser and performance degradation when dealing with many records?
The best library I have used for viewing tons of data in a grid format is SlickGrid.
Here is a good example of a grid with 500,000 rows which demonstrates the performance.
Example: 500,000 rows in ...
2
votes
Why are framework javascripts not reutilised between pages?
One reason is that there is no web of trust in place that would facilitate using code from one source in the rendering of a website from another source. Right now all the code linked in a HTML ...
2
votes
Accepted
How do I avoid increased memory consumption by browser and performance degradation when dealing with many records?
The other posted answer is valid. Removing the hidden rows from the DOM will give you better performance. However, it doesn't address the underlying issue that you're passing all data to the browser ...
2
votes
Should the web client (web browser) be counted as a tier in n-tier architecture?
Based on this definition of an n-tiers architecture, a tiers is a multilayered architecture where the layers are made of components. In fact, this definition proposed by one of our peers is very close ...
2
votes
Accepted
Why are framework javascripts not reutilised between pages?
They are. If you link to the javascript as hosted by an external source such as ajax.googleapis.com and you have previously got that file while browsing another webpage, your browser will use the ...
1
vote
How to improve this synchronous job execution design?
On the face of it this is a terrible design.
User opens a webpage
Inputs few details in the form
Click submit
Request goes to API server
fine so far
API server creates a pod in Kubernetes
This ...
1
vote
How can I discover a local network appliance and connect to its built-in webserver?
Sorry if this is too much of an anectdote, but I recently bought a small wifi print server and its initial configuration worked like this:
After pushing a button (which in this case was also the ...
1
vote
How can I discover a local network appliance and connect to its built-in webserver?
As mentioned by others, mDNS possibly offers what you want.
Note that, depending on routers/firewalls/clients, mDNS might not work reliably, or even at all.
We use it for our IoT project (a CO2 sensor ...
1
vote
How can I discover a local network appliance and connect to its built-in webserver?
You are probably using DHCP to get an IP address (if you aren't, you should), and only fall back to a preconfigured address, or an APIPA (169.254.0.0/16) address, if you don't get any DHCP responses ...
1
vote
Why are framework javascripts not reutilised between pages?
If your site not only depends on your server, but N other servers, you have N additional bottle necks, possible break points, especially if some library becomes popular. Their servers are not ...
1
vote
Efficient development process for Golang (or any backend) and JavaScript?
Use the following process:
Consolidate the Golang template compilation and web developer tool debugging into node.js by finding a parser and a DOM emulator. Here are a few:
jsdom - npm
xmldom - npm
...
Community wiki
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
web-browser × 26javascript × 7
web-development × 4
firefox × 3
web-applications × 2
performance × 2
html × 2
web × 2
networking × 2
memory-usage × 2
browser × 2
internet-explorer × 2
c# × 1
architecture × 1
python × 1
security × 1
asp.net-mvc × 1
compiler × 1
authentication × 1
continuous-integration × 1
json × 1
windows × 1
mobile × 1
interview × 1
server × 1