Tagged Questions
21
votes
8answers
2k views
MVC Architecture — How many Controllers do I need?
I have been coding for a while, but mostly scripts and simple applications. I've moved into a new role where it is all about developing Web Apps and using a proper MVC architecture, so I am ...
4
votes
2answers
520 views
How to structure a modern web application
Background
I recently developed, for two different projects, two web applications.
The two followed quite different approaches. The first one was a classic inventory application (lists of stuff to ...
-1
votes
2answers
238 views
How web programmers works? [closed]
Two years ago, I wanted to become a Web programmer. Although my English is weak, I could learn the basics of programming languages such as HTML, PHP, JavaScript. But I don't know how to create any ...
51
votes
10answers
5k views
Over thinking development
I've been working as an app developer for a year and a half now (not long I know), and I've just been given my first big project.
Needless to say it didn't go very smoothly, so I sought advice from a ...
0
votes
1answer
181 views
How to begin with web development in PHP [duplicate]
As I am the New Learner in the PHP Web Development and I want to become a good web developer who can at least make a good and dynamic web site quickly.
Currently I have learnt the following things:
...
1
vote
3answers
352 views
Which HTTP status codes are really OK?
I am writing an application to report to the user(devs) when their website fails. And what I mean by fails which is unfunctional or needs to report the problem to devs. I do understand that status ...
4
votes
3answers
269 views
Why should we use externalized property files for an application?
I am currently working on a rails project and have a requirement where I want to be able to map a country name's initial letters to its ISD code. eg: IND => 91, USA => 1, etc.
The broader question ...
4
votes
2answers
278 views
POST/Redirect/GET with invalid form submission?
In the field of web development, is it good practice to do a POST/Redirect/GET when fields in a form submission are invalid, as well?
Typically, no sensitive transaction would have taken place, in ...
2
votes
1answer
104 views
serving static or dynamic web-content based on user group
I need help understanding a problem I have, and that others surely have had as well.
I'm working on a web-application that allows users to interface with a database. The application in general has ...
0
votes
2answers
155 views
Custom error handling
I'm trying to figure out the best way to handle custom errors in my application.
Option 1:
if(expr) {
} else {
$_SESSION['error'] = "Some message describing the error";
}
Option 2:
if(expr) {
...
3
votes
3answers
222 views
Sites with overlapping code-bases. Developing multiple sites with little changes
I have to develop 3 different sites
video.com for hosting video
audio.com for hosting audio
docs.com for hosting docs.
domain names for example only
Almost 80% of the functionality is the same ...
1
vote
5answers
562 views
“Opportunity” to take over maintenance of a small internal website. What should I do?
I have been offered an "opportunity" to take over maintenance of a small internal website run by my group that provides information about schedules and photos of events the groups done.
My manager ...
0
votes
4answers
248 views
Best Practices when extending a project
I have to extend a web application for a customer, there is no documentation of the current app, no analysis and even worse, there is no technical support or management. The client gives me a list of ...
5
votes
4answers
698 views
What is a good starting point for small scale PHP development and would a framework be overkill?
I'm a web development intern working on a small PHP application (just a few pages with a little database access) which has fast become a couple of very non-DRY, non-OO, individual scripts.
A ...
1
vote
3answers
421 views
Next step after creating mock-up screens
I have created some mockup screens for my app in HTML/CSS. I have 4 screens in total.
They contain no client-side coding i.e. Javascript or jQuery.
The screens themselves are quite bland at the ...