web-applications

ASP.Net webapplication, keep in mind things for performance ,scalability

what are the things a developer should keep in mind or should take care when depeloping a web application. web application e.g. social networking web app. which are the things which must be implemented to get good performance and scalability. please provide any article or blogs or suggestions for this kind of question if you have -th...

javascript toolkit for offline webapps

hi all, we're building an survey webapp which will let the user to add new records to the survey when offline and will upload when the browser reconnects with the server. We've identified that this will need offline storage and hence google gears seems to be an obvious choice (we understand that adobe Flash has Offline Storage but not ...

How to create simple web site with python?

How to create simple web site with python? I mean really simple, f.ex, you see text "Hello World", and there are button "submit", which (onClick) will show ajax box "submit successful". I want to start develop some stuff with Python, and I don't know where to start ;) ...

How to test UTF-8 strings in Java

I have to test a web app and its API for UTF-8 strings. Webapp has a text field and its API has corresponding getter method, I have to make sure UTF-8 will work, how do I do that? ...

display list of items horizontally in Silverlight 4

I want to display a list of products horizontally in silverlight 4 page . The list of products will be obtained dynamically. Foreach product i show i need to dispaly the product image,name and its price. Please let me know if anyone had thougts on this. ...

Is it ever OK to throw a java.lang.Error?

I have a plugin module that goes into a web application. If the module does not load correctly, it does not make sense for the web application to go on, and the web application should probably not load at all, we would prefer this module to initialize correctly always. If I were to throw a runtime exception, it would get into the logs, a...

Choosing an application server for web application development

My manager has asked me to suggest an application server for web application development work. What are the factors that needs to be considered before we select any application server for web application development in Java J2EE development? If I select one now and IN future and I want to change to some other application server, is tha...

Passing data from a View to a controller in ASP.Net MVC

Hello, I have a dictionary I'm passing to a View. I want to be able to pass the values of that dictionary back to a Controller action from this same View. Is there anyway this can be accomplished without using a form? The situation is that I need to be able to pass these back to a controller action that is called when a user clicks an...

Do any web graphing or charting libraries have support for error bars?

I have been looking for a graphing library to use in an upcoming web application, but I have two requirements that have been tripping me up: Ability to save the graph as an image. Show error bars on the points of line charts as well as bar charts. I have found solutions to #1 by using flash charts or even the Google Chart API. Howeve...

Trying to build automatic audio-conferencing capability into a WebApp

Hey all, I'm working with a team of relatively novice programmers, and we are trying to create a site that will have audio-conferencing capabilities such that whenever someone visits the page, they will immediately have audio-conferencing capabilities with everyone else on the page (5 people max). Can anyone point us in a general direc...

How to implement a good system for login/out into a webapp

I am one of the developers at PassPad, a secure password generator and username storage system. We're still working on it, but I have a few questions on the best way to implement a secure login/out system. Right now, what we plan on doing is to have the login system save a cookie with the username and a session key, and that's all that ...

How long do you keep session cookies around for?

Hi, I'm implementing a web app, which uses sessions. I'm using GWT and app engine as my client/server, but I don't think they're doing anything really different than I would do with PHP and apache etc. When a user logs into my web app, I am using HttpSession to start a session for them. I get the session id like this: // From my login...

What is the most up-to-date way to write Java web applications and web-based front-end ?

What is the most up-to-date way to write Java web-based applications and front-end ? What is it? JSF, JSF2 or some framework like Spring MVC or Tapestry? What are pros and cons of each framework? ...

Is this a legitimate implementation of a 'remember me' function for my web app?

Hi, I'm trying to add a "remember me" feature to my web app to let a user stay logged in between browser restarts. I think I got the bulk of it. I'm using google app engine for the backend which lets me use java servlets. Here is some pseudo-code to demo: public class MyServlet { public void handleRequest() { if (getThreadL...

Understanding reflection

I recently started work at a new company and a .net web application we have is built using reflection. I have only been out of school for a year and haven't worked with this concept. After studying the code... it looks like there is a single backend interface of type object that has about 20 classes that inherit from it. lots of generi...

Using WCF authentication service for web application

I am using a WCF authentication service I set up with a web application. I have successfully set up and tested the AuthenticationService and RolesService. The web application can successfully call methods like ValidateUser and GetRolesForCurrentUser through the WCF services. I want to integrate the WCF authentication service with my web...

web applications tend to have a admin panel?

i wonder if large web applications like twitter and facebook have admin panels to handle CRUD for users, posts, images, themes and so on just like in CMS like drupal? so programmers have to code the front for the regular users AND back for the administrators? if i develop an web application is it recommended that i also code the admin ...

How to get the content of "Google Dictionary" by python script

Thank to the script, I've logged in google successfully. But I replaced the value of "gv_home_page_url" with http:// www.google.com.tw/dictionary/wordlist?hl=zh-TW, the error occured. The message is " urllib2.HTTPError: HTTP Error 500: Internal Server Error" Any idea will be appreciated, thanks. ...

How to decide on what hardware to deploy web application

Suppose you have a web application, no specific stack (Java/.NET/LAMP/Django/Rails, all good). How would you decide on which hardware to deploy it? What rules of thumb exist when determining how many machines you need? How would you formulate parameters such as concurrent users, simultaneous connections, daily hits and DB read/write ra...

Steps Requird in converting a web application to iPad

What steps are required to convert an existing web application to iPad. Any dev kit/SDK etc. ...