web-applications

Pros & Cons of PHP & .Net for e-learning application development.

Hello experts, I have to develop an elearning application. For which I wanted to know which platform is best. PHP or .Net. I would be integrating third party applications in my project. Someone pls guide me in right direction. Thanks. Kavitha ...

How much should I worry about scaling?

Hi, I am planning to start a new web application from scratch, but I wonder if I am not obsessing too much over scalability. Should I worry about this since the beginning or is it better to focus on the application itself first and scale later if I happen to be really successful? ...

A upgradable approach to design a web application system

Many poeple have online startups in their head that may potentially attracts millions, but most of the time you will only have minimal budget (time and resource) to start with so you want to have it delivered within a year's time. Short after launch, you are bound to perform one or a series of upgrades that may include: code refactor to ...

Post parameters are becoming null (at random)

Hi, My web application is developed with Struts2 and it was working fine till recently. All of a sudden one of the modules has started malfunctioning. The malfunctioning module is 'Update Student details' page. This page has a lot of fields like 'schoolName', 'degreeName', etc . School 1: <input name="schoolName"> School 2: <input ...

MySQL Databases. How Many for a Web App?

I'm building a web app. This app will use MySQL to store all the information associated with each user. However, it will also use MySQL to store sys admin type stuff like error logs, event logs, various temporary tokens, etc. This second set of information will probably be larger than the first set, and it's not as important. If I lo...

Google App Engine - How do I split code into multiple files? (webapp)

Hello, I have a question about splitting up a main.py file. right now, I have everything in my main.py. I have no other .py files. And I always have to scroll long lines of code before reaching the section I wish to edit. How do I split it up? (i'm going to have more than 20 pages, so that means the main.py will be HUGE if I don't spl...

get iphone ID in web app

i want to create a web-app for the iphone and i need to get the ID of the device (instead of username/password). can this be done? ...

PHP Login Redirects

This is maybe a stupid question, but I figured I'd ask before I did something goofy: I've got an web application with a custom Login dialog which takes a user/pass that gets sent to the server. If both match an entry in the database, then there is maybe 10 or so pages that the user gets access to (depending on the rights associated with ...

Offline mode in ASP.NET Web Application

I want to build a web application (SaaS) that can work both in Online and Offline modes. The user needs limited features in case he is offline and full feature access when he becomes online again. I thought of the following options: Make the user download a local server such as Cassini and devise an architecture to allow online and off...

How can I display a JFreeChart in web browser with Stripes Framework

This is the situation: My 'metrics.jsp' page submits a couple variables that are needed to create the chart. The 'ProjectActionBean.java' calls down to a few other java classes that create the JFreeChart. I can display the chart in a pop-up but I want it to be displayed in the original browser window. JFreeChart placeChart = ChartFacto...

Does Google Webapp framework for Google App Engine maintain a link to the database?

1) When a script gets data from the database using the db.Model.get_element_by_id("id") method, what id does it refer to, and how can you get it from the database. 2) If you get a result using this method, does that result maintain a link to the database so that any changes to the result are reflected on the database? If not, how would y...

Are there any other frameworks (besides Cappucino) for building a desktop-like app in browser?

I would like to build an app which would be very similar to http://gomockingbird.com (will draw the mockups). Are there any other frameworks, besides Cappucino, for that? I dislike Objective-J syntax and built-in Cappucino pseudo-mac interfaces. Any suggestions? ...

Why doesn't my Django site return a 404 when checked with this URL parser?

Here's a simple python function that checks if a given url is valid: from httplib import HTTP from urlparse import urlparse def checkURL(url): p = urlparse(url) h = HTTP(p[1]) h.putrequest('HEAD', p[2]) h.endheaders() if h.getreply()[0] == 200: return 1 else: return 0 This works for most sites, but wit...

PHP not working with Expression Web 3

I'm starting to try to learn PHP while using Expression Web 3. I set up PHP runtime and configured the ini. What happens is my script doesn't do as it should. My page looks like: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt; <html dir="ltr" xmlns="http://www...

how to limiting downloading file system via browser only through my web application

I need the best way to prevent any access to doc files when it is not my web application, for example, I need some files to be hidden from search engines or public users and only private users may reach and download them. I would like to save the files in the file system and not in the DB in order not to increase the DB usage. ...

Solution to the long running query problem in a web application (asynchronous request)

Here is the problem A user of an enterprise web application is performing a task that results in a long (very long) database query (or other long processing intensive task) Problems: Request timeout - after a while the user may get a request timeout Session timeout - if no session keeping methods are used, a session timeout can occur...

clustering and loadbalancing through J2EE

I want to develop clustering and load balancing by using j2EE,I want to use two Tomcats in back-end,If any request arrives to my application it should send request to the tomcats based on the load factor.I want to add fail over and session replication to my application. Please suggest.. The API for load balncing and clustering that i h...

.htaccess mod rewrite automatically using php or something?

I've got a number of users, each with the website page like http://www.mysite.com/folder/artist%5Fid.php?id=33 The users need to be able to set their own easy URL such as http://www.mysite.com/userguy that would redirect to the above page. I know how to write these out manually in .htaccess with RewriteRule but, for example, users have...

Can JavaScript be a viable alternative to flash and silverlight?

Take a look at http://www.chromeexperiments.com/ I think JavaScript is very close to have everything that RIAs can offer. What's missing from or for JavaScript to make it a viable RIA development alternative? ...

Which is the best TimeZone settings for php mysql site?

hi, i am running a site and i need to set the timezone. which is the most preferable time zone?? my server is in GoDaddy.com. So any one help me to set the time zone via php. ...