web-development

What wysiwyg editor to recommend to a non-coder making a website?

I have a friend who now has a domain name, and he wants to put some content up. I know that hand-coding is reccomended, but I'm unable to do the site and they can't and won't learn html. Looking around this site it seems that wysiwyg editors are deviations from the "pure path" of html, but I'm just looking for something to give a buddy a...

What is a good tool to create a Website Architecture?

We use Balsamiq Mockup to create our website wireframes. After we have that approved we switch to visio to create site architecture. Is there any other tools to record architecture and be able to post functionality later in the process. I was looking into the following SO question, but we are looking for a tool that will allow us to s...

HTML 5 websockets free ebook

Any body know where I could get an ebook of HTML 5 Websocket and HTML 5 Tutorials? Since I have not been able to find any. Thanks in advance! ...

Showing possible property values in custom webcontrol

I have a custom control that print the current date into the page. The control has a Format property for setting witch DateTime property to be printed. (Date, Day, Year etc...) <TSC:DateTimeWriter runat="server" Format="Year" /> But what i want is when i type : Format=" I want to show a list of all the possible values(Using Vis...

Building string base for Django application

I am building an application in django, that is already using a lot of hardcoded strings. They are mostly in templates, but some also in js files and a few can be found inside the code. Now every time some string needs to be changed people comes to us and we have to waste our time finding it and changing. How could I start with cleaning ...

What is the best text editor for web development?

Hello, I've been using dreamweaver since I started learning basics in html like a year ago, and now I would like to change to a free alternative, since I don't need the WYSIWYG and other dreamweaver functions anymore. However, I have tried Notepad++ and first it seemed great, but it sometimes crashes after not being able to connect to f...

What are the arguments against using a CSS Framework?

Yesterday I asked a question here that got more momentum that what I thought it would. Here is the question link since it is related. I am interested now in the possibility of that using two frameworks together will be worst than using a JS framework and CSS from scratch or the other way around. The question is clear, if you think ...

calling a javascript function from activex

Hi all, I am building a small activex control. I understood that activex cannot call a javascript funtion directly, but needs to work through events. Therefore I've created an event, copied from a code sample from codeproject. The event seems to work only on certain circumstances: It works when a call is made to a javascript function w...

Best method of passing/return values

Hello one and all, The reason I am asking this question is because I have landed my first real (yes, a paid office job - no more volunteering!) Web Development job about two months ago. I have a couple of associates in computer information systems (web development and programming). But as many of you know, what you learn in college and ...

Can a Flash application alter the HTML of the page it's on?

Suppose I have a flash application; let's say a chess game. The user is playing against a computer opponent. After every move, I want the flash application to add the move's "description" into the HTML of the page. Does flash have this ability? Are there any common round-about ways of doing this? Maybe the flash app updates a databas...

How is duplicate HTML represented in your codebase, in a non-duplicate way?

Most HTML in a large website is duplicated across pages (the header, footer, navigation menus, etc.). How do you design your code so that all this duplicate HTML is not actually duplicated in your code? For example, if I want to change my navigation links from a <ul> to a <ol>, I'd like to make that change in just one file. Here's how I...

Wicket: how to use the BodyTagAttributeModifier class?

i'm trying to dynamically add the class attribute to the body tag, and i came across this class. but i can't seem to understand how to use this class. i have something like this in my page class (or panel class, as i tried with that too): add(new BodyTagAttributeModifier("class", "homepage", this)); this doesn't even compile, saying t...

How would you code this: Web Page Advertisements

I'm a person that learns best from example. Currently, I'm diving into the field of Web Development after fifteen years of developing desktop apps. I'm still getting used to all the web technologies used for developing modern web sites and everywhere I look, I see diffrent aspects of web development and have no idea how they're implement...

download page/folder privacy with .htaccess?

I have a private folder on my domain like http://example.com/protected and i stored lot of images and pdf file there /protected/pad1.pdf /protected/pad2.pdf /protected/pad1.png /protected/pad1.png supose these are the files, how can i hide or protect access to there files with the help of .htaccess file. allow only users those...

lines of a class in Java

I have a class in Java which is written bellow.I want to know does that has normal size or it is big and huge and should be broken into some pieces: import java.io.File; import java.io.IOException; import java.util.ArrayList; import java.util.List; import java.util.TreeMap; import java.util.logging.Level; import java.util.logging.Logger...

Why isn't C++ used in Web-Developement ?

A lot of People see similarities between Java and C++ . But when it comes to web development JavaEE is beeing used. Whereas C++ has little support on that? C++ is fast. So why it isn't used in web developement? ...

Developing Web Application

I am a PHP developer who is seeking some guidance. I am developing a paid web application service. I have already developed the first phase of the project. The code is organized but I want to re-implement it in an MVC structure. I have just started using CodeIgniter for my freelance clients and it works really well. Question: What is ...

Database structure for items with varying attributes

Hello there. I am developing a clothes web application and would appreciate advice on how to structure the data in my mysql database. Every product (item of clothing) will be photograped in a number of ways, let's call them 'modes'. For example a shirt would be photographed buttoned or unbuttoned, and/or tucked in/not tucked in. A pa...

CSS: Is it possible to repeat only part of an image to use it as a background?

i have an image that is a rounded corner rectangle, i use it for the top and bottom part of the background by using: #content_top { /* 760px by 30px */ background: #F7EECF url(images/content_top_bottom_bg.png) no-repeat 0 0 scroll; height: 10px; } #content_bottom { /* 760px by 30px */ background: #F7EECF url(images/content_...

How to embed video on in HTML page

sorry for the convoluted and subjective question, but multimedia is totally out of my area of expertize. I know there are several alternatives to embed video on a page. There is HTML 5 <video> tag, there is video/ogg content type which seems nobody uses, there is Flash SWF embedding or Flash FLV progressive, I think Silverlight has som...