First, some background: I'm developing a web application using Python. All of my (text) files are currently stored in UTF-8 with the BOM. This includes all my HTML templates and CSS files. These resources are stored as binary data (BOM and all) in my DB.
When I retrieve the templates from the DB, I decode them using template.decode('utf...
I have following rewrite rule to append .aspx extension if url has no extension.
<rule name="SimpleRewrite" stopProcessing="true">
<match url="^(.*(?<=/)([^/.]*))$" />
<action type="Rewrite" url="{R:1}.aspx" />
</rule>
However the rule is not working:
Error HTTP 500.52 - URL Rewrite Module Error.
The ex...
Users need to be able to add a specific type of column to an otherwise static table on my web page and then save the information they enter in there to the database.
I've been told that in reality they will almost never go over 5 columns but I would rather support N. The columns will all be of the same datatype.
My first thought was t...
I have a CGI application written in C. When I POST (delete data) to the cgi app from the html form, the action is correctly executed on the server but the page does not refresh after the POST. It does flicker, but displays the non-updated page. I then have to hit the browsers refresh to see the correct updated html page (showing data has...
Hi folks,
I'm thinking of adding a reputation system to a web application, the site is already being used so I'm trying to be careful about my choices.
I'm developing in Django/Python, thought this would be important.
Reputation is generated in all actions that contribute to the site, similar to Stackoverflow's system.
I know there a...
While looking into some web services, I ran across this "new" technology that Microsoft is calling OData. (http://www.odata.org) Reading through their description within the FAQ on what OData is, I am having a hard time distinguishing OData from REST-ful web services.
Could someone please help me understand the differences?
...
Why is it that when I use Firefox to enter: 漢, the GET will transform to:
q=%E6%BC%A2&start=0
However, when I use IE8 and I type the same chinese character, the GET is:
q=?&start=0
It turns it into a question mark.
...
What tools (apart from Visio) will generate visually pleasing website site maps or diagrams of a conceptual website?
We want to present nice diagrams to our client, but we're unsure about where to get startedwe're all coders, not designers.
Visio shapes or stencils are quite old. What tools are others in the industry using?
...
You may argue that this question has a legal flavor to it, and that would be correct. Still, it is also a question from a developer's perspective that may help others.
I'm building an image community web site/application. Users can upload images. During upload, users have to select the license (copyrighted, attribution non-commercial or...
Hi everyone
I want to add a pageview feature on my current web application. This page view is based on the count of user viewing the page. It must be unique, i.e. I must not view a person's page 10000 times and record it as 10000 views, just record 1 view instead.
My question is, should I base my pageview count on IP address? If not, w...
Last time I coded a web application was almost 10 years ago. I used Java/JSP/HTML/CSS etc. I've been coding non-web applications only ever since.
When I look at modern sites now (like this one), I realize how my web development skills are obsolete. Maybe the most obvious "feature" that I wouldn't know how to implement now is the update ...
So maybe this is a dumb question but do web pages look different based on the operating system you are running? I am developing a page on windows vista but when I view it from a windows XP machine it looks different, like the buttons, check boxes etc. When I view my page through VMware it looks almost primitive. I am using the same brows...
Hi,
In blend I would like to style the custom look of a combo box. When I choose "edit this template as a copy" I create an instance of the control so that I can edit it.
However, when I go to change the simple "base" state "style" I cannot. For example - I would navigate to the gradient section and choose to change the gradient. When...
Hello,
I've got a nice question here :)
I need to debug my web service written in PHP. Its client is written in C#.
After a couple of days of searching I realized this is not an easy task. At least it seems nobody knows the right solution.
What is the problem in, actually?
We have 2 popular PHP debugging libraries : PHP Debugger from N...
As part of a new job, I have to devise and implement a complete test strategy for the company's new product. So far, all I really know about it is that it is written in C++, uses an SQL database and has a web API which is used by a browser client written using GWT.
As far as I know, there isn't much of an existing strategy, except for u...
Hello, It happened that I need to pick up PHP based open source CMS. I did a small research and found many candidates. CMS made simple seems to be right choice, but I am not sure what's the current state, I know it was widely used time ago. I need it to be fully compliant with web standarts, lightweight (especially interface). It needs t...
I'm a web application developer looking for a book or something similar that can help with effectively communicating with clients who have a very vague or unrealistic idea of what they'd like out of the work I'm doing.
Some fictional, though not by much, examples of situations:
Clients who are not familiar with using the Internet, and...
Hi all,
I am using Jetty 6 to host multiple web applications for various domains. I am doing the exploded WAR route, so how would I configure that in Jetty? Would I still set the war path and then say extractWar = false?
http://jetty.codehaus.org/jetty/jetty-6/apidocs/org/mortbay/jetty/webapp/WebAppContext.html
<Configure class="org...
Hello,
I would like to make a image randomizer/slider that randomly displays an image from a designated gallery and has controls to view the next/previous image. I have seen this done where images must be coded into arrays, but I would like to be able to just drop images into a /img/gallery directory and have the randomizer/slider pull ...
I'm deploying a Wordpress blog, but I don't want to overwrite the current site yet.
public_html/. <-- the current site
public_html/wp/. <-- the new site
How must my .htaccess look like so I can seamlessly switch from the current site to the new one
so that http://domain.tld shows the new site like it would be directly in the public_ht...