web-development

Simple web "live chat" software (LAMP stack) that integrates with Jabber/Aim

I've looked for this a few times in the past, to no avail. I would like a simple php/ajax web chat interface, that, and this is the critical part, will interface with my IM client (Pidgin) ... via Jabber or Aim. Plugoo is almost what I want, except it is hosted, and flash based. Flash-based would be OK if not ideal, but hosted isn't. N...

Should I learn/become proficient in Javascript?

I am a .NET webdev using ASP.NET, C# etc... I "learned" javascript in college 5+ years ago and can do basic jobs with it. But I wonder if it is useful to become proficient in it. Why should I learn Javascript? Is it more advantageous then learning JQuery or a different library? ...

Adding video to a site

In your opinion, what are the best options for adding video to a website assuming it would be rendered as FLV. What are the key considerations? Would you use a 3rd party service (youtube.com, vimeo.com, etc.) or host yourself? Why? If you used a service, which one? If you hosted yourself is it as simple as using an existing embeddabl...

Why does IE7 specify a mime-type of image/pjpeg rather than just image/jpeg?

When uploading a file (jpeg) via a form in IE7 I am seeing a mime-type of "image/pjpeg" instead of "image/jpeg" (as I see in Firefox or similar). It's easy enough to work around this problem, but I'm just wondering why IE7 is behaving differently in this case? ...

Best way to handle error messages

I'm wondering what is the best way to handle error messages in your application. Currently I'm working on a web application and all error messages are stored in the database and we get them by ID, negative is an error ,positive are success messages. the problem with that is hard to maintain and keep tracking of text messages. What ar...

Firebug 1.2 document.cookie inconsistency with Web Developer

I have a URI here in which a simple document.cookie query through the console is resulting in three cookies being displayed. I verified this with trivial code such as the following as well: var cookies = document.cookie.split(';'); console.log(cookies.length); The variable cookies does indeed come out to the number 3. Web Developer o...

What must I do to ensure that a web server (Apache) running on a machine is not accessible to the outside world?

I would like to use my laptop as a web development (PHP, Python, etc.) machine, but I'm hesitant to do this unless I can ensure that it can not be accessed by the outside world. I'm guessing that something more than a firewall is necessary, such as configurations to the Apache configuration files, but I'm not sure what else I would need...

What is the semantic web, and why would I want to use it?

Just like it reads. ...

What is your preferred tool stack for PHP development in the Windows Environment?

I have been developing basic web sites for awhile now with some PHP thrown in for getting dynamic stuff done. However, I recently decided that it was time I got my hands a little dirtier so I wanted to start to play with the underpinnings of Wordpress and other such apps. I work on a Mac at home and have been using Coda for most of my ...

What's the best way to use SVN to version control a PHP site?

I've always just FTPed files down from sites, edited them and put them back up when creating sites, but feel it's worth learning to do things properly. I've just commited everything to a SVN repo, and have tried sshing into the server and checking out a tagged build, as well as updating that build using switch. All good, but it's a lot...

Training courses

I'm looking for some good training courses on Javascript, Ajax, or any other web development technologies in the Minneapolis / St. Paul Minnesota area. Anyone have any ideas? Local hands on training is preferred but online training will work to as long as it's good. ...

Set up Apache for local development/testing?

I've been impressed by the screencasts for Rails that demonstrate the built-in web server and database to allow development and testing to occur on the local machine. How can I get an instance of Apache to execute a project directory as its DocumentRoot, and maybe serve up the files on port 8080 (or something similar)? The reason why I'...

What tools allows me to keep track of html tags when doing web development?

What tools allows me keep track of tags when doing web development? For example, I would like to be able to quickly find whether I missed closing a div tag. At the moment I am using notepad++ to write html. It highlights starting and ending tags, but it can take me time to review almost all tags to find where I went wrong. ...

PHP and MS Access Schema

I am using following PHP code to connect to MS Access database: $odb_conn = new COM("ADODB.Connection"); $connstr = "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=". $db_path.";"; $odb_conn->open($connstr); How can I retrieve database catalog/metadata from the mdb file? FOUND THE SOLUTION $rs_meta = $odb_conn->OpenSchema(20, array(N...

Image icon beside the site URL

I would like to have information about the icons which are displayed alongside the site URLs on a web browser. Is this some browser specific feature? Where do we specify the icon source, ie, is it in some tag on the web page itself ? ...

JDBC Database Connections in a Web App DAL

I am building a small website for fun/learning using a fairly standard Web/Service/Data Access layered design. For the Data Access Layer, what is the best way to handle creating Connection objects to call my SQL stored procedures and why? Bearing in mind I am writing a lot of the code by hand (I know I could be using Hibernate etc to do...

Client-side detection of HTTP request method

Is it possible to detect the HTTP request method (e.g. GET or POST) of a page from JavaScript? If so, how? ...

Separating Web Applications into multiple projects

I have a web application that is becoming rather large. I want to separate it into smaller more logical projects, but the smaller projects are still going to need to access some of the classes in the app_code of the main project. What are some good methods to accomplish this? ...

Static layers in a java web application

I am building a small website for fun/learning using a fairly standard Web/Service/Data Access layered design. To save me from constantly having to create instances of my service layer/data access layer classes, I have made the methods in them all static. I shouldn't get concurrency issues as they use local variables etc and do not shar...

Underused Features of HTML

Yes, many web developers live and breathe HTML, but there are still tags and tricks that aren't used as often as they could be. What are some of your favorites? ...