web-development

What to do after starting simple_server?

For some quick background, I'm an XHTML/CSS guy with some basic PHP knowledge. I'm trying to dip my feet into the Python pool, and so far understand how to start simple_server and access a simple Hello World return in the same .py file. This is the extent of what I understand though, heh. How do I integrate the simple_server and your ba...

How do I wait until the user has finished writing down in a text input to call a function?

Hi, I'm designing a web site and I would like to be able to call a function 1 second after the last user input. I tried using onKeyUp, but it waited 1 second after the first keystroke. Does anyone know how would this be possible? ...

Skipping DNS and using IP adress in web dev as opposed to URLs.

How much time would be saved in skipping the request for the IP of a domain name? Would it be noticeable. Before anyone gets to excited i know there could be problems with using an IP as opposed to a URL in web dev like if you have multiple servers, but im just curious. ...

Server-Side Web Framework to use for an Embedded Device

What server-side web language/framework do you recommend for use on an embedded device? The device is similar to a linksys wireless router. Ideally I am looking for a framework that is fast, efficient, and will run well on a device with limited resources (CPU, Memory, etc). Some initial considerations are PHP, Django, or even mod_perl....

Type to use to set Attributes in an ASP.NET Control?

Hi, I am trying to add an attribute to a web page control. TextBox txt=new TextBox(); txt.Attributes["Foo"]="Bar" I need to put this in a method, but my problems is that I do not know what kind of element I will be sending to it - maybe an input maybe a select. In essence I need this method below, but what is oControl? In VB I use...

Should I Use a Framework While Learning Web Development

I realize that this may be subjective but I truly need an answer to this and I can't seem to find anything close enough to it in the rest of the Forum. I have read some folks say that the framework (any MVC framework) can obscure too many things while others say that it can promote good practices. I realize that frameworks are great fo...

Geolocation assisted ATM monitoring

hi there, we would like to write a web based application to monitor the ATM machines in the bank to have the following functionality: Display location of each terminal Display general status of the terminal in color coding or simple icon (ATM up/Down/needs attention, low cash, etc.) Have a facility to drill down on the status of the...

Spring MVC form input value is always null

Hi all, I'm new to Spring MVC, but not new to web development in Java. I'm attempting to create a simple form->controller example. I have a form, a form controller (configured in a context XML pasted below) and my model (a simple bean). When I submit the form the value of my text input is always null, regardless. Any ideas? Form cont...

How to show different view sections in an object oriented way

I'm developing a website in ASP.NET MVC where I would like to show different sections of a view for users with different security levels. In essence, the views are the same, but users with higher levels of security must be able to see sections that shouldn't be seen by users with security levels above of, for example, administrators. I ...

When to use Servlet versus JSP Pages in Tomcat?

We have been debating between using servlets or JSP pages and we want to know what the common uses of one versus the other. If you read any online guide that you can point us out, will be very grateful. ...

ASP.NET MVC Rich Text Editor

Goal The goal of this wiki entry is to create a comprehensive list of available rich text editors for err... traditional websites. By traditional we mean anything that isn't asp.net with server controls and viewstate. Open source and commercial options are both viable for discussion. Why This Wiki I have found bits and pieces of use...

Redirect with a 303 after POST to avoid "Webpage has expired": Will it work if there are more bytes than a GET request can handle?

I want to workaround the "Webpage has expired" issue. First, I just changed a POST to a GET, but that resulted in an error that my HTTP request exceeded the maximum size for a GET. So, now I'm thinking to try the technique described in the link below (post, 303, redirect), but will I still have the same size limitation problem? http...

Django official tutorial for the absolute beginner, absolutely failed!

Not that level of failure indeed. I just completed the 4 part tutorial from djangoproject.com, my administration app works fine and my entry point url (/polls/) works well, with the exception that I get this http response: No polls are available. Even if the database has one registry. Entering with the admin app, the entry shows up th...

django-like frameworks?

Hi I've been working with django for some months and find it really helpful, is there alike frameworks for other programming languages such as java or c#? The problem I suffer by using django is finding a server to host the proyect because supporting servers are more expensive and harder to find. From django I find useful: the object-re...

Using Ajax, is it better to generate aditional markup in the server or the client side?

Which is better in AJAX request, Response with ready HTML or response with just data and write HTML using JavaScript, and this JavaScript will use a predefined HTML template to put the coming data inside and show on the page. Creating the HTML on the server and send to the page, will decrease the client side JS code, but will increase t...

ajax requests when navigating in browser

Hi. I have a web page which perform several ajax request and is modified, all ajax request are cached on the page. Then user clicks some link and performs the synchronous request to another page. Then user clicks "back" button of the browser. All data which was previously loaded via ajax is lost. Is it possible to restore the page state ...

Web Deployment

Hi, We had an asp.net 1.1 application that we recently migrated to 3.5. We are facing some problems when we do code modification on the migrated application. Here is what is happening In the asp.net 1.1 application we have the page directive codebehind="ePC.aspx.cs". This migrated fine. We made some code changes to the .cs file. Say fo...

What are the best sites to download decent free sample/demo websites in vb.net, asp.net, c#

I want to have a look at the code in sample/demo websites to improve my knowledge. it would be great to see a function of a website and then be able to see how the code makes it happen. I am not so concerned with the css or html more the vb.net or c#. Are there any good sites that have a selection of different types of websites that can...

How to make a website run faster?

Hi I'm into my first 3 months of web development and I have been dabbling with some server side scripting in the form of ColdFusion, along with some Javascript, JQuery and CSS. I have read about CSS optimization and would like to know what are the other pertinent factors contributing to the better performance of a website. What all fac...

Functional javascript and web browser javascript versions

I've recently been looking at functional programming with Javascript, to which I'm a noob. While writing some 'map', 'reduce' and 'find' functions I discover that as of JS version 1.5 these functions are already available (see https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Array) I am however confused a...