web-development

How to prevent JavaScript HTML blocking

How do I prevent JavaScript from blocking other JavaScript's from starting to download? I have the following on my web site: <html> <body> .... <script type="text/javascript" src="http://example.com/ex.js"&gt;&lt;/script&gt; <script type="text/javascript" src="http://google.com/google-maps.js"&gt;&lt;/script&gt; </body> </html> When ...

windows revision control software?

Possible Duplicates: Commercial version control Best Version Control System for IIS? Ok, I am looking for a good revision control system for windows that I can use locally while developing some web apps. Is there any particular standard application that everyone uses or is it pretty varied? ...

Web applications: Development to Production

Here is my company's current process for moving changes from our development server to our production server: Files that need updated are brought down from production, to ensure no changes were made in production only (no it shouldn't happen; but yes, it does happen). Old development files are given a ~ prefix as a sort of "backup". De...

issuing login information upon receipt of purchase

I am selling stuff from here: http://foundationletters.com/buy-master-mind-products/ One of the things on sale is a subscription to a specific website. As you can see, I have connected e-junkie to my authorize.net account. Let's say that I already have pre-generated accounts. In other words, I have logins and passwords that I am sel...

Hosting web site images: Flickr PRO, Amazon S3 or...?

Hi all, I'd like to save some of my site monthly bandwidth allocation and I'm wondering if I can use Flickr PRO or I should rely on Amazon S3 as an hosting service for my web site images. (My Web Application allows users to upload their own pictures and at the moment it's managing around 40GB of data) I've never used Amazon's services an...

What should a developer know before building an API for a community based website?

What things should a developer designing and implementing an API for a community based website know before starting the heavy coding? There are a bunch of APIs out there like Twitter API, Facebook API, Flickr API, etc which are all good examples. But how would you build your own API? What technologies would you use? I think it's a good ...

How to set up Django development environment without installing?

Hi, I'm a student and the lab staff has set up permissions that won't students install software on the machines (or to our profiles). I'm curious how I can develop Django application in a contained environment. I checked out the Django trunk to my Ubuntu home directory and added the bin path to my .bashrc. But when I try to use django-a...

Rules Of Thumb For Estimating Web App Hours

We all know that software estimation is difficult to get exact, but I am not looking for exact. I'm looking to be able to derive an approximate number of person-hours for a project to know how many people to hire in a startup. So, assuming you have: A web application built on the .NET platform (C#, ASP MVC, etc...) A defined number of...

Importance of valid markup for SEO?

I know this question has been asked several times. But the answers seem to vary: some say its important for search engines, others say the SEO improvement is negligible. Can anyone please explain to me if it is worth the time to validate html, from an SEO perspective? In other words, if a company with an existing site were to hire a...

A common way to make checking for nonexistence of a row and inserting it atomic?

I have a web-application. The flow of processing a form in it goes like this: Validate List errors or Insert/update the data In this particular scenario I'm developing a user registration process but I'm trying to find a common solution for all types of forms bases on checking availability of unique value in a database table. In thi...

howto run a cgi that is compiled as a linux binary on a linux web-host

All, My host supports Perl CGI scripts, how do I use a compiled CGI script on the host? I tried setting execute permissions via chmod, but when I try and run it via the browser, I get a server error. Thanks in advance for all help. ...

Login System design to allow each user to be logged in on one machine at a time

How should I design a login system so that each username can only be logged on in one place at a time? I want to keep users from giving their username to someone else to login so they can avoid paying for each user. If a user is already logged in and tries to log in on another machine should I block the 2nd login (which could be a prob...

How to digitally sign PDF documents in a web application?

I'm building a web application that most allow the user to digitally sign PDF documents with certificates installed in the client machine. The document, once signed, should be posted back to the server, where it will store the signed version. The server is running Classic ASP/ASP.NET Where should I go? ...

Can I make a non hosted HTML5 app with local storage?

I have a PHP/MySQL site I'm thinking about converting into a HTML5/JavaScript that could be run off of a users computer locally. I would like the user to be able to download my site, extract it and use it without a network connection. A static mirror of this site would hundreds of megabytes while the actual data is under 10 megabytes. Is...

Does file extensions matter for browsers?

Does it matter if i name my pictures "test.jpg" or just "test" for the viewers? <img src="test.jpg" /> <img src="test" /> Both works in all browsers i know but is there any point in using the right file extension? ...

Help, "this" is confusing me in JavaScript

Working with the JavaScript one of the confusing thing is when using this var x = { ele : 'test', init : function(){ alert(this.ele); } } However when dealing with multiple object and especially events context of this changes and becomes confusing to keep track/understand. So if anybody has better inputs/guidelines/thoug...

Are there any libraries or components that handle storage and fast retrieval of user-generated content?

Considering the case of having a large and active user base where each user wants to store a profile picture and some additional images or other artifacts, are there any libraries or frameworks that allow for easy storage and query of such data? A reference implementation would be Facebook's Haystack Photo Infrastructure. The following...

Cookies lifetime and turning off PC

When a PC is turned off, are all of the cookies destroyed or kept? In particular, this is with an ASP.NET/Sharepoint app. Thanks ...

Background Images around flexible Content?

Hi there, im trying to get some background images around a content div. Thing is, the content div should have a flexible width (no problem). The background pics should always be left and right attached to the content div. BUT: the horizontal scrollbar should only be triggered, when the user reduces the window to the width of the content ...

question regarding assigning tags to classes in html

Hi All, Say I have a class name person with foll style in css- .person { font: 10px Arial black; } now if i want to assign as h1 tag to this class so for any instance of h1 tag in class person i want the some styles to be processed i tried .person h1 { color: red; } but its not working. Iam bit confused with the syntax ...