web-development

Source Control for Web Development

I am working on a web project, and need to get it into source control. I have looked at svn, git, and a few others, and I will admit that I don't understand at all. The bigger issue is that these seem to keep code in a sort of database and not a real file structure. When we develop we usually do it by making edits and then saving them to...

What function does a tag cloud serve?

I see them all the time and always ignore them. Can someone explain to me why they have become so prevalent? If I'm using a site that allows me to explore it via tags (e.g., this one, del.icio.us, etc.) that's what I will do. Why would I need a "cloud" of tags upon which to click? I can just type that tag(s) into a search box. What a...

What is the benefit of using ONLY OpenID authentication on a site?

From my experience with OpenID, I see a number of significant downsides: Adds a Single Point of Failure to the site It is not a failure that can be fixed by the site even if detected. If the OpenID provider is down for three days, what recourse does the site have to allow its users to login and access the information they own? Takes a...

Development directory Structure

Heyall, I am wondering what directory structure are commonly used in development projects. I mean with the idea of facilitating builds, deploys release, and etc. I recently used a Maven structure for a java project, but I am not sure it's the best structure for a non-maven driven project. So, I have two questions: When you guys start...

Preventing the loss of keystrokes between pages in a web application

My current project is to write a web application that is an equivalent of an existing desktop application. In the desktop app at certain points in the workflow the user might click on a button and then be shown a form to fill in. Even if it takes a little time for the app to display the form, expert users know what the form will be a...

Are liquid layouts still relevant?

Now that most of the major browsers support full page zoom (at present, the only notable exception being Google Chrome), are liquid or elastic layouts no longer needed? Is the relative pain of building liquid/elastic layouts worth the effort? Are there any situations where a liquid layout would still be of benefit? Is full page zoom the ...

Should you design websites that require JavaScript in this day & age?

It's fall of 2008, and I still hear developers say that you should not design a site that requires JavaScript. I understand that you should develop sites that degrade gracefully when JS is not present/on. But at what point do you not include funcitonality that can only be powered by JS? I guess the question comes down to demographic...

innerHTML manipulation in JavaScript

I am developing a web page code, which fetches dynamically the content from the server and then places this content to container nodes using something like container.innerHTML = content; Sometimes I have to overwrite some previous content in this node. This works fine, until it happens that previous content occupied more vertical spac...

How can I use a traditional HTML id attribute with an ASP.net runat='server' tag?

I am refactoring some CSS on a website I have been working on, and noticed the absence of traditional HTML IDs in the code. There is heavy use of CssClass='', or sometimes just class='', but I can't seem to find a way to say id='' and not have it swapped out by the server. Here is an example: <span id='position_title' runat='server'>Ma...

What is a webmaster?

I would like to know what defines a "webmaster"? What are or should be the skills, function and general responsibilities of a webmaster. And, if you are a webmaster, what do you do, what do you know and what helps you most (knowledge or tool) to do your job. Thanks! ...

When is a CDATA section necessary within a script tag?

Are CDATA tags ever necessary in script tags and if so when? In other words, when and where is this: <script type="text/javascript"> //<![CDATA[ ...code... //]]> </script> preferable to this: <script type="text/javascript"> ...code... </script> ...

Serving dynamically generated ZIP archives in Django

How to serve users a dynamically generated ZIP archive in Django? I'm making a site, where users can choose any combination of available books and download them as ZIP archive. I'm worried that generating such archives for each request would slow my server down to a crawl. I have also heard that Django doesn't currently have a good solu...

What is the single most useful general purpose javascript library for rich internet apps?

See title... ...

What level of complexity requires a framework?

At what level of complexity is it mandatory to switch to an existing framework for web development? What measurement of complexity is practical for web development? Code length? Feature list? Database Size? ...

What are the best books (maximum 3) on Microsoft 'Visual Web Developer 2008 (Express)'?

What are the best books (maximum 3) on Microsoft 'Visual Web Developer 2008 (Express)'? ...

What is the best way to use Ext JS as part of Java / Spring / Hibernate based web application?

We want to try Ext JS on new project. Is there any well-known best practice for integrating Ext JS with server side Java (Spring/Hibernate/JS) application? Is DWR a good choice for that? ...

What should a developer know before building a public web site?

What things should a programmer implementing the technical details of a web site address before making the site public? If Jeff Atwood can forget about HttpOnly cookies, sitemaps, and cross-site request forgeries all in the same site, what important thing could I be forgetting as well? I'm thinking about this from a web developer's per...

Why isn't there a viable mod_ruby for Apache yet?

As popular as Ruby and Rails are, it seems like this problem would already be solved. JRuby and mod_rails are all fine and dandy, but why isn't there an Apache mod for just straight Ruby? ...

What are the key components of web accessibility?

I understand that some countries have laws regarding website accessibility. In general, what are the minimum requirements that a website must meet to be accessible, regardless of country? Or, in lieu of minimum requirements, what are some specific things that websites should have to make the accessible? ...

Using Spry inside Java Server Faces framework

I'm trying to insert a Spry accordion into an already existing JSF page using Dreamweaver. Is this possible? I've already tried several things, and only the labels show up. ...