web-development

In Spring MVC, can I have a stateful dropdown with a backing object?

In Spring MVC, I want to have a form with an html drop down which is backed by a list of domain objects, but only displays one field from the objects. When the form is submitted, I want to be able to retrieve the entire object. Can I do this? ...

FileSystemWatcher

m using FileSystemWatcher, i want to get the size of a file present in my folder. whereas i can find the size of whole folder but not of a file inside that folder. m using fileinfo.lenght to get the size of the file, for this fileinfo.exists property should be true but it is false i dont knw y? even if file already exists. m using Files...

How can I develop a database for users to access via a browser

Years ago (pre-web) I used to be a Fortran developer (yes it was a very long time ago!) but these days I run a small non-IT business. I would like to develop a database application for my clients to access via a browser (or maybe down the line via a mobile phone). I haven't done any programming for a while apart from some VB macros in Mi...

What are the advantages and disadvantages of using caching in an asp.net application?

What are the advantages and disadvantages of using caching in an asp.net application? ...

Code compatibility with browsers

How to check whether my code is compatible with all browsers or not? ...

How to change window title from a frame in javascript?

I hosted my web app on a freehoster service which shows my webpage in a frameset. 2 frames are there. In the top narrow frame there are their ad and the bottom frame is mine. I can set the title in the admin panel but it always remains the same regardless what is in my title tag. Setting document.title in javascript not works. But if I b...

scrollable fixed div

Hi there, I have a menu in a div on the side of the browser and I would like to keep it in the fixed position. However, the menu may exceed height of some screens and that would result inaccessible links. So I would like to make the menu scrollable in such a case. Unfortunately the combination position: fixed; overflow: auto; (or scroll...

Easily incorporate blog feed into site

I built a site for a client not too long ago and built it fairly standard. Now she has a Wordpress blog and would like an area on the main site to have links to the most recent blog posts. Is there an easy way for me to pull a list of the most recent posts into this content area without having to chop the page up into a Wordpress templ...

Is it a good idea for a web developer to know a general-purpose language?

My focus is on html,PHP,mysql, javascript, css, ajax because that's what many websites need. I am still new to the web developing scene(only 5months) so I am busy learning all those topics. My question is whether or not to add a general purpose language, such as Python or Java, to the list. I only played a little with Python so I don't...

What tool can analyze my site and report on unused / unneeded CSS?

how can i find in a early way that this css class is being used or not in website ? like- style property that i write in my css is being used or not? and class or id is being used in webpage? exe: .textstyle4{ font:normal 12px Arial, Helvetica, sans-serif ; color:#777; } i want to know in my whole website where this css s...

Web application and hardware interaction.

First off, let me apologize if this has been asked already, but I can’t seem to locate a solid answer. Is there any web application language or related process that will allow a web app to interact with the local PC hardware? I am trying to see if there is a way to have a web page interface with a local scanner device to capture, write ...

Single session in two different domains

Hi Guys, I am proposing a design for my company in integrating 4 systems together and putting it into web. All the 4 systems are independent of each other but I am trying to integrate to have more automation. One of the system is as follows : I want to link my companies website (www.xyz.com) to another website (www.abc.com) with same lo...

Create great web apps with little to no manual HTML? Open to suggestions

I'm a veteran of C and very new to web design altogether. I've found myself more excited about it recently so I've been researching the technology. I'm open to using just about anything, but as I look around I see the "View" component of MVC type technologies basically being written by hand as layouts of data. I want to avoid having t...

Should I use PHP or Ajax for dynamically loading content into a social website profile?

Getting some data from a MySQL database and loading it into the page. None of the stuff really needs to be retrieved at any point other than page load, so that advantage of Ajax is moot. Is there any other advantage to Ajax? ...

How does a (full featured) long polling server work abstractly

Since you're using an event loop as opposed to threads, how does the actual server look? I know it uses an event loop, but how do you separate out the requests? And how do you prevent your server from running extremely slowly (since it, I assume, can only push one thing at a time since it's threadless?) Some sort of pseudo-code would b...

Version control for my web server

I'm building a Web2Py-based web application and am doing most of my development right on a remote EC2 development server. I would like to version control the entire system, including all python modules, web pages, and Apache config files. The files are obviously scattered across my Linux box, but I would like to be able to checkout/com...

IndexDB, WebSQL in 4 Months

Hi All, I've got a bit of a problem, I'm about to start a 4-6 month project which will need offline support. AppCache is awesome and accepted as the standard but the big browsers are still undecided about the database implementation with Opera, Safari and Chrome opting for WebSQL (SQLite) and Mozilla and supposedly IE backing IndexDB. ...

What on earth is ReverseHTTP and why would it be useful?

reversehttp.net offers little immediate insight into what reversehttp truly is and how this can be best utilized, it makes it seem that this tool is too difficult to realistically implement. In what sorts of environments might this be the ideal real-time web data situation and when would this not work, What browsers support this method, ...

Good resources to start python for web development?

I'm really interested in learning Python for web development. Can anyone point me in the right direction? I've been looking at stuff on Google, but haven't really found anything that shows proper documentation and how to get started. Any recommended frameworks? Tutorials? I've been doing PHP for 5 years now, so I just want to try someth...

Problem downloading a 25MB file - the 8MB file downloads without problem (ASP.NET)

I have two files at the same location but the big one, when is about to finish download, gives an error (both in IE and Firefox). I use the following code: public static void DownloadZipFile (string filename, bool notifyMe) { HttpContext context = HttpContext.Current; HttpServerUtility server = context.Server; bool ok = fa...