web-development

What linux distro is better suited for Python web development?

Which linux distro is better suited for Python web development? Background: I currently develop on Windows and it's fine, but I am looking to move my core Python development to Linux. I'm sure most any distro will work fine, but does anyone have any reasons to believe one distro is better than another? ...

Web scraping etiquette

I'm considering writing a simple web scraping application to extract information from a website that does not seem to specifically prohibit this. I've checked for other alternatives (eg RSS, web service) to get this information, but there are none available at this stage. Despite this I've also developed/maintained a few websites mys...

Pass user data between web applications on different servers.

We have two different web applications with different servers, stacks, etc. Let’s call one the Host at host.example.com, and the other the Client at client.example.com. We want our users to log in to Host, and pass their credentials and some other information (real name, email address, DOB, etc) to Client. What is the best way of doing ...

Finding RSS Feed

How can I find if a given page has RSS Feed available as browsers (FF) show RSS icon in address bar if the page has an RSS feed? ...

what are common username and password policy

Edit Jan 18th 2010, Is there any symbol that should NOT be allowed to use in a password? ========================================= Hi, I am wondering what 'common' policy out there for username/password for creating a new account on a website. This is currently what I have: ===========For username ================== Length between...

Local web storing of files using HTML5

Hi, I was fascinated by Google Gears and its potential use in online game development, particularly massive online game development. One could take the game resources and store them locally using ResourceStore, thus reducing game load time, server bandwidth issues, etc. I have therefore welcomed the news that HTML5 supports offline stor...

Frameworks for developing a web UI on Linux (preferably with Java)

Hello I'm asking this question because I'm having some difficulty choosing a framework (or selection of technologies) that I can learn and use for developing a web-based UI for a small Java application: For background information relating to the app I'm developing please read this question: So, developing the Java application is going...

REST api versioning (only version the representation, not the resource itself)

I had a look at http://stackoverflow.com/questions/389169/best-practices-for-api-versioning, but am not quite convinced of the answer, so I am question the versioning part again with a more specific example. I am having two URIs (one with versioning as part of the URI and one without): http://xxxx/v1/user/123 -> favored solution in ...

What are some important feeds to subscribe to for web developers?

What are some of the feeds you subscribe too? I already have a feed aggregate with 20+ feeds on it, but I find myself still feeling out of the loop and am looking for more on anything that relates to web development (back and front -end). ...

Combining deflate and minify - am i creating overhead?

I minify my css and js files on the fly with google.codes minify. I have also set my .htaccess to use deflate on all my css and js files - the reason beeing some js files (like shadowbox and tinymce) reference to other js files in the code. So i'm compressing with apache deflate and also minify compresses some js and css files with gzip ...

How do I click on a specific button using cucumber/webrat when the name of the button starts with the same word?

I have the following html with multiple inputs: <input type="submit" value="Save and close" name="commit"/> <input type="submit" value="Save" name="commit"/> and would like to use cucumber to test clicking on the "Save" button. However, when I do this in a cucumber test: When I press "Save" it clicks on the "Save and close" button,...

Website asks to restart the browser. Why?

I got this message when I tried to log off from a site: You are Successfully logged Out of blah blah.It is recommended that you close your browser when finishedto avoid unauthorized reentry. Whey do they want us to restart the browser?I know it has got to do with session/cookie.What potential threat will not restarting cause?Is there...

temporarily removing and later reinserting a DOM element?

Hello, Is there some jquery magic that will let me do the following: [0- define some element in HTML (eg, a unchecked checkbox)] 1- update its DOM element by setting one of its attributes using .attr() (eg, by setting its "checked" attribute using .attr('checked', true) ) 2- temporarily remove that element from the DOM 3- reinsert t...

Javascript code causes ActiveX warning

I have the following JavaScript code on my page: window.onload = function() { var best_photos = new Array ( "photo_1.jpg", "photo_2.jpg", //array of filenames goes here ) var k = Math.floor (Math.random() * best_photos.length); var image = document.createElement("img"); image.setAttribute("src", best_photos...

Is it possible to modify Request.ReferrerUrl using a URL argument?

I'm trying to get around an issue for a customer that have a site developed by a previous developer. The following is the line of code causing the issue: args.AddParam("REFERER","",Request.UrlReferrer.ToString()); Therefore if you navigate directly to this page using the URL, it returns a null exception error. I know that to fix thi...

office web-developer vs freelance web-developer

I would like to get some ideas what changes when shifting from a freelance Web Developer to a company's Web Developer (vise versa). This would be a wiki and would just like to hear your opinion and experiences. Thanks! ...

Should a web app developer know photoshop?

I have been doing wep application development for some time now. One thing I overlooked was learning Photoshop. For basic web sites or for frontend development, the lack of this skill has slowed me down. Little things matter, and look and feel can be greatly enhanced with some graphics work. How important is for a web developer to ha...

Web-based Java IDE

Are there any good web-based Java IDEs out there? I would like to keep the environment as standard as possible to avoid IDE installation problems on each developers computer. Related: Is there any online IDE for Java? ...

Is there any good reason why I should care about if parameters have been passed via GET or POST?

In the design process of my framework, I come to a point where I think about merging POST and GET parameters into one single $parameters variable. The advantage for the developer: The framework filters all parameter values to secure agains XSS-attacks (i.e. funny kids inserting bad javascript code to redirect visitors to a spam site) an...

Large http uploads failing with uploadify/php on Dreamhost

Ive been having trouble with a php and JavaScript upload script accepting large file uploads with Dreamhost. I realize that you are supposed to edit php.ini to change post max size and the memory limit, but it isn't behaving as it should. The only way I have ever successfully had a large file upload was switching to Dreamhost PS and mak...