web-development

Helper class to wrap the Session for MVC.NET Web development?

In this post the author recommends implementing a Wrapper for the session to ease testing and decoupling the controller code. I will like to obtain ideas on how to implement a good wrapper for this purpose. I see that in CodeProject there is one sample but it looks way more than what I need. EDIT 1: Ok. Thanks to Joshua I have imp...

Lighthttpd - best way to update system network config file from web application

Hi All, I have a Gumstix (runs linux) that im using for a project and would like to be able to configure the ethernet / wifi configuration through a web page running on the built in web server. Think of how routers and the such work - you can log into a default web address and configure everything from there - thats what I want to be a...

Upload/Download large files in a web app

Hi, I have a web app and I want to offer the possibility of upload and download big files (more than 2 gigas) Is it possible? Does exist some open Source project that can help me? Thank you very much ...

How can I improve my prospects for getting my first development job?

I'm having a hard time trying to get my first developer job. I am self taught in PHP and Objective-C/Cocoa. I know that I am more than capable to do basic PHP development work, but I seem unable to convince people of my ability. Employment agencies only look at my CV, and are un-impressed due to the lack of paid experience. Most employme...

Which one of the java spring books to start?

I am currently dealing with java spring framework and i have two good books to start but i dont know which one to go first? I have beginner knowladge about spring by the way. Spring in Action Spring Recipies ...

Sending multiple forms at once with Ajax

This is a technical design question more then a syntax question. I have a large page with 9 forms corresponding to different tables. I've wrestled with the design and I there's no way out I have to send all the forms via ajax to the server for processing. There are lots of interrelations. I can't combine the forms into one large one eit...

Form Problem in ONLY IE6 and IE7

For some reason the form inputs are pushing off the left margin.. I have no clue why! Below is the link.. http://mimedx.com/mg/contactus.php I have no clue why this is happening. Probably Microsoft being Microsoft and having some random rule that conflicts with standards.. CSS: #content form { overflow: hidden; width: 550px; } #co...

Change link destination based on whether user has mac or PC

Hi Is it possible to change the destination of a link based on whether the user has a mac or a PC using javascript? To give an example: The Apple website allows download of Quicktime but it "knows" whether you are using a mac or a pc and directs you to the relevant page. Background/Reason for doing this: I have built a website for som...

security testing tools

is there any tools that can help you testing you web apps for security problems ? (i am using php & mysql for develepement) ...

Webapplication - location selection from geo database

Hello, I'm currently modelling the user profile of my current project (in Rails btw). The user should be able to set the country, state and city he lives in. Instead of doing this through simple input fields I'd like to have some - kind of - nested selection boxes. I think of it like this: first select your continent. Then a list with ...

what is the best way to multiply arrays in php?

Hello lets say I have two arrays <?PHP $arr1 = array("a","b","c"); $arr2 = array("1","2","3"); function multiply_arrays($arr1,$arr2){ //what is the best way to do that in terms of speed and memory return $arr3; } ?> what is the best way to multiply them? the result should ...

Should the IFrame be dead by now?

I was talking with a colleague about a problem we were having and he suggested that one possible solution was to use an IFrame. I haven't needed to use an IFrame for he last 5 years and I've done full time web application development, but it made me wonder if the concept of the IFrame and Framesets is something that is supported by brow...

How to value in-house functionality versus outsourced web API functionality.

Hi, I'm weighing up building a light-weight email marketing system into our existing platform I've developed. The other solution is to use an already existing tool (e.g campaign monitor / mailchip) and connect it into my platform as much as the api allows. The connection will be a little more cumbersome for the user, there will be diff...

Architectures for a Java web application

What are the different architectures for developing professional and organized Java Web Applications? I have heard about MVC architecture, what architecture else does, for example, Stackoverflow, google, orkut, etc.. use for a scalable, robust and easily-maintainable-from-the-developers-point-of-view, exist! ...

JQuery wait for page to finish loading before starting the slideshow?

I have a site with a rotating header image (you've all seen them). I want to do the following: Load the entire page plus the first header image Start the header image slideshow transitioning every x seconds or when the next image has finished loading, whichever is later I haven't really need an example that truly does this. ...

Best place to get PHP generic code examples

Aside from the PEAR repository, which I find often has quite messy code with a lot of it using old or deprecated methods and techniques, I was wondering if there was a great place to find simple (and not so simple) PHP examples of some generic functions and good pieces that people have written. A good example would be the PEAR spreadsh...

VirtualPathProvider Not working in asp .net website project

Here is the scenario : 1) Created on Web Application project for reusable user controls 2) Created Main application where i want to load these controls dynamically (definitely from assembly) The above scenario worked wonderfully well, as i have selected web application project for main application but now i want to use same reusable ...

Playing audio files in web page?

I trying to write web application that recieves audio files from database and play them.Do you know any open source flash audio player for that?And i am also thinking implementing in java do you suggest java or another programming language for that? ...

Absolute beginning in programming

I have worked for the last 10 years in Networking & Web Development and always had an interest in programming. When I was in School I started in Basic, (To date myself) the other languages at that time were Cobol & Fortran, Where should I start in 2009? is C+ or C++ a good place? Is it better to Start Java or .net? I'm in need of some di...

How to encode a video using PHP?

I'm interested in installing ffmpeg or somesuch on my server so I can upload files, automatically encode them to FLV and then serve up a embedded player to use on my pages. The problem is that I don't know where to start. I don't want to have to spend days coding a web based encoding service, as I'm more interested in using an out of th...