code-for-magdeburg / magdego-server

Web App and API (wrapper) for INSA.de in node.js
http://magdego.de
Apache License 2.0
8 stars 3 forks source link

Refactore Web-App #18

Open jfilter opened 9 years ago

jfilter commented 9 years ago

There is no reason to include the Web-App in the Backend.

ghost commented 9 years ago

What exactly do you mean by that? Putting the entire logic in the frontend?

Some people would argue that you should have no logic in the frontend, since it will be executed in the clients browser and therefore the logic would be really dependent on the clients resources/environment and so on.

jfilter commented 9 years ago

I mean, there is no reason to serve the files via the node.js web server. We just let Apache handle the static Web-App. So basically we just create an other repo and adjust the .htaccess. But because it's working I really don't want to touch 'the running system' now. Just a remark for myself. ;)