web-applications

Web Pages That Just Do Too Much Stuff

Concerning pages that build a web application: Lately, I have found myself creating web pages that are simpler than the ones I used to. Before, I would try to jam as much functionality into a single page as I could to prevent from having lots of pages. I am starting to realize that this was just making things way more complex, convolut...

Does .live() binding work for jQuery in IE7?

Hi everyone, I have a piece of javascript which is supposed to latch onto a form which gets introduced via XHR. It looks something like: $(document).ready(function() { $('#myform').live('submit', function() { $(foo).appendTo('#myform'); $(this).ajaxSubmit(function() { alert("HelloWorld"); }); return f...

Any open source examples of offline-online synchronization?

Are there any open source applications that demonstrate good techniques of online-offline synchronization of databases, something like Remember The Milk does with their iPhone app, Google Gears offline mode, etc.? ...

Objects of session and request

In struts, where does the session object created & which class or method creates it? Likewise where does the request object created & which class or method invokes it? Thanks in advance ...

Recommended data structure/format for web MVC applications?

What's a good data structure for use in MVC web applications to use to pass data into view to ensure standardization and keep the view as non-coder friendly as possible? ...

Transparent google gears scenario validation

I want to use google gears, not for functionality but for optimization. I.e. if gears is detected in the browser side, then we will silently use it to do some optimizations and caching in the client side. If it isn't installed we silently work against the server only. Somewhere in the FAQ or help pages of our website we will tell the u...

How to Queue Users in a Web Application?

I have a robot that is contolled with a local UI via a 9 pin serial connection and I would like to make it controllable via a web page, but only one user should be able to interact with it at any time. I'm still thinking about how to use WCF communications between the web server and the local PC, and might ask about that at a later time...

How to remove pre-defined characters from user input in a J2EE web application?

we have a J2EE web application usig Spring MVC. We have a new requirement for our web application where we have to remove certain pre-defined characters from the user input. For example, let's say that the application should remove '<' from all the user inputs. I have come up with 2 approaches to meet this requirement : JSP Level : ide...

How can I profile a very large Java webapp?

I have a very large Java app. It runs on Tomcat and is your typical Spring/Hibernate webapp. It is also an extremely large Java program. It's easy for me to test the performance of database queries, since I can run those separately, but I have no idea to look for Java bottlenecks on a stack like this. I tried Eclipse's TPTP profiler,...

Creating an entire web application using django admin

I was thinking that django admin is an utility to provide trusted administrators of the site, full access to the site's data model. However, after going through django admin in detail, I understand that it is very powerful set of views and templates that one can use to create an entire application. How often do you create an entire app...

Lightweight PHP library alternative to common MVC frameworks

Hi hi, I'm looking for a easy to learn php library to use for my coming web app project. I've recently finished a web app with fully handwritten raw php code and it's absolutely hard to be done again for another project. even though I have the recent project code snippets to be used again, but due to their non-structural arrangement (not...

MySQL AND Filemaker Pro?

Hi All, I have a client that wants to use Filemaker for a few things in their office, and may have me building a web app. The last time I used, or thought about, or even heard of, Filemaker was about 10 years ago, and I seem to remember that I don't want to use it as the back end of a sophisticated web app, so I am thinking to try to s...

How to interpret this Rails error?

Hi does anyone know what this means? I only get this error when I app is deployed on a server and using PostgresQL. When I'm running locally and testing on SQLite, it is fine. I have a features_simulations join table, I think it is related to it somehow. Processing AdminController#confirmed (for 211.30.107.155 at 2009-03-25 09:06:21) [G...

doing an action when the page exits

Hi, I have an ASP.NET(2.0 C#) Web application, and I wanted to know how to do an action once the user moves to another page or leaves the application. Is there a method like page_load is for when the user enters the page, except this one is for exiting the page? Thanks ...

Data-centric web application design book/article recommendations

I am designing a web application that deals with lots of data. I find it difficult to present this data in a usable, intuitive way. The data has to be sortable/searchable, and the relationships between the data should be obvious (records can have "child items"). Are there any books that specifically deal with this? I am not looking for ...

How can Hulu.com keep track of your position in a tv show?

I'm watching a tv show on Hulu.com (which is btw, the absolute best streaming-video site around) and whether I close my browser, disconnect from the internet, and even if I restart my computer in the middle of watching a show, the next time I go to their site, I can resume the tv from exactly the time where I left off in the show. My qu...

What performance testing methodology are you using for your webapps?

I would like to performance test a typical web application. The application offers some web2.0 functionalities, like writing blogs, wikis, search for contents and something like this. I've analysed the access log and got know an unterstanding what the users are doing really frequently. The gap in my brain is how to proceed? I thoght abo...

How do I share common web resources between web applications in Visual Studio?

I have three web application projects that share a common library of custom server controls. Sharing the code behind files is easy - they are compiled into a dll that i reference in the other projects using a project reference. But how do I handle files like JavaScript, style sheets and images? I am trying to do this "the Visual Studio w...

What does WEB-INF stand for in a Java web application?

Most of the places on the internet say it stands for WEB INFormation. I rather doubt it. The folder contains executables. Information is not a suitable name for it. ...

Application_Start not being hit in ASP.NET web app

I'm trying to debug something in the global.asax.cs file in an ASP.NET web app and have set a breakpoint in the Application_Start() event however that event is not getting fired when I start the web app inside VS2008. I'm targeting the 3.5 framework. What could prevent this event from being fired? Or how could I have messed up the proje...