web-development

How much of the Web build process do you/should you automate?

And what is your system of choice? Off the top of my head I would say that for a real one step web 'build' the following steps would have take place: Take a source snapshot Change any config files for release Compress CSS and JS Run Tests Take a database snapshot [without test data] Move the source to the server Import a clean, curren...

How do you test layout design across multiple browsers/OSs?

What is a good method for testing website layout designs across multiple browsers and operating systems?...

The Definitive Guide To Website Authentication

Form Based Authentication For Websites Please help us create the definitive resource for this topic. We believe that stackoverflow should not just be a resource for very specific technical questions, but also for general guidelines on how to solve variations on common problems. "Form Based Authentication For Websites" should be a fine t...

In HTML, how to word-break on a dash?

give a relatively simple css: <div style="width:150px;"> 12333-2333-233-23339392-332332323 </div> How do I make it so that the string stays constrained to the width of 150, and simply wraps to a newline on the hyphen? ...

What is Progressive Enhancement?

Jeff mentioned the concept of 'Progressive Enhancement' when talking about using JQuery to write stackoverflow. After a quick Google, I found a couple of high-level discussions about it. Can anyone recommend a good place to start as a programmer. Specifically, I have been writing web apps in PHP and would like to use YUI to improve th...

How do you disable browser Autocomplete on web form field / input tag?

How do you disable Autocomplete in the major browsers for a specific input (or form field)? ...

What PHP framework would you choose for a new application and why?

Over the course of your web development experience, what PHP framework(s) have you worked with? What strengths and weaknesses have you observed in those frameworks? Considering these, what framework would you recommend if beginning a new application? ...

How to Test Web Code?

Does anyone have some good hints for writing test code for database-backend development where there is a heavy dependency on state? Specifically, I want to write tests for code that retrieve records from the database, but the answers will depend on the data in the database (which may change over time). Do people usually make a separate...

How can I detect if a browser is blocking an popup?

Occasionally, I've come across a webpage that tries to pop open a new window (for user input, or something important), but the popup blocker prevents this from happening. What methods can the calling window use to make sure the new window launched properly?...

Displaying ad content from Respose.WriteFile()/ Response.ContentType

How would one display any add content from a "dynamic" aspx page? Currently I am working on using the System.Web.HttpResponse "Page.Response" to write a file that is stored on a web server to a web request. This would allow people to hit a url to the type http://www.foo.com?Image=test.jpg and have the image display in their browser. So ...

Firebug won't display console feeds for some of my sites

Using Firebug v1.20b7 with Firefox v3.0.1 I use firebug a lot for web devlopment. I have very often the problem that Firebug won't show its web console for seeing the POSTs and GETs. I can view all the other tabs, including the NET tab that gives me a lot of the same information that the CONSOLE tab does. Curious if anyone else has had...

Javascript and PHP - Login Script with hidden buttons

I have been using PHP and Javascript for building my dads website. He wants to incorporate a login system into his website. I have the design for the login system using PHP, my problem is how do I show buttons if the person is logged in. For Example - You have Home, Products, About Us, and Contact. Well I want to have buttons for Dea...

Firebug for IE

Trying to fix JavaScript bugs is huge pain as is determining the styles applied to an element. Firebug makes these issues a lot easier when working on Firefox, but what do you do when the code works fine on Firefox but IE is complaining? ...

Planning and Building a mobile enabled site for your main site.

We are in the initial planning stages of building out a mobile site for one of our clients. This mobile site will be in addition to the main site that we have already built for them. We've determined that the content is going to be a small subsection of the main site and will target the main audience that is expected to use the site. ...

What do the getUTC* methods on the date object do?

What does it mean when you get or create a date in UTC format in JavaScript? ...

Convince Firefox to send an If-Modified-Since header over HTTPS

How can I convince Firefox (3.0.1, if it matters) to send an If-Modified-Since header in an HTTPS request? It sends the header if the request uses plain HTTP and my server dutifully honors it. But when I request the same resource from the same server using HTTPS instead (i.e., simply changing the http:// in the URL to https://) then Fi...

REALLY Simple Website--How Basic Can You Go?

Although I've done programming, I'm not a programmer. I've recently agreed to coordinate getting a Website up for a club. The resources are--me, who has done Web content maintenance (putting content into HTML and ColdFusion templates via a gatekeeper to the site itself; doing simple HTML and XML coding); a serious Web developer who does ...

Recommendations for browser add-on tools to help with development

Can anyone suggest some good browser add-on tools/extensions to help with development? I have firebug installed in Firefox which is great for dealing with CSS, HTML and javascript; any other suggestions? Firebug ...

When is a file just a file?

So, you're writing a web application and you have several areas of the site where the user can upload files. My basic working method for this is to store the actual file on the server, and have a database table that connects the stored filename to the record it relates to. My question is this: Should there be a different table for each ...

How to Manage Web Development?

My question is somewhat related to this question. What are good ways to set up a reasonably efficient environment for web development? I am using Subversion, and have two servers, a live one, and a dev site that is pretty much a mirror for the code. Up to now, I have been coding directly on the dev site, but I'm now thinking I should pu...