Tagged Questions
0
votes
1answer
102 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
334 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
132 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 ...
3
votes
2answers
184 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
77 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
137 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) {
...
0
votes
3answers
178 views
What HTML attributes are mandatory or should be avoided? [closed]
I know that some attributes are mandatory for some HTML elements. For example, to write W3C compliant code, img element should have alt attribute.
In order to stay away from bad habits:
Are there ...
3
votes
3answers
180 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
512 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
231 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
421 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
387 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 ...
0
votes
1answer
94 views
Pending and Approval process
So let's say I have a DB table with 8 columns, one is a unique auto-incrementing used as ID. So I have a page that pulls in the info for each row based on query string ID. I want to give my users ...
1
vote
1answer
115 views
Should I provide fallbacks for HTML5/CSS3 elements in a web page at this point?
I'm wondering if I should bother providing a fallback for HTML5 tags and attributes and CSS3 styling at this point in time.
I know that there's probably still a lot of people out there who use older ...
3
votes
5answers
394 views
returning null vs returning zero, which would be better?
I inherited a project that I am managing and having to maintain pending the redevelopment of the code base. At the moment I am being tasked with adding little features all over the place and have ...
0
votes
2answers
179 views
Asynchronous Designing and Programming
Me and a friend are looking to team up for some freelance web designing. We both are very strong PHP coders and website designers, but I am better at design and he is better at PHP. So, I'll be ...
9
votes
5answers
811 views
How do companies keep websites hidden when in development?
I am new to this and also a new 19 year old PHP developer that just got hired so I am unsure as to how this works. Many companies when developing their websites keep their sites hidden from being ...
4
votes
3answers
282 views
What should I consider when deciding if I should use a web service backend instead of traditional MVC?
We're trying to decide what architecture to use for an upcoming web application that will eventually have a mobile portion as well. The core of the project is a social networking web application, and ...
1
vote
1answer
134 views
Older PHP v/s newer PHP version [closed]
My company is building a website with database. Programmer's used PHP 5.0. My Service Provider (shared) in the meantime upgraded to PHP 5.3.0.
Fixes have been on going and seem endless...
Do I move ...
1
vote
1answer
421 views
How frequent should the Token Updation in CSRF security be?
To start with the background, this post is what Jeff Atwood says about CSRF tokens. In this very page, he goes on to say:
An even stronger, albeit more complex, prevention method is to
leverage ...
1
vote
3answers
268 views
Most commonly forgotten thing to do when programming/web developing
Does anyone else have that one thing they always forget to do when programming or developing a website?
Personally mine is forgetting to include the Doctype in a website...the amount of time i have ...