web-development

GWT - adding external java classes to client project

Hello I have a GWT project. Client code is located in the "client" dir. I want to attach an external java classes (mainly plain POJO DTO classes) that are in external directory. How to configure the gwt.xml file? I get errors of this kind: [ERROR] Errors in 'file:/C:/development/projects/CodeSpaces/LocateMe/LocateMeWeb/src/com/dominol...

How to calculate overhead of a web request?

Suppose there is a fancy button to be put on a website. And the design of the button is such that parts of it can be sliced and applied as a repeating background. I often slice the images and apply them as a repeating backgrounds this way. So one button in an image is split into several different images. I do this to reduce the size of ...

Should I import and merge completely new rewritten version of project into existing SVN repository?

I've got a website that is stored in an SVN repository. I was asked to completely rewrite it from the ground up which I've done which is not yet under version control. Should I merge my new version into the website's existing repository? As it's a completely new version it has different files and directory structure than the existing s...

Controlling a background image position of the body

Hello, I was wondering if it's possible to affect the positioning of the body; I have a 500 x 500 pixel image I have positioned in the center of the page, set not to repeat. I was wondering if it's possible to skew the positioning somehow so that it appears 20 pixels down from the center, as I have a larger header that overlays the bac...

UTF-8: General? Bin? Unicode?

I'm trying to figure out what collation I should be using for various types of data. 100% of the content I will be storing is user-submitted. My understanding is that I should be using UTF-8 General CI (Case-Insensitive) instead of UTF-8 Binary. However, I can't find a clear a distinction between UTF-8 General CI and UTF-8 Unicode CI. ...

Appropriate character encoding / collation to store URLs?

My web application stores URL segments in a database. These URL segments are based on user-submitted content. What collation should I use for character strings that will appear in URLs? My assumption is ASCII General CI (?) based on this question: http://stackoverflow.com/questions/1547899/which-characters-make-a-url-invalid ...

Which Development Method use for a Website Development?

Which is a good Project Managment Method to Develop a Website? XP? The Waterfall Model? ...

.NET developer starting a social networking site, suggestions?

I am a relatively new programmer; a bachelors in CS, about 2 years out of college, working mostly with .NET in C#. I am fairly fluent with SQL interaction/scripting, and have done a little work with ASP.NET (mostly maintaining an existing site). I'm interested in starting a website in my free time, the closest thing I can describe to i...

Running a background process on an ecommerce website

Hi, I have programmed in C/C++, but I have no experience in web programming. Someone asked me to help them build a e-commerce website selling a service. I started looking into using PHP/MySQL for building the site. My question is: given that HTTP is stateless, how do we get some background process to trigger so that it may, for instanc...

Why sometimes, some images on my website aren't being loaded by a browser.

Hi, I'm developing a web app and during the tests I noticed that sometimes browsers don't load all images (like background or some decorative images) on the website. I need to hit the refresh button to to have it fully loaded. This usually happens when the website is visited for the first time. I suspect that maybe the development serve...

How to generate entity framework model from client side?

Can I generate entity framework model by clicking button in browser in client-side and save it back to web server PC? ...

Is it OK to do 302s for architecture in my web applciation?

For example, in my index(request): def index(request): if logged_in: return HttpResponseRedirect("/home_profile") else: return HttpResponseRedirect("/login") This way, when the user hits my home page...he is redirected appropriately. Is this a good architecture? Or will this cause caching problems, etc? ...

How is it done "Manage this list" on amazon ?

I'm specifically looking, how is the hover on done? and what did they use? JavaScript? Jquery, DHTML? and does anyone have example? Now, I'm new to web programming. (but not new to programming, I'm c++ and c# prg). I'm looking into getting web dev. for personal use. I saw this amazon feature and thought to myself that it would be nice to...

Pure CSS Dropdown Menu

Hello, I have been working on facebook application and you know on facebook native javascript is not allowed, they have their own implementation FBJS which is troublesome when it comes to creating stuff like menus. Is there any pure CSS dropdown solution without any involvement of javascript (javascript is used in all the solutions i h...

How can I write a route/view/controller for a web framework which acts as a dumb proxy?

That is to say, let's say I'm writing something that's hosted on foo.com. I'd like it to be possible for a user who goes to foo.com/bar.com to be served up bar.com from foo.com and to be able to interact with bar.com (e.g. navigate to foo.com/bar.com/baz via point-and-click). I understand that this is what a proxy is supposed to do. I...

Best open source irc chat applet

Do you know a good, easy to customize and open source java applet for irc chat? ...

Cookies vs Language Detection (Browser vs Location) vs None of both in multilingual websites

I have a dilemma with the following scenarios: Dilemma No.1 Cookies: Its good for users who access the website from his/her personal computer (no need to select preferred language again), but what happens if a language was fist selected in a public PC (e.g library) by someone, then it doesn't make too much sense because someone else w...

Mobile web development - how to?

Hello, I would like to start developing mobile-friendly versions of websites for my clients, however, I am baffled with options and google search wasn't very helpful - there is so many options and opinions, I've been reading for few days now and still have no idea how to start. What's your opinion/experience about/with it? My main po...

Using PNG images in web sites

Is it okay to use PNG images in a website? I haven't really seen them used much so was wondering what the drawbacks are. There must be some as surely everyone would be using them?... Are they, for example, MSIE and Chrome compliant etc... ...

Charging for corporate web sites

I am making a web ordering system for a small seafood distribution company. This is my first gig making a website professionally. I have no idea what to charge or what my work is worth. How do I figure out how much to charge these people? ...