web-development

Change Entity framework database schema at runtime

In most asp.net applications you can change the database store by modifing the connectionstring at runtime. i.e I can change from using a test database to a production database by simply changing the value of the "database" field in the connectionstring I'm trying to change the schema (but not necessarily the database itself) with en...

Is there an advantage to using WCF to facilitate AJAX calls ?

I am currently reading through a proposal, where this person is proposing to use WCF services to facilitate AJAX calls in a web application. They say that WCF can serialize data more efficiently. I personally have never considered going this approach. I have always liked calling MVC controllers using jQuery's AJAX functionality, and th...

Browser support of multipart responses

Hi, I would like to create a HTTP response, using multipart/mixed, but I'm not sure which browsers support it; and if it's as convenient as it sounds, from the client's point of view. To be honest, I do not need specifically that content type. I just want to transmit more than one file in the same response; maybe there's another content-...

Best way to indicate "draggability" in a web app (or in general)?

Are there any visual cues that you know of that indicate an item's "draggability"? The obvious ones: "<marque>Click here to drag!</marque>" that icon thing and (which I plan to implement) the closed-hand-cursor-onmouseover <-- not this exact one Thanks for you help! Edit: Thank you all for your help. I definitely am in favor of...

Is the concept of a link inseparable from its html markup?

I'm looking for a strategy for managing links within articles. The body of the article is saved in a database and pulled during page assembly. What all should be saved in the database to easily define and manage links? Some purists believe that markup should NEVER be stored in the database. Some believe its ok in moderation. But to m...

Changing the homepage from default.aspx to abc.aspx

i have designed my homepage of my webpage as abc.aspx not default.aspx . How can set the abc.aspx as homepage? ...

Do you commit a complete web-directory to SVN or you do some exceptions (large binaries)?

Particularly I mean videos. I have fair bit of videos on my website and as I do submit all graphics with the sources, I have serious doubts about committing videos and archives (sizes between 10MB and 300MB). Does it make any sense at all to do this? ...

GenericErrorPage.htm missing

What is this page for? I have an entry in the configuration file... do this cause any harm? <customErrors mode="off" defaultRedirect="GenericErrorPage.htm"> <error statusCode="403" redirect="NoAccess.htm" /> <error statusCode="404" redirect="FileNotFound.htm" /> </customErrors> Is the below error fro...

Contents of GenericErrorPage.htm?

Could any post what the contents of GenericErrorPage.htm? ...

measuring performance - using real clicks vs "ab" command

I have a web site in closed beta, developed in Django, runs with Mysql on Debian. In the last few days, the main page has been showing a slowdown. For every ten clicks, one or two receives extremely slow response (10 secs or more), others are as fast as they used to be. When I was searching for the problem, I ran into this issue that ...

Recommendations to handle development and deployment of php web apps using shared project code

I am wondering what the best way (for a lone developer) is to develop a project that depends on code of other projects deploy the resulting project to the server I am planning to put my code in svn, and have shared code as a separate project. There are problems with svn:externals which I cannot fully estimate. I've read subversi...

Scriptmanager not supporting for .net 2.0

I am deploying a website which is developed in 3.5 framework.Server only support 2.0. hence i recompliles the same project by changing the target framework. But there is a scriptmanger in my website. which is not supporting 2.0 framework... is there any work around for this? ...

How to exclude added to Array methods from processing in "for..in" loop? (javascript)

Hi. I've added some useful helpers to Array (such as toSource() for Opera). And now for..in returns the functions with normal properties. I'm using for..in now, because the code is easier to read with it. And it's a native functional of js, so must be faster. But adding type checks in loop makes it easier to use classic for(;;). Is t...

Difference between Url Encode and HTML encode

What’s the difference between an URL Encode and a HTML Encode? ...

Speedup a php web site

What's the best way (ways?) to speed up a php web site and how much faster it can using this or that way? ...

internationalization of php website

Hi, I am currently working on a project / website and I will need to make it available in several languages. The site was done with PHP / mysql and a lot of javascript (jQuery). I have no idea where to start and I was hoping somebody could give me some hints. I would like to know opinions about what is the best approach to take, if ther...

Recommended CMS...?

I'm about to start work on my first e-commerce website and have been doing some research on different methods and systems available to help. It's been recommended to me that I use a CMS and I have been researching the options. I've been reviewing different websites in search of 'the best one' but would really like some recommendations f...

Selecting specific values in a DB (sorta...)

Ok, I had a hard time coming up with a title, as you can probably tell. Anyway, I need to select 5 items from a DB excluding the first one. More specifically, I have items in a DB, each with a specific, auto-incrementing ID. I need to select the first 5 after the item with the highest ID. What would be the best way to do this? Thanks! -...

SEO Optimization Error, improper crawling or improper indexing

hi, i have a blog build in wordpress, And my domain name is like example.com (i can't give you the original name, because some times the editors will mark this question as SPAM :( , and if any one really want to check directly from my site will add at the end of the question.) http://example.com and the blog name is http://example.com/...

Captcha reloading and animated icon synchronization problem

Dear web developers, I want to create a captcha in my website. I will try to describe how I want to do that. See the code below please: <img src=”captcha_img.png”> <img src=”reload.png”> <a href=”..”>Reload Captcha Image</> What I want to do is, to click on “Reload Captcha Image” link and with JavaScript change the content of the f...