web-development

JSF components libs generate awful html-code. It's not OK but is it acceptable?

When I was developing web-apps with jsp/jstl and jQuery, I used to write nice html-code, separated from styles and scripts. JSP inserted some odd spaces and blank lines but nothing else. Now I'm trying to develop with jsf. JSF has lots of libs for creating RIA with numerous components so it should be much faster to develop web-apps wi...

How can I pull my Wordpress blog into a Dreamweaver site?

I'm trying to make a website using Dreamweaver. I'd like to have a page on my website that has all the blog entries from my Wordpress site, but I'm not sure how to pull the data into my site and display it. Will this have to be done manually by hand for each entry or is there a way that I can automate this? ...

Has anyone found a code kata for web development?

Jeff Atwood and Robert "Uncle Bob" Martin have both blogged about the virtues of code katas. I was wondering: Has anyone found a code kata for web development? I'm currently develop websites with ASP.NET, ASP.NET-MVC, and jQuery; but I suppose that a good web development code kata could be language-agnostic. A good web deve...

Which is the BEST way to optimize a web site for faster download and SEO?

Which is the BEST way to optimize a web site for faster download without affecting my ranking? How do I optimize my CSS file and images? ...

display mysql newline in HTML

Certain fields in our mysql db appear to contain newline characters so that if I SELECT on them something like the following will be returned for a single SQL call: Life to be sure is nothing much to lose But young men think it is and we were young If I want to preserve the line breaks when displaying this field on a webpage, is the ...

What is the best "Chat Now" component available for integration with my website?

I'm looking for a "Chat Now" component to add to my website. I am using Drupal (running on a Windows server) if it matters. I'm looking for something that the client initiates (I do not want to hound a client looking at my site). I want there to be no extra installs required for the client. On my side, I want it to integrate with Skyp...

What are the advantages/disadvantages of YSlow over Speed Tracer?

I've used YSlow add in for Firefox and found it useful, does the new new google addin for Chrome give me anything extra? http://googleblog.blogspot.com/2009/12/faster-apps-for-faster-web-introducing.html ...

List of open-source "stuff" that every web developer should know about.

These are some of the things that every web developer should know when building a web app. This tools will save everyone lots of time. Tools like "memcached" and "beanstalkd" are super dead simple and provides lots of value. If someone could list their simple yet effective tools in this list, it would be good. I'll make this community...

Compare URIs for a search bot?

For a search bot, I am working on a design to: * compare URIs and * determine which URIs are really the same page Dealing with redirects and aliases: Case 1: Redirects Case 2: Aliases e.g. www Case 3: URL parameters e.g. sukshma.net/node#parameter I have two approaches I could follow, one approach is to explicitly check for redirects ...

Why did one of my effects stopped working after adding another effect?

I am new to all of this so sorry if this is a stupid question. I had previously created a lightbox affect for my contact form and had it working great. Clicked contact, lightbox popped up with the contact form that kept in a separate html page. The script references were as follows: <link rel="stylesheet" type="text/css" href="css/lig...

Which are the deprecated things for PHP5 in PHP6

Hello All, Which are the deprecated things for PHP5 in PHP6? ...

How to get compatible with php4 in a framework developed with php5

Hello There, How to get compatible with php4 in a framework developed with php5? Thanks ...

The URL Security

Hello There, I have made below function for the security of URLs. I just wanted to know is there anything i need to re-consider or change in below code. I have made this function after reading quite some articles on security from various sources. Here is the function: // filters possible malacious stuff from URLs private function filt...

Saving webpage content using webbrowser IHTMLDocument interface

Hi, We need to save the complete web page including img, javascript, css and html using ATL webbrowser (IHTMLDocument) control, using IHTMLDocument2::get_all() method we have saved .html file but now how do we get external files such as .css, javascript and image files please help us with methods that internet explorer or firefox used...

Flash type animations but using AJAX?

Hi All, I am looking for someway to do Flash type movies but with AJAX instead? Flash requires plugins, SEO is difficult and my experience is people tend to stay away from Flash websites unless they are really really good. Can any provide some insight? Maybe something like this: http://activeden.net/item/handdrawn-deeplinking-urban-...

AS web navigation

Hi, I'm a web designer. In a effort to make Flash-based sites for my clients I have gone over stacks of AS books now for months. I just don't get any of it--and I've tried. Moreover, the books all give abstract examples to do just about anything with AE. My needs are very limited: I need to use AS for web navigation in order to create F...

Version numbering basics?

Hi, Suppose I have a web application with some basic functions. I want to market it. So I would like to assign a version number - something like 0.0.1. What I want to know is are there any constraints that should apply to that numbering system? Hope you understood my question, thanks in advance. ...

Professional Website Builder

I have been developing in ASP.NET and c#, actionscript flash/flex cs3, and the iPhone. I have a little all around knowledge of everything including html, css, and jQuery. Usually I write applications, and now I want to build a commercial website with videos and testimonials and automailing. I recently bought a MacBook Pro and I love t...

Scripts/Stylesheets: Consolidate locally or use CDN?

I can obviously do some limited testing of my own, but I'm hoping to hear from some people with real-world experience on at least medium-scale web sites. Two of the items on every "top 10" list for optimizing sites/bandwidth are: Consolidate as much JS and CSS as possible into a single file (to reduce round trips); and Use a Content D...

Great Ruby on Rails resources

I'm generally a PHP dev, but over the past few months I have been dying to get into a new language. I have tried everything, I learned a little Java, not for me; a little Python, I dislike the syntax, I wanted to try Perl, but never got around to it. On the other hand I started to read an ebook on Ruby, and I really like the language, I'...