Questions tagged [web-architecture]
64 questions
1
vote
1 answer
Common shared CSS JS files in a directory shared between similar sites?
Backgournd info:
I have a ISS6 webserver hosting multiple websites. I have about 15 domains that could be considered "sister" sites that share styles, layouts, etc but they still will have their own customization styles. (I haven't created anything…

Scott
- 11
- 2
1
vote
1 answer
Code architecture - Flask - Where to put form validation from database?
I'm wondering where should I put a validation form which accessing database.
Basically I will need user to enter item_type and I want to check first i the item_type has exist in database.
There are 3 options:
In the database model, I have ItemType…

andiwin
- 1,552
- 3
- 14
- 27
1
vote
1 answer
routing mvc on the web
I was wondering if anyone could possibly provide me some advice on how i could improve the routing (and/or architecture) to each 'section' of my application. (I'm writing in PHP5, and trying to use strict MVC)
Basically, I have a generic index page…

Steve Rathbone
- 458
- 1
- 5
- 14
1
vote
1 answer
I am running a REST API server and I'm not too sure about the infrastructure. Also what can I do to benchmark and improve speed?
My infrastructure is: gandi domain, aws dns, route53 api.domain cname pointing to a to self-signed ssl-enabled elb (having 1 elasticbeanstalk instance). Elasticbeanstalk instance is docker-based. That means nginx forwards to docker instance. Docker…

macguy
- 294
- 3
- 12
1
vote
2 answers
Does ST(State Transfer) in REST mean that state must be held by client?
I read What does “state transfer” in Representational State Transfer (REST) refer to? and several post or videos about REST, and I know one of the constraint of REST is stateless.
According to many posts like…

JaskeyLam
- 15,405
- 21
- 114
- 149
1
vote
1 answer
Image processing on a web server
I want to run image processing algos on server which can interact easily with web apps. The image processing algos are compute heavy and wont be available in custom built libraries. Currently I am using Ruby on Rails on Heroku for my website.
What…

godot101
- 305
- 1
- 4
- 12
1
vote
0 answers
Migrating from frontend to backend web development
I mostly do front end web development but I want to shift to backend web development.
I have some experience with backend development. I developed a basic website using Ruby-on-Rails but I didn't 'get' a lot of stuff; I just did it because some…

user183123
- 239
- 1
- 2
- 5
1
vote
1 answer
Is this a good web application architecture?
I'm trying to build a website myself but I also want to build a native mobile application that will access the same DB in the future.
What I'm thinking now is using Node.js to build Web Services wrapper for the DB and every DB operation will be…

user2440712
- 719
- 2
- 9
- 16
1
vote
2 answers
Architecture needed to reduce mysql connections in AJAX/PHP/MYSQL
BACKGROUND:
I am passing variables through AJAX to php file. The php file connects to a server and retrieves the result which it passes back to javascript. This happens every time a user clicks on the request button (about every 5 secs). Thus for…

user1517108
- 2,395
- 6
- 32
- 43
1
vote
2 answers
Building farms with IBM Websphere, IBM Http Server, Load Balancer (or Dispacher)
Do you know a web page or pdf or any books to learn how to architecture these products to create a farm?
Also any generic web application farm architecture best-practices source is appreciated ...
I would like to learn about highly available and…

yusuf
- 3,596
- 5
- 34
- 39
0
votes
0 answers
What is the Approach To Migrate Web Application
I am looking for varous patterns to break existing JSP/Servlet based old web application to new react based component based application.
We have site, which calculates premiums as a quotation, if customer is happy he does the application creation…

Jayesh Mehta
- 1
- 1
0
votes
1 answer
Seperate Web Framework From Main Application
I have a question regarding software design/architecture. I want to build an application, which provides a REST API and runs several algorithms in the background. My main aim is to seperate these two functions strictly. Ideally it would not matter…

kayos
- 53
- 6
0
votes
1 answer
Does it make sense to define a GET /users/{id}/photos route or should I just send multiple GET /photos/{id} requests to return a user's photos?
This is a dilemma I find myself facing very often when dealing with nested resources.
So suppose the target user has n photos. Does it make sense to define a GET /users/{id}/photos route or should I just send n GET /photos/{id} requests by first…

ryanvb92
- 311
- 2
- 13
0
votes
1 answer
ASP.net Confusion among web architecture
A little Background:
I started my career almost 5year ago as a web developer using ASP.net and C#, after working as a web developer for only a year i switched to the world of low level programming (i.e C/C++).
Now, from last 4 years i have been…

Jame
- 21,150
- 37
- 80
- 107
0
votes
0 answers
What combination of services in AWS should I use for a system with high availability?
We are building a serverless system. Right now what we are using is Cognito for user authentication, S3 for static storage, API gateway, Lambda function and Aurora Serverless for this system. This system is quite simple, it includes user…