web-development

simple way to store parameters in php cms

I am working on a cms and there are some simple parameters like number of posts per page, default color and style sheet, that are customizable by the user trough an UI. So what is the best way to store this settings in simple and secure way? Help is very appreciated. ...

How to practice TDD on a web app?

I am a newcomer to TDD. What are some of the techniques you guys use on applying TDD to the development of a webapp? I am looking for advice for a newcomer. Practical examples or "war stories" would be appreciated. :) Bonus: What is some of the software you use for TDD (ideally for a LAMP stack). ...

<head profile="http://gmpg.org/xfn/11"> what is this ?

Hi all I got this code from the wordpress <head profile="http://gmpg.org/xfn/11"&gt; What does this means? what is the use of this code.? :-) ...

programming language to build a an online chatting service

what is the best suited programming language and technologies to make an online chatting service that scales up to support 50.000 users at the same time such us the band width usage stays at minimum (web server friendly). I have considered using php or python, are they good choices ? ...

With Repository pattern, what is the most effective way of updating records?

I am implementing Repository Pattern with ADO.NET entity framework. I see that updating records is relatively more complicated than just adding or removing from the database. See below the Update statement and add statement for your judgment. I was wondering if there is any way that I can update the record without having to retreive...

How are Massively Multiplayer Online RPGs built?

How are Massively Multiplayer Online RPG games built? What server infrastructure are they built on? especially with so many clients connected and communicating in real time. Do they manage with scripts that execute on page requests? or installed services that run in the background and manage communication with connected clients? Do the...

Which PHP framework is most similar to Ruby on Rails?

I've been working a lot with Ruby on Rails in the past several months, and am loving it. Recently however, I've come into some work that requires PHP, and would like to retain a lot of the nice baked in features that Rails provides, such as: Restful Routes Easy Model Validation Good Application Layout Helpers and Observers Are there...

Is there any live demo/sample applications for SproutCore or Cappuccino

Didn't find any from their website. I mostly just trying to see which one is worth going with(RIA of course). thanks ...

What RFC's which are recommended for a webdeveloper?

What RFC's which are recommended for a webdeveloper? ...

Error while deploying

I am getting the following error while deploying the web application Server Error in '/FormRelease' Application. -------------------------------------------------------------------------------- Runtime Error Description: An application error occurred on the server. The current custom error settings for this application prevent the de...

Website missing after copying to wwwroot folder

I am trying to deploy a website; i have copy pasted the code into the webapps\wwwroot folder by creating a folder Then when taking inetmgr ; i am cannot see any of the folder in the folder structure to right click and create a applciation Please help me ...

How to know the IIS server ip for my website access

I have deployed a website in my server, how i know which what my server IP is ? if i know my server ip , i could access my website from outside ...

How can you access a MySQL database from the web without using a servlet or PHP?

I'm currently using a hosting service that offers users access to MySQL databases, but does not offer a Tomcat server or any other way to perform server side processing. So a three tier design is out. Being a novice in Java and Javascript I was planning on using them on this project to gain more experience. I know nothing about PHP, wh...

IE8 on XP: looks great! IE8 on Vista: looks terrible

I've got a site that I developed targeting mainly IE 8 (and IE 7 to some degree), but not IE6. I spent development testing in a Windows XP VM with IE8, but now that development is very far along I've noticed that it looks about like IE6 would render it when viewed with IE8 on Vista. I thought it was because on Vista, IE8 may default to I...

detect multiple accounts

I'd like to know what methods usually web applications employ in order to detect multiple accounts, supposing that the application wants its users to create a single account . ...

What kind of performance gain will I get from ditching Apache for NGINX?

What kind of performance gain will I get from ditching Apache for NGINX if I have a very low traffic web site (e.g. 1000 unique visitors a day, approx 5 requests/sec at highest load, and approx 50 MB of traffic per day since lots of photos are being displayed). Specifically, what gains (if any) would I have for: Loading speed of the w...

What Post-Secondary Courses do I need to be a Web Developer?

I'm going to be finishing up High School this year and moving onto either University or College. However, after looking at some course lists, I'm perplexed - what types of courses (or which category [such as computing science]) do I need to start looking at in terms of enrollment? My goal is to ultimately have a career developing websit...

What pattern could help to keep track of Session["objectName"] within a Web App ASP.NET MVC?

I want to keep track of User Sessions within my MVC webapp. I know I am doing something wrong because the flow of the programming seems kind of chaotic. Any suggestions? At this point I am trying to verify Session every time I hit a different controller. private void VerifiedUserSession() { int? userID = (int?)Session...

What to ask/do when attending a conference full of our target users

We are building a web based solution right now and it is almost ready to roll out, but I felt we have not really verified our initial hypothesis about the problem domain we are trying to solve. So I decided to attend a conference where most attendees are our target users. What I want to get out from the conference are 1) verify if our...

How much time do you spend in JavaScript development ? And what do you do to reduce it ?

Hi, I would like to know how much time (in percent) does JavaScript development takes at your work. I work with complex rich-internet applications and i spend most of my time in JavaScript development. And you: how much time do you you spend in JavaScript development and what do you do to reduce it ? regards, ...