web-applications

Not able to find "Use Custom Web Server"

I just installed Windows 7 on my development machine, along with Visual Studio 2008. Everything works fine, except for one thing - I have lost my "Use Custom Web Server" setting! What am I missing? :| Action shot: http://i28.tinypic.com/5l2re1.png ...

Is it possible for separate IIS/SharePoint web applications to share the same host name but different relative paths?

When setting up a SharePoint farm, is it technically possible to use the following URL structure? http://myfarm/webapp1 http://myfarm/webapp2 http://myfarm/webapp3 etc. where each URL points to a different web application on the same farm/server. ...

How does Facebook do it?

Have you ever noticed how facebook says “3 friends and 33 others liked this”? I was wondering what the best approach to do this is. I don’t think going through the friends list, and the list of users who “liked this” and comparing them is efficient at all! Do they keep a track of this in the database? That will make the database size ver...

web framework compatible with python 3.1 and py-postgresql

I have started learning Python by writing a small application using Python 3.1 and py-postgresql. Now I want to turn it into a web application. But it seems that most frameworks such as web-py, django, zope are still based on Python 2.x. Unfortunately py-postgresql is incompatible with Python 2.x. Do I have to rewrite all my classes an...

How to use the Hibernate optimistic locking version property on the front end?

Optimistic locking using the version attribute for an entity works fine and is easy to implement: <version property="VERSION" type="int" column="EX_VERSION" /> The entity has a property of the following type: private int VERSION; public int getVERSION() { return VERSION; } public void setVERSION(int VERSION) { this.VERSION = VERSION;...

Long polling issue with high traffic website

Say I have script, that does long polling on server to check if user has any new mesages. Server side would be something like this while counter < 5 if something_changed push_changes_to_client break else counter++ sleep 5 Which checks database 5 times and every time if there is no change, it wai...

NameSpace/Ajax problem with WebApplication

I had an ajax enabled website project, which I converted to an web application. However now my ajax pages do not see the webservices anymore, because the webservice changed from SomeService to MyNameSpace.SomeService. Now if I remove the namespace from my project properties, then the project doesn't compile properly anymore, because VS i...

Placing a web application on all continents. What is the best way?

Suppose I have to put x.com CMS app to Japan, Mexico, US, Australia, and to London. They all access a central MySQL database over IP. Is there something before the load balance or is it just you receive the IP on your code, geo-locate it and redirect to page to appropriate domain? Is there a way to have x.com to point to different IP'...

Sending Email with C# Web App

Hi, I have a C# Web App (Using ASP.NET 2.0) and I want to use it to send email. I have researched about this online, but I've only gotten more confused. I have learned some basics, but it isn't getting me anywhere. Here's what I have so far: MailMessage message = new MailMessage(txtFrom.Text, txtTo.Text, txtSubject.Text, txtBo...

How do I know if I need to use a Markdown library?

I've been finding that a lot of Github projects use Markdown. I originally thought this library was only needed on sites like StackOverflow that include the ability for users to add comments or posts that might include source code snippets. But some apps seem to use Markdown even when this is not the case. Markdown is a lightweight ...

Web Based Documentation Generator / Editor

Hello all. I'm looking for a good documentation generator that supports various programming languages, but PHP is a must. The thing is, I'm looking for it to do a very specific thing, which is essentially build the standard automatic documentation such as function definitions, class structures, etc, but then allow me to edit them as I ...

WCF service behind login-enabled web app

The setup: ASP.Net website with login required before accessing any directory of the website ` <authorization> <deny users="?"/> <allow users="*"/> </authorization> ` the website is also a host for WCF service which is used by external applications to bypass the firewall (service isn't used by the website at all) externa...

What's an example of when you use a Proc or Lambda in a Ruby web application?

I'm having a hard time imagining a practical use for Procs and Lambdas in a web app. Does anyone have an example of a situation in your code where they come in handy? ...

Information required - PHP application distribution based on user signup

Take for instance Yahoo Mail or Twitter. When someone signs up to use their service, they'll need to automatically deploy a new database, application folder and so on - I assume! I am planning to write an PHP application to let people add and edit invoices. Good examples would be Zoho Invoice, http://www.getballpark.com/, etc. They sure...

Develop desktop applications view with HTML, as a web application

Hello I am used to develop web applications in Java (Struts, Spring, JSP...). But now I want to develop a desktop one. I never liked to design windows in Java (AWT, Swing, SWT): too much work for an ugly interface. So I think it could be a good idea if could take advantage of my web-app skills. One option is to modify the SWT Browser an...

Should an intranet web application utilize a CDN

With the Announcement of the Microsoft AJAX CDN a debate arouse this morning about whether utilizing a public CDN for common libraries was a good idea for intranet applications. I can see both sides of the argument but without revealing too much of our discussion I wanted to put forth the topic on Stack Overflow to see other's opinions. ...

how to insert MSN Maps into my application

Hi friends, I want to insert MSN maps into my Asp.net application but I can't find sufficient stuff on this when I googled. "How to link MSN maps" link in this page is no more working. "http://www.mapblast.com/%28iniifwbwxwg54arnwwog3waq%29/DirectionsFind.aspx" can someone suggest any solution to insert only MSN maps. Thanks. ...

Can a deployed JBoss web application simply disappear?

A strange problem occurred yesterday on a production system which has been running fine for weeks on a JBoss 4.2.3 application server: the JAR file containing the web application was no longer in the deployment folder (so the clients could no longer access the application). The server is running on a Windows box. There was no indication...

when a web applicattion generates excel and image files dinamically

Hi there In my web-application I have some forms and based to those forms, users will generate some excel and chart files(.xls and .png). Each use has to generate at least 2 excel files and 5 png files. The problem is that when is about to generate those files it takes 2 seconds for a excels file and 1 second for a chart. I'm using t...

iphone webapp, server side view template selection

I'm going to develop a mobile version of my webapp. Most documentation I've read suggests one of the following approaches: create a separate domain (m.example.com) using conditional css style sheets, but serve the same html I'd like to take a completely different approach. I'm using MVC, and would decide which template to render on t...