web-applications

Seeking Example Delphi Prism ASP.Net Application using SQL Server

Hi I'm an ASP.NET virgin and want to try creating an ASP.Net Application using SQL Server at the back end. I can't locate a single example application or code for doing this. Anyone have any pointers? TIA ...

Java or Python or Ruby for Web Application?

If I were to implement a web application from scratch today, which app stack should I go for? Three main candidates are java, python and Ruby on Rails (RoR). There is also .NET, but its biased towards M$. Pro-java: 1) Stacks of thick books 2) Largest developer community 3) Typed languages, which prevents subtle bugs 4) Augmented with ...

Escaping Special Characters Posted to Servlet

I have a jsp containing a form which posts to a servlet, when the servlet receives the parameters from the form the pound sign (£) is preceded with the following character Â. So £ becomes £. What is causing this and how can I get round it? ...

Deploying a webapp remotely to Tomcat using Ant on OSX

I wish to use the Tomcat install/deploy tasks from catalina-ant.jar to deploy a webapp to a remote app server. After installing Ant using the instructions found here, my ant folder is configured as: /usr/local/ant My "Ant Home" has also been set to that directory through Eclipse. I copied catalina-ant.jar to my ant/lib folder. My b...

Moduler php application development

Hi, We are a small team of developers planing to develop a php application. (let's say a CRM system) Our one main gold is to make it plugin enable application where developers at clients place can write plugings add new features to the system, with out changing the application core. this changes may including, 1) add new features: mor...

Unit Testing and Web Apps - Resources

In a J2EE web application, how do people manage resources so that they are visible to both the web context and to unit/integration tests? I find that often you end up having your source/resource folders configured a certain way during development (i.e., what Maven expects) and so your unit tests will run in your IDE. But once the web ap...

How do I push an update to a war file to clients?

Assuming my clients are running my J2EE WAR application on their intranet, and I have an update for them... how do I push the updated war file to them? I'd like it to be automatic and require no human interaction on the client's side. Can this be done? Any help would be appreciated. ...

Programming Multi-Language PHP applications

Hello, I'm developing a PHP application and I'm wondering about the best way to include multi-language support for users in other countries. I'm proficient with PHP but have never developed anything with support for other languages. I was thinking of putting the language into a PHP file with constants, example: en.php could contain: ...

What's the best way to "embed" a page number in a URL?

I'm developing a blog application using Django. Currently, the URL /blog/ displays the front page of the blog (the first five posts). Visitors can then browse or "page through" the blog entries. This portion is mapped to /blog/browse/{page}/, where page, of course, is an integer that specifies which "page" of blog entries should be displ...

Set .ashx as start "page" for web application

Is it possible to set an .ashx file as the starting (or default) page for a web application? If so, how is it done? Edit - Some good suggestions. I have added "Default.ashx" to the IIS Default Documents and "Enabled Default Document" on the website, however, it only displays a directory listing even though I have disabled directory br...

Best practices for ASP.NET web application localization

I'm developing a web application that will need to be localized to English and Portuguese (and possible more languages later). I'm aware that the .NET Framework offers full support for UI localization, however, I'm not so sure what's the best approach to implement it. What do you consider the best practices for a web application localiz...

How do you approach release management for a web app (SaaS)?

What is the best approach to releasing a new version of a hosted web app, and how often do you typically release? Do you pick an arbitrary date, say every week, month, etc. to rollout an accumulated set of fixes (perhaps using an approach similar to Joel's approach to ship dates)? Waiting much longer than that seems to defeat part of the...

Best practice against password-list-attacks with webapplications

Hello, i'd like to prevent bots from hacking weak password-protected accounts. (e.g. this happend to ebay and other big sites) So i'll set a (mem-) cached value with the ip, amount of tries and timestamp of last try (memcache-fall-out). But what about bots trying to open any account with just one password. For example, the bot tries a...

How do you deploy and manage a C# web application to a customer with some minor differences from your base project?

I have a semi-large web application that we run locally and I need to deploy it at another location. The second location will require some slight modifications to the project (especially cosmetic). How do you manage these differences and what do you use to distribute the site and updates to a customer like this? Edit: Right now our web ...

Keep the user amused with long running task (WEB)

What are the best ways to keep the user busy/amused when he's waiting for a long running task to complete? Thoughts: Show random tips or help messages Progressbar (but if it's a long running task this isn't very handy because it doesn't change very frequently) Or does anyone have some examples of how other people solve this problem...

How do you implement UI for the non computer savvy ??

I have been support a web app that is used by a user base who's age range if from 40-65. The app is very good and has the latest ajaxy stuff etc. What we would now call very user friendly and responsive. I am amazed as to how this app is not so userfriendly for that user base. I was told that some autocomplete features make them disorien...

Why Even Recycle an Application Pool?

Maybe someone can shed some light on this simple question: I have a .NET web application that has been thoroughly vetted. It loads a cache per appdomain (process) whenever one starts and can not fully reply to requests until it completes this cache loading. I have been examining the settings on my application pools and have started won...

Simple bandwidth / latency test to estimate a users experience.

I write web based applications. Performance is obviously a key factor. Whilst database load and page rendering time are things I have control of, the users internet connection is not. What I'm looking for is a way to indicate what sort of a connection a user has. Something along the lines of a traffic light in the corner of a website th...

How do I remove "cgi-bin" from my URLs?

I'm creating a small application on an embedded device that has a boa web server running on it. I'm creating a web application in a mixture of plain HTML pages and Perl scripts to interface with the main application. Is there a way to hide the fact that some of the pages are being served out of the cgi-bin on the device? What I have n...

Can TeX code be safely executed from untrusted sources?

MediaWiki allows one to embed TeX math code that is rendered into images and posted into the Wiki pages. Is this safe? If one allows untrusted users to input TeX programs to be executed by an interpreter running in a web server, does it open the server up to being hacked by using the TeX interpreter to read files from the server's disk...